Mercurial > hg
diff tests/test-encoding-align @ 12156:4c94b6d0fb1c
tests: remove unneeded -d flags
Many tests fixed the commit date of their changesets at '1000000 0' or
similar. However testing with "Mon Jan 12 13:46:40 1970 +0000" is not
better than testing with "Thu Jan 01 00:00:00 1970 +0000", which is
the default run-tests.py installs.
Removing the unnecessary flag removes some clutter and will hopefully
make it clearer what the tests are really trying to test. Some tests
did not even change their output when the dates were changed, in which
case the -d flag was truly irrelevant.
Dates used in sequence (such as '0 0', '1 0', etc...) were left alone
since they may make the test easier to understand.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 02 Sep 2010 23:22:51 +0200 |
parents | c29012a73518 |
children |
line wrap: on
line diff
--- a/tests/test-encoding-align Thu Sep 02 22:17:22 2010 +0200 +++ b/tests/test-encoding-align Thu Sep 02 23:22:51 2010 +0200 @@ -78,21 +78,21 @@ echo 'first line(1)' >> s; cp s $S echo 'first line(2)' >> m; cp m $M echo 'first line(3)' >> l; cp l $L -hg commit -m 'first commit' -u $S -d "1000000 0" +hg commit -m 'first commit' -u $S #### commit(2) echo 'second line(1)' >> s; cp s $S echo 'second line(2)' >> m; cp m $M echo 'second line(3)' >> l; cp l $L -hg commit -m 'second commit' -u $M -d "1000000 0" +hg commit -m 'second commit' -u $M #### commit(3) echo 'third line(1)' >> s; cp s $S echo 'third line(2)' >> m; cp m $M echo 'third line(3)' >> l; cp l $L -hg commit -m 'third commit' -u $L -d "1000000 0" +hg commit -m 'third commit' -u $L #### check @@ -109,11 +109,11 @@ #### add branches/tags hg branch $S -hg tag -d "1000000 0" $S +hg tag $S hg branch $M -hg tag -d "1000000 0" $M +hg tag $M hg branch $L -hg tag -d "1000000 0" $L +hg tag $L #### check