2014-03-17 10:00:30 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Borrow this test which has a failure in it (3 in fact), and
|
|
|
|
# run it using urchin:
|
2014-03-17 09:43:13 -04:00
|
|
|
../../urchin "../Counts should be kept of successes and failures./.test" > /dev/null
|
2014-03-17 10:00:30 -04:00
|
|
|
|
|
|
|
# Now invert the result, we want _this_ test to fail if the exit
|
|
|
|
# code was 0.
|
2014-03-17 09:43:13 -04:00
|
|
|
case $? in
|
|
|
|
0) exit 8;;
|
|
|
|
*) exit 0;;
|
|
|
|
esac
|
|
|
|
|