equal
deleted
inserted
replaced
500 def has_system_sh(): |
500 def has_system_sh(): |
501 return os.name != 'nt' |
501 return os.name != 'nt' |
502 |
502 |
503 @check("serve", "platform and python can manage 'hg serve -d'") |
503 @check("serve", "platform and python can manage 'hg serve -d'") |
504 def has_serve(): |
504 def has_serve(): |
505 return os.name != 'nt' # gross approximation |
505 return True |
506 |
506 |
507 @check("test-repo", "running tests from repository") |
507 @check("test-repo", "running tests from repository") |
508 def has_test_repo(): |
508 def has_test_repo(): |
509 t = os.environ["TESTDIR"] |
509 t = os.environ["TESTDIR"] |
510 return os.path.isdir(os.path.join(t, "..", ".hg")) |
510 return os.path.isdir(os.path.join(t, "..", ".hg")) |