Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/hghave @ 5144:6e040f6c2c9c
Print less scary message if the system supports symlinks:
"Skipping test-no-symlinks: system supports symbolic links"
instead of
"Skipping test-no-symlinks: unexpected feature: symbolic links"
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 11 Aug 2007 12:47:58 +0200 |
parents | fc6106267198 |
children | 105d4cf7ec24 |
comparison
equal
deleted
inserted
replaced
5143:fc6106267198 | 5144:6e040f6c2c9c |
---|---|
80 | 80 |
81 check, desc = checks[feature] | 81 check, desc = checks[feature] |
82 if not negate and not check(): | 82 if not negate and not check(): |
83 error('hghave: missing feature: ' + desc) | 83 error('hghave: missing feature: ' + desc) |
84 elif negate and check(): | 84 elif negate and check(): |
85 error('hghave: unexpected feature: ' + desc) | 85 error('hghave: system supports %s' % desc) |
86 | 86 |
87 if failures != 0: | 87 if failures != 0: |
88 sys.exit(1) | 88 sys.exit(1) |
89 | 89 |
90 | 90 |