]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: only enable tracing if V(erbose) is set to 2
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 27 Oct 2024 17:10:29 +0000 (13:10 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Mon, 28 Oct 2024 00:20:30 +0000 (20:20 -0400)
test/test-github.sh

index 620020ff11822e701a587bd2d4e3420eec302b45..939145b93c2a4fff07e9533b87f49cfb2bf7490d 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-set -ex
+set -e
+if [ "$V" = "2" ]; then set -x; fi
 
 [[ -d ${0%/*} ]] && cd "${0%/*}"/../