tests/hghave
changeset 1064 a33852511558
parent 1063 0e3b1a8a243c
child 1069 4e0cef7a70cf
equal deleted inserted replaced
1062:3c257fefa53d 1064:a33852511558
   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():