fix the exit on fail test
This commit is contained in:
parent
6f9aa9ad32
commit
05f80bf9fc
@ -1,12 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
$TEST_SHELL ../../urchin --run-in-series --exit-on-fail \
|
|
||||||
./.test_-e,--exit-on-fail > $tmp
|
|
||||||
result=$?
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
! $TEST_SHELL ../../urchin --run-in-series --exit-on-fail \
|
||||||
|
./.test_-e,--exit-on-fail > $tmp
|
||||||
|
|
||||||
grep '1 should run.' $tmp
|
grep '1 should run.' $tmp
|
||||||
grep '2 should run.' $tmp
|
grep '2 should run.' $tmp
|
||||||
grep -v '3 should not run.' $tmp
|
grep -v '3 should not run.' $tmp
|
||||||
grep -v '4 should not run.' $tmp
|
grep -v '4 should not run.' $tmp
|
||||||
exit $result
|
|
||||||
|
Loading…
Reference in New Issue
Block a user