diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-06-06 14:47:03 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-06-06 14:48:27 +0200 |
commit | 47d81bc61315bae917276f978f39f200cf31e106 (patch) | |
tree | 835a1c27e7770ea7d01b7fa1ff381f756334ac92 /test/units/testsuite-70.sh | |
parent | 3ea18a2e36a5b8ac60c76e407f9dd38800455725 (diff) | |
download | systemd-47d81bc61315bae917276f978f39f200cf31e106.tar.gz |
test: fix TEST-70 under sanitizers
Addresses:
* https://github.com/systemd/systemd/issues/23578#issuecomment-1144089821
* https://github.com/systemd/systemd-centos-ci/pull/496#issuecomment-1144640305
Diffstat (limited to 'test/units/testsuite-70.sh')
-rwxr-xr-x | test/units/testsuite-70.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/testsuite-70.sh b/test/units/testsuite-70.sh index f395ef4e5e..5e4fa1877c 100755 --- a/test/units/testsuite-70.sh +++ b/test/units/testsuite-70.sh @@ -4,12 +4,11 @@ set -ex export SYSTEMD_LOG_LEVEL=debug - # Prepare fresh disk image img="/var/tmp/test.img" dd if=/dev/zero of=$img bs=1024k count=20 status=none echo -n passphrase >/tmp/passphrase -cryptsetup luksFormat -q --use-urandom $img /tmp/passphrase +LD_PRELOAD="${ASAN_RT_PATH:-}" cryptsetup luksFormat -q --use-urandom $img /tmp/passphrase # Enroll unlock with default PCR policy env PASSWORD=passphrase systemd-cryptenroll --tpm2-device=auto $img |