From fea2ff33273bb15c1da995d571e18e4d3db8e36f Mon Sep 17 00:00:00 2001 From: Mario Cattamo Date: Wed, 24 Apr 2024 12:00:44 +0200 Subject: [PATCH] test: return proper exit code in case of script failure --- tmt/tests/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tmt/tests/test.sh b/tmt/tests/test.sh index ce9f5b3..e2499db 100755 --- a/tmt/tests/test.sh +++ b/tmt/tests/test.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -exuo pipefail cd ../../ || exit 1