aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2023-11-05 21:33:37 +0100
committerMilan Broz <gmazyland@gmail.com>2023-11-06 17:12:57 +0000
commit2a9752b6c864cd3b15b2989292c97cb4ee2aeabb (patch)
tree1a479eae72934971a2e7cada3471c69597eb4747
parent4543a445a06d12868ad9229a8d7e725b0addf469 (diff)
downloadcryptsetup-2a9752b6c864cd3b15b2989292c97cb4ee2aeabb.tar.gz
tests: Do not run OPAL test with valgrind if variables are not set
Otherwise it will break run with exit code 77.
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0194e6c4..6f6c69d5 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -181,7 +181,7 @@ valgrind-check: api-test api-test-2 differ
@VALG=1 ./compat-args-test
@VALG=1 ./compat-test
@VALG=1 ./compat-test2
- @VALG=1 ./compat-test-opal
+ @[ -z "$OPAL2_PSID_FILE" ] || VALG=1 ./compat-test-opal
@VALG=1 ./luks2-validation-test
@VALG=1 ./verity-compat-test
@VALG=1 ./integrity-compat-test