changeset 21756:f5fd1580a649

test-run-tests.t: test the --nodiff option
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 30 May 2014 12:57:58 -0700
parents 9e9288b9463a
children c00822e0b8ea
files tests/test-run-tests.t
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-run-tests.t	Fri May 30 12:12:12 2014 -0700
+++ b/tests/test-run-tests.t	Fri May 30 12:57:58 2014 -0700
@@ -193,3 +193,13 @@
 
 (reinstall)
   $ mv backup test-failure.t
+
+No Diff
+===============
+
+  $ $TESTDIR/run-tests.py --with-hg=`which hg` --nodiff
+  !.
+  Failed test-failure.t: output changed
+  # Ran 2 tests, 0 skipped, 0 warned, 1 failed.
+  python hash seed: * (glob)
+  [1]