]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test/test-functions: be verbose for any $V not empty
authorHarald Hoyer <harald@redhat.com>
Tue, 14 Aug 2018 14:54:27 +0000 (16:54 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 14 Aug 2018 14:54:27 +0000 (16:54 +0200)
test/test-functions

index bde5f7424d65c285e50f47b2506fc13bdc753a01..d6b28d20fb183f4fb59b0d525baa1f2c0db9109b 100644 (file)
@@ -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=$?