Submitter | timeless@mozdev.org |
---|---|
Date | March 24, 2016, 10:10 p.m. |
Message ID | <08ce2c480f1eb291f518.1458857420@waste.org> |
Download | mbox | patch |
Permalink | /patch/14061/ |
State | Accepted |
Delegated to: | Yuya Nishihara |
Headers | show |
Comments
On Thu, 24 Mar 2016 17:10:20 -0500, timeless wrote: > # HG changeset patch > # User timeless <timeless@mozdev.org> > # Date 1458593806 0 > # Mon Mar 21 20:56:46 2016 +0000 > # Node ID 08ce2c480f1eb291f5180c04c6eb9907f63b23b1 > # Parent 1a1e4350b560cf2f49fe235d2e5168471877462d > tests: ensure run-tests handles multiple lines of churn Queued this, thanks!
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 @@ -67,6 +67,30 @@ failing test ================== +test churn with globs + $ cat > test-failure.t <<EOF + > $ echo "bar-baz"; echo "bar-bad" + > bar*bad (glob) + > bar*baz (glob) + > EOF + $ rt test-failure.t + + --- $TESTTMP/test-failure.t + +++ $TESTTMP/test-failure.t.err + @@ -1,3 +1,3 @@ + $ echo "bar-baz"; echo "bar-bad" + + bar*baz (glob) + bar*bad (glob) + - bar*baz (glob) + + ERROR: test-failure.t output changed + ! + Failed test-failure.t: output changed + # Ran 1 tests, 0 skipped, 0 warned, 1 failed. + python hash seed: * (glob) + [1] + +basic failing test $ cat > test-failure.t << EOF > $ echo babar > rataxes