urchin/tests/Die on fail.
2016-01-25 14:14:13 +00:00

12 lines
203 B
Plaintext
Executable File

tmp=$(mktemp)
../urchin -e -f ./.die-on-fail > $tmp
result=$?
grep '1 should run.' $tmp
grep '2 should run.' $tmp
grep -v '3 should not run.' $tmp
grep -v '4 should not run.' $tmp
rm $tmp
exit $result