Mercurial > hg
comparison tests/hghave @ 16369:e14d7805845d stable
hghave: remove symlink test made useless by ac0da5caebec
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Wed, 04 Apr 2012 15:59:56 +0200 |
parents | e11ab387e89c |
children | 525fdb738975 |
comparison
equal
deleted
inserted
replaced
16368:8614f8e0dd7a | 16369:e14d7805845d |
---|---|
175 os.symlink(".", name) | 175 os.symlink(".", name) |
176 os.unlink(name) | 176 os.unlink(name) |
177 return True | 177 return True |
178 except (OSError, AttributeError): | 178 except (OSError, AttributeError): |
179 return False | 179 return False |
180 return hasattr(os, "symlink") # FIXME: should also check file system and os | |
181 | 180 |
182 def has_tla(): | 181 def has_tla(): |
183 return matchoutput('tla --version 2>&1', r'The GNU Arch Revision') | 182 return matchoutput('tla --version 2>&1', r'The GNU Arch Revision') |
184 | 183 |
185 def has_gpg(): | 184 def has_gpg(): |