Mercurial > hg
changeset 12367:3acd5f7ab9d0
tests: compatibility fix.
'touch -d *' doesn't work on Mac OS X. In order to prevent this from
occuring again, a check for the case is added to 'check-code.py'.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 21 Sep 2010 18:36:23 +0200 |
parents | c01dc9087d9a |
children | 9581d5efb6a5 |
files | contrib/check-code.py tests/test-archive.t |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/check-code.py Tue Sep 21 16:44:13 2010 -0500 +++ b/contrib/check-code.py Tue Sep 21 18:36:23 2010 +0200 @@ -63,6 +63,7 @@ (r'export.*=', "don't export and assign at once"), ('^([^"\']|("[^"]*")|(\'[^\']*\'))*\\^', "^ must be quoted"), (r'^source\b', "don't use 'source', use '.'"), + (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), ] testfilters = [