diff options
author | Brent Cook <bcook@openbsd.org> | 2014-07-15 17:20:09 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-07-15 17:20:09 -0500 |
commit | d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7 (patch) | |
tree | dbfea5d8d86ef96532d5be99a54b1332b9d0b08d | |
parent | 477f1f018792ddb15a34926910d2f70bb2590cbd (diff) | |
download | portable-d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7.tar.gz portable-d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7.tar.bz2 portable-d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7.zip |
indicate failure to the test harness
ok beck@
-rwxr-xr-x | tests/fork_rand.sh | 1 |
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; | |||
4 | do | 4 | do |
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 |