##// END OF EJS Templates
test-run-tests.t: test running a failing test
Pierre-Yves David -
r21738:7ec3b32b default
parent child Browse files
Show More
@@ -18,3 +18,27 b' a succesful test'
18 $ $TESTDIR/run-tests.py --with-hg=`which hg`
18 $ $TESTDIR/run-tests.py --with-hg=`which hg`
19 .
19 .
20 # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
20 # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
21
22 failing test
23 ==================
24
25 $ cat > test-failure.t << EOF
26 > $ echo babar
27 > rataxes
28 > EOF
29
30 $ $TESTDIR/run-tests.py --with-hg=`which hg`
31
32 --- $TESTTMP/test-failure.t
33 +++ $TESTTMP/test-failure.t.err
34 @@ -1,2 +1,2 @@
35 $ echo babar
36 - rataxes
37 + babar
38
39 ERROR: test-failure.t output changed
40 !.
41 Failed test-failure.t: output changed
42 # Ran 2 tests, 0 skipped, 0 warned, 1 failed.
43 python hash seed: * (glob)
44 [1]
General Comments 0
You need to be logged in to leave comments. Login now