fix the exit on fail test

This commit is contained in:
Thomas Levine 2016-02-29 01:08:46 +00:00
parent 6f9aa9ad32
commit 05f80bf9fc

View File

@ -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