urchin/tests/Flags/-e,--exit-on-fail

11 lines
236 B
Plaintext
Raw Normal View History

2016-02-28 14:43:32 -05:00
#!/bin/sh
2016-02-28 20:08:46 -05:00
set -e
2016-02-28 14:43:32 -05:00
2016-03-06 09:40:47 -05:00
! $TEST_SHELL ../../urchin -vv --run-in-series --exit-on-fail \
2016-02-28 14:45:18 -05:00
./.test_-e,--exit-on-fail > $tmp
2016-01-25 09:14:13 -05:00
grep '1 should run.' $tmp
grep '2 should run.' $tmp
grep -v '3 should not run.' $tmp
grep -v '4 should not run.' $tmp