tests/hghave
branchstable
changeset 1010 13862cca5537
parent 1007 4fad25af75dd
child 1012 018ef69bbe2f
equal deleted inserted replaced
1009:0c737b00568d 1010:13862cca5537
   159 
   159 
   160 def has_p4():
   160 def has_p4():
   161     return matchoutput('p4 -V', r'Rev\. P4/') and matchoutput('p4d -V', r'Rev\. P4D/')
   161     return matchoutput('p4 -V', r'Rev\. P4/') and matchoutput('p4d -V', r'Rev\. P4D/')
   162 
   162 
   163 def has_symlink():
   163 def has_symlink():
   164     return hasattr(os, "symlink")
   164     return hasattr(os, "symlink") # FIXME: should also check file system and os
   165 
   165 
   166 def has_tla():
   166 def has_tla():
   167     return matchoutput('tla --version 2>&1', r'The GNU Arch Revision')
   167     return matchoutput('tla --version 2>&1', r'The GNU Arch Revision')
   168 
   168 
   169 def has_gpg():
   169 def has_gpg():