116 ! |
116 ! |
117 Failed test-failure.t: output changed |
117 Failed test-failure.t: output changed |
118 # Ran 1 tests, 0 skipped, 1 failed. |
118 # Ran 1 tests, 0 skipped, 1 failed. |
119 python hash seed: * (glob) |
119 python hash seed: * (glob) |
120 [1] |
120 [1] |
|
121 |
|
122 test diff colorisation |
|
123 |
|
124 $ rt test-failure.t --color always |
|
125 |
|
126 \x1b[38;5;124m--- $TESTTMP/test-failure.t\x1b[39m (esc) |
|
127 \x1b[38;5;34m+++ $TESTTMP/test-failure.t.err\x1b[39m (esc) |
|
128 \x1b[38;5;90;01m@@ -1,3 +1,3 @@\x1b[39;00m (esc) |
|
129 $ echo "bar-baz"; echo "bar-bad" |
|
130 \x1b[38;5;34m+ bar*baz (glob)\x1b[39m (esc) |
|
131 bar*bad (glob) |
|
132 \x1b[38;5;124m- bar*baz (glob)\x1b[39m (esc) |
|
133 |
|
134 ERROR: test-failure.t output changed |
|
135 ! |
|
136 Failed test-failure.t: output changed |
|
137 # Ran 1 tests, 0 skipped, 1 failed. |
|
138 python hash seed: * (glob) |
|
139 [1] |
|
140 |
|
141 $ rt test-failure.t 2> tmp.log |
|
142 [1] |
|
143 $ cat tmp.log |
|
144 |
|
145 --- $TESTTMP/test-failure.t |
|
146 +++ $TESTTMP/test-failure.t.err |
|
147 @@ -1,3 +1,3 @@ |
|
148 $ echo "bar-baz"; echo "bar-bad" |
|
149 + bar*baz (glob) |
|
150 bar*bad (glob) |
|
151 - bar*baz (glob) |
|
152 |
|
153 ERROR: test-failure.t output changed |
|
154 ! |
|
155 Failed test-failure.t: output changed |
|
156 # Ran 1 tests, 0 skipped, 1 failed. |
|
157 python hash seed: * (glob) |
121 |
158 |
122 basic failing test |
159 basic failing test |
123 $ cat > test-failure.t << EOF |
160 $ cat > test-failure.t << EOF |
124 > $ echo babar |
161 > $ echo babar |
125 > rataxes |
162 > rataxes |