Blob Blame History Raw
From d15c15c8f54d3aa97f7906e4f926584ac646fc5e Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 14 Aug 2018 16:54:27 +0200
Subject: [PATCH] test/test-functions: be verbose for any $V not empty

---
 test/test-functions | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test-functions b/test/test-functions
index bde5f742..d6b28d20 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -60,7 +60,7 @@ while (($# > 0)); do
             else
 	        echo "TEST: $TEST_DESCRIPTION [STARTED]";
             fi
-            if [ "$V" != "1" ]; then
+            if ! [[ "$V" ]]; then
 	        (
 		    test_setup && test_run
 		    ret=$?