urchin/tests/urchin exit code/non zero exit code when a test fails
David Jones b95b010c0d Set the exit status to reflect pass/fail.
For Travis compatibility, we set the exit code to non-zero when
any tests fail.

Fixes #5.
2014-03-17 13:43:13 +00:00

7 lines
130 B
Plaintext
Executable File

../../urchin "../Counts should be kept of successes and failures./.test" > /dev/null
case $? in
0) exit 8;;
*) exit 0;;
esac