From b4d41ac4b6992d76af162c77a9414d12b6e39f21 Mon Sep 17 00:00:00 2001
From: Stefano Brivio <sbrivio@redhat.com>
Date: Tue, 17 May 2022 14:18:41 +0200
Subject: test/run: Return 0 from run(), exit value already reflects failures

There's no need to return non-zero if there have been failures in
run(), because the exit value is already determined from the number
of failures reported in the log file.

Return zero, so that this doesn't cause the script to fail, given we
now run it with -e.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
 test/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'test/run')

diff --git a/test/run b/test/run
index 737fa81..d9e5107 100755
--- a/test/run
+++ b/test/run
@@ -110,7 +110,7 @@ run() {
 		"Interrupted, press any key to quit"		\
 		9
 
-	return ${STATUS_FAIL}
+	return 0
 }
 
 # demo() - Simpler path for demo purposes
-- 
cgit v1.2.3