Patchwork [11,of,11,FOR-REFERENCE] test-run-tests.t: test the --nodiff option

login
register
mail settings
Submitter Pierre-Yves David
Date June 2, 2014, 7:54 p.m.
Message ID <13e13008ae8be2e6c94d.1401738886@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4924/
State Accepted
Commit f5fd1580a649a3aeb8825266baf996001fa2327f
Headers show

Comments

Pierre-Yves David - June 2, 2014, 7:54 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1401479878 25200
#      Fri May 30 12:57:58 2014 -0700
# Node ID 13e13008ae8be2e6c94d8918fedc4d090ad2900e
# Parent  f81cfdf120e06552c9e01d7eb279ae04670614de
test-run-tests.t: test the --nodiff option

Patch

diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -191,5 +191,15 @@  Accept the fix
     $ echo babar
     babar
 
 (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]