test-run-tests: test --view
authorMatt Mackall <mpm@selenic.com>
Tue, 12 Aug 2014 00:40:24 -0500
changeset 22108 ccae572c5d09
parent 22107 3b5cf39ffcc4
child 22109 feab93a24e81
test-run-tests: test --view
tests/test-run-tests.t
--- a/tests/test-run-tests.t	Tue Aug 12 00:33:48 2014 -0500
+++ b/tests/test-run-tests.t	Tue Aug 12 00:40:24 2014 -0500
@@ -251,6 +251,18 @@
   This is a noop statement so that
   this test is still more bytes than success.
 
+View the fix
+
+  $ echo 'y' | $TESTDIR/run-tests.py --with-hg=`which hg` --view echo
+  $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err
+  
+  ERROR: test-failure.t output changed
+  !.
+  Failed test-failure.t: output changed
+  # Ran 2 tests, 0 skipped, 0 warned, 1 failed.
+  python hash seed: * (glob)
+  [1]
+
 Accept the fix
 
   $ echo 'y' | $TESTDIR/run-tests.py --with-hg=`which hg` -i