diff tests/test-command-template @ 9385:570416319ed3

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Sun, 23 Aug 2009 13:03:10 +0200
parents 829ac0af66a4
children f04d17912441
line wrap: on
line diff
--- a/tests/test-command-template	Sat Aug 22 10:52:53 2009 +0200
+++ b/tests/test-command-template	Sun Aug 23 13:03:10 2009 +0200
@@ -43,15 +43,15 @@
 echo '#  normal'
 hg log > log.out
 hg log --style default > style.out
-diff -u log.out style.out
+cmp log.out style.out || diff -u log.out style.out
 echo '#  verbose'
 hg log -v > log.out
 hg log -v --style default > style.out
-diff -u log.out style.out
+cmp log.out style.out || diff -u log.out style.out
 echo '#  debug'
 hg log --debug > log.out
 hg log --debug --style default > style.out
-diff -u log.out style.out
+cmp log.out style.out || diff -u log.out style.out
 
 echo '# revision with no copies (used to print a traceback)'
 hg tip -v --template '\n'