urchin/tests/Flags/-e,--exit-on-fail
2016-02-28 19:45:18 +00:00

13 lines
241 B
Bash
Executable File

#!/bin/sh
../../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