Mercurial > hg
comparison tests/test-run-tests.t @ 22361:eb6adf750954
run-tests: make --interactive work with --view
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 31 Aug 2014 12:22:44 +0200 |
parents | 102f0e926668 |
children | c42e69268f5b |
comparison
equal
deleted
inserted
replaced
22360:3e483253213e | 22361:eb6adf750954 |
---|---|
249 $ echo babar | 249 $ echo babar |
250 rataxes | 250 rataxes |
251 This is a noop statement so that | 251 This is a noop statement so that |
252 this test is still more bytes than success. | 252 this test is still more bytes than success. |
253 | 253 |
254 Interactive with custom view | |
255 | |
256 $ echo 'n' | $TESTDIR/run-tests.py --with-hg=`which hg` -i --view echo | |
257 $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err | |
258 Accept this change? [n]* (glob) | |
259 ERROR: test-failure.t output changed | |
260 !. | |
261 Failed test-failure.t: output changed | |
262 # Ran 2 tests, 0 skipped, 0 warned, 1 failed. | |
263 python hash seed: * (glob) | |
264 [1] | |
265 | |
254 View the fix | 266 View the fix |
255 | 267 |
256 $ echo 'y' | $TESTDIR/run-tests.py --with-hg=`which hg` --view echo | 268 $ echo 'y' | $TESTDIR/run-tests.py --with-hg=`which hg` --view echo |
257 $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err | 269 $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err |
258 | 270 |