From d3746d3a6e5b6bb8ffd40d456004939cbaaed0c7 Mon Sep 17 00:00:00 2001
From: Brent Cook <bcook@openbsd.org>
Date: Tue, 15 Jul 2014 17:20:09 -0500
Subject: indicate failure to the test harness

ok beck@
---
 tests/fork_rand.sh | 1 +
 1 file changed, 1 insertion(+)

(limited to 'tests')

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;
 do
 	if [ "$a" = "$b" ]; then
 		echo "FAIL: $a = $b"
+		return 2
 	else
 		echo "PASS: $a != $b"
 	fi
-- 
cgit v1.2.3-55-g6feb