tests/hghave.py
branchstable
changeset 48521 f447b90a4b11
parent 48441 f21e7748c257
child 48550 21c0ae0693bc
child 48742 090346b095fb
equal deleted inserted replaced
48494:b74ee41addee 48521:f447b90a4b11
  1147 
  1147 
  1148 
  1148 
  1149 @check("bash", "bash shell")
  1149 @check("bash", "bash shell")
  1150 def has_bash():
  1150 def has_bash():
  1151     return matchoutput("bash -c 'echo hi'", b'^hi$')
  1151     return matchoutput("bash -c 'echo hi'", b'^hi$')
       
  1152 
       
  1153 
       
  1154 @check("bigendian", "big-endian CPU")
       
  1155 def has_bigendian():
       
  1156     return sys.byteorder == 'big'