Mercurial > hg
diff tests/hghave @ 15441:e0348815e806
tests: use 'hghave symlink' for tests using symlinks
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 Nov 2011 03:14:54 +0100 |
parents | 53f37b24f26a |
children | e1f05d7a8c7b |
line wrap: on
line diff
--- a/tests/hghave Mon Nov 07 03:14:54 2011 +0100 +++ b/tests/hghave Mon Nov 07 03:14:54 2011 +0100 @@ -161,7 +161,7 @@ return matchoutput('p4 -V', r'Rev\. P4/') and matchoutput('p4d -V', r'Rev\. P4D/') def has_symlink(): - return hasattr(os, "symlink") + return hasattr(os, "symlink") # FIXME: should also check file system and os def has_tla(): return matchoutput('tla --version 2>&1', r'The GNU Arch Revision')