Show More
@@ -13,6 +13,8 b' a succesful test' | |||
|
13 | 13 | $ cat > test-success.t << EOF |
|
14 | 14 | > $ echo babar |
|
15 | 15 | > babar |
|
16 | > $ echo xyzzy | |
|
17 | > xyzzy | |
|
16 | 18 | > EOF |
|
17 | 19 | |
|
18 | 20 | $ $TESTDIR/run-tests.py --with-hg=`which hg` |
@@ -25,16 +27,20 b' failing test' | |||
|
25 | 27 | $ cat > test-failure.t << EOF |
|
26 | 28 | > $ echo babar |
|
27 | 29 | > rataxes |
|
30 | > This is a noop statement so that | |
|
31 | > this test is still more bytes than success. | |
|
28 | 32 | > EOF |
|
29 | 33 | |
|
30 | 34 | $ $TESTDIR/run-tests.py --with-hg=`which hg` |
|
31 | 35 | |
|
32 | 36 | --- $TESTTMP/test-failure.t |
|
33 | 37 | +++ $TESTTMP/test-failure.t.err |
|
34 |
@@ -1, |
|
|
38 | @@ -1,4 +1,4 @@ | |
|
35 | 39 | $ echo babar |
|
36 | 40 | - rataxes |
|
37 | 41 | + babar |
|
42 | This is a noop statement so that | |
|
43 | this test is still more bytes than success. | |
|
38 | 44 | |
|
39 | 45 | ERROR: test-failure.t output changed |
|
40 | 46 | !. |
@@ -50,10 +56,12 b' test for --retest' | |||
|
50 | 56 | |
|
51 | 57 | --- $TESTTMP/test-failure.t |
|
52 | 58 | +++ $TESTTMP/test-failure.t.err |
|
53 |
@@ -1, |
|
|
59 | @@ -1,4 +1,4 @@ | |
|
54 | 60 | $ echo babar |
|
55 | 61 | - rataxes |
|
56 | 62 | + babar |
|
63 | This is a noop statement so that | |
|
64 | this test is still more bytes than success. | |
|
57 | 65 | |
|
58 | 66 | ERROR: test-failure.t output changed |
|
59 | 67 | ! |
@@ -77,10 +85,12 b' failed' | |||
|
77 | 85 | |
|
78 | 86 | --- $TESTTMP/test-failure.t |
|
79 | 87 | +++ $TESTTMP/test-failure.t.err |
|
80 |
@@ -1, |
|
|
88 | @@ -1,4 +1,4 @@ | |
|
81 | 89 | $ echo babar |
|
82 | 90 | - rataxes |
|
83 | 91 | + babar |
|
92 | This is a noop statement so that | |
|
93 | this test is still more bytes than success. | |
|
84 | 94 | |
|
85 | 95 | ERROR: test-failure.t output changed |
|
86 | 96 | ! |
@@ -97,14 +107,18 b' Running In Debug Mode' | |||
|
97 | 107 | SALT* 0 0 (glob) |
|
98 | 108 | + echo babar |
|
99 | 109 | babar |
|
100 |
+ echo SALT* |
|
|
101 |
SALT* |
|
|
110 | + echo SALT* 4 0 (glob) | |
|
111 | SALT* 4 0 (glob) | |
|
102 | 112 | .+ echo SALT* 0 0 (glob) |
|
103 | 113 | SALT* 0 0 (glob) |
|
104 | 114 | + echo babar |
|
105 | 115 | babar |
|
106 | 116 | + echo SALT* 2 0 (glob) |
|
107 | 117 | SALT* 2 0 (glob) |
|
118 | + echo xyzzy | |
|
119 | xyzzy | |
|
120 | + echo SALT* 4 0 (glob) | |
|
121 | SALT* 4 0 (glob) | |
|
108 | 122 | . |
|
109 | 123 | # Ran 2 tests, 0 skipped, 0 warned, 0 failed. |
|
110 | 124 | |
@@ -118,19 +132,23 b' Parallel runs' | |||
|
118 | 132 | |
|
119 | 133 | --- $TESTTMP/test-failure*.t (glob) |
|
120 | 134 | +++ $TESTTMP/test-failure*.t.err (glob) |
|
121 |
@@ -1, |
|
|
135 | @@ -1,4 +1,4 @@ | |
|
122 | 136 | $ echo babar |
|
123 | 137 | - rataxes |
|
124 | 138 | + babar |
|
139 | This is a noop statement so that | |
|
140 | this test is still more bytes than success. | |
|
125 | 141 | |
|
126 | 142 | ERROR: test-failure*.t output changed (glob) |
|
127 | 143 | ! |
|
128 | 144 | --- $TESTTMP/test-failure*.t (glob) |
|
129 | 145 | +++ $TESTTMP/test-failure*.t.err (glob) |
|
130 |
@@ -1, |
|
|
146 | @@ -1,4 +1,4 @@ | |
|
131 | 147 | $ echo babar |
|
132 | 148 | - rataxes |
|
133 | 149 | + babar |
|
150 | This is a noop statement so that | |
|
151 | this test is still more bytes than success. | |
|
134 | 152 | |
|
135 | 153 | ERROR: test-failure*.t output changed (glob) |
|
136 | 154 | ! |
@@ -156,10 +174,12 b' Refuse the fix' | |||
|
156 | 174 | |
|
157 | 175 | --- $TESTTMP/test-failure.t |
|
158 | 176 | +++ $TESTTMP/test-failure.t.err |
|
159 |
@@ -1, |
|
|
177 | @@ -1,4 +1,4 @@ | |
|
160 | 178 | $ echo babar |
|
161 | 179 | - rataxes |
|
162 | 180 | + babar |
|
181 | This is a noop statement so that | |
|
182 | this test is still more bytes than success. | |
|
163 | 183 | Accept this change? [n] |
|
164 | 184 | ERROR: test-failure.t output changed |
|
165 | 185 | !. |
@@ -171,6 +191,8 b' Refuse the fix' | |||
|
171 | 191 | $ cat test-failure.t |
|
172 | 192 | $ echo babar |
|
173 | 193 | rataxes |
|
194 | This is a noop statement so that | |
|
195 | this test is still more bytes than success. | |
|
174 | 196 | |
|
175 | 197 | Accept the fix |
|
176 | 198 | |
@@ -178,16 +200,20 b' Accept the fix' | |||
|
178 | 200 | |
|
179 | 201 | --- $TESTTMP/test-failure.t |
|
180 | 202 | +++ $TESTTMP/test-failure.t.err |
|
181 |
@@ -1, |
|
|
203 | @@ -1,4 +1,4 @@ | |
|
182 | 204 | $ echo babar |
|
183 | 205 | - rataxes |
|
184 | 206 | + babar |
|
207 | This is a noop statement so that | |
|
208 | this test is still more bytes than success. | |
|
185 | 209 | Accept this change? [n] .. |
|
186 | 210 | # Ran 2 tests, 0 skipped, 0 warned, 0 failed. |
|
187 | 211 | |
|
188 | 212 | $ cat test-failure.t |
|
189 | 213 | $ echo babar |
|
190 | 214 | babar |
|
215 | This is a noop statement so that | |
|
216 | this test is still more bytes than success. | |
|
191 | 217 | |
|
192 | 218 | (reinstall) |
|
193 | 219 |
$ |
General Comments 0
You need to be logged in to leave comments.
Login now