# HG changeset patch # User Vadim Gelfer # Date 2006-03-06 01:08:35 # Node ID 95b2e14841f557cc2ae54dd4e0b788e7f9f92236 # Parent 9598cde4756d8169896a19e128b35de0d2b9fe12 fix test failures that depend on when tests run. diff --git a/tests/test-command-template b/tests/test-command-template --- a/tests/test-command-template +++ b/tests/test-command-template @@ -26,13 +26,13 @@ echo 'style =' >> .hg/hgrc echo '# default style is like normal output' hg log > log.out hg log --style default > style.out -diff -u log.out style.out +diff log.out style.out hg log -v > log.out hg log -v --style default > style.out -diff -u log.out style.out +diff log.out style.out hg log --debug > log.out hg log --debug --style default > style.out -diff -u log.out style.out +diff log.out style.out echo '# compact style works' hg log --style compact @@ -77,7 +77,7 @@ echo '# filters work' hg log --template '{author|domain}\n' hg log --template '{author|person}\n' hg log --template '{author|user}\n' -hg log --template '{date|age}\n' +hg log --template '{date|age}\n' > /dev/null || exit 1 hg log --template '{date|date}\n' hg log --template '{date|isodate}\n' hg log --template '{date|rfc822date}\n'