From 12b6972235f95d52becee4691ea3a5a8d03f82ee Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdhiser@gmail.com>
Date: Fri, 13 Sep 2019 19:54:17 -0400
Subject: [PATCH] added option to use throwing assert or real assert

---
 cicd_testing/do-fuzz.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cicd_testing/do-fuzz.sh b/cicd_testing/do-fuzz.sh
index c5ee229..1c72e74 100755
--- a/cicd_testing/do-fuzz.sh
+++ b/cicd_testing/do-fuzz.sh
@@ -49,7 +49,7 @@ function main()
 		local host=$(hostname)
 		local md=$(echo $upload_report | shyaml get-value markdown)
 		local desc=""
-		set -e
+		set +e # allow read to return non-zero as read does that on EOF
 		read -r -d '' desc << EOM
 Turbo automatically found $crash_count crashes!
 
@@ -62,7 +62,7 @@ Machine details: $mach
 Full crash report is available here: $md
 
 EOM
-		set +e
+		set -e
 		local title="Turbo found $crash_count bugs in libEHP on $date"
 
 
-- 
GitLab