urchin/tests/Flags/-e,--exit-on-fail
2016-02-28 20:11:34 +00:00

13 lines
253 B
Bash
Executable File

#!/bin/sh
$TEST_SHELL ../../urchin --run-in-series --exit-on-fail \
./.test_-e,--exit-on-fail > $tmp
result=$?
set -e
grep '1 should run.' $tmp
grep '2 should run.' $tmp
grep -v '3 should not run.' $tmp
grep -v '4 should not run.' $tmp
exit $result