aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-15 17:20:09 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-15 17:20:09 -0500
commitd3746d3a6e5b6bb8ffd40d456004939cbaaed0c7 (patch)
treedbfea5d8d86ef96532d5be99a54b1332b9d0b08d
parent477f1f018792ddb15a34926910d2f70bb2590cbd (diff)
downloadportable-d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7.tar.gz
portable-d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7.tar.bz2
portable-d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7.zip
indicate failure to the test harness
ok beck@
-rwxr-xr-xtests/fork_rand.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fork_rand.sh b/tests/fork_rand.sh
index 333516e..d1e2685 100755
--- a/tests/fork_rand.sh
+++ b/tests/fork_rand.sh
@@ -4,6 +4,7 @@ while read -r a b;
4do 4do
5 if [ "$a" = "$b" ]; then 5 if [ "$a" = "$b" ]; then
6 echo "FAIL: $a = $b" 6 echo "FAIL: $a = $b"
7 return 2
7 else 8 else
8 echo "PASS: $a != $b" 9 echo "PASS: $a != $b"
9 fi 10 fi