tests: silence output race in test-run-tests.t stable
authorMatt Mackall <mpm@selenic.com>
Thu, 30 Oct 2014 17:52:01 -0500
branchstable
changeset 23107 5459b30aa498
parent 23106 5f202d50a7e5
child 23108 12837ba22784
child 23117 2b7c8decca51
tests: silence output race in test-run-tests.t
tests/test-run-tests.t
--- a/tests/test-run-tests.t	Thu Oct 30 16:57:28 2014 -0500
+++ b/tests/test-run-tests.t	Thu Oct 30 17:52:01 2014 -0500
@@ -206,30 +206,8 @@
 (duplicate the failing test to get predictable output)
   $ cp test-failure.t test-failure-copy.t
 
-  $ $TESTDIR/run-tests.py --with-hg=`which hg` --jobs 2 test-failure*.t
-  
-  --- $TESTTMP/test-failure*.t (glob)
-  +++ $TESTTMP/test-failure*.t.err (glob)
-  @@ -1,4 +1,4 @@
-     $ echo babar
-  -  rataxes
-  +  babar
-   This is a noop statement so that
-   this test is still more bytes than success.
-  
-  ERROR: test-failure*.t output changed (glob)
-  !
-  --- $TESTTMP/test-failure*.t (glob)
-  +++ $TESTTMP/test-failure*.t.err (glob)
-  @@ -1,4 +1,4 @@
-     $ echo babar
-  -  rataxes
-  +  babar
-   This is a noop statement so that
-   this test is still more bytes than success.
-  
-  ERROR: test-failure*.t output changed (glob)
-  !
+  $ $TESTDIR/run-tests.py --with-hg=`which hg` --jobs 2 test-failure*.t -n
+  !!
   Failed test-failure*.t: output changed (glob)
   Failed test-failure*.t: output changed (glob)
   # Ran 2 tests, 0 skipped, 0 warned, 2 failed.