From: Luca Boccassi Date: Mon, 17 Jul 2023 18:06:22 +0000 (+0100) Subject: test: exit early from TEST-70-TPM2 on ppc64el X-Git-Tag: v254-rc3~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc037f2b4851e1f143d71f25ed78c1cc6b70b9ad;p=thirdparty%2Fsystemd.git test: exit early from TEST-70-TPM2 on ppc64el There is an underlying issue that appears only on ppc64 and fails 95% of Ubuntu runs, so exit early until it is solved. Closes https://github.com/systemd/systemd/issues/27716 --- diff --git a/test/units/testsuite-70.sh b/test/units/testsuite-70.sh index 16d6c901f71..f01642f71a0 100755 --- a/test/units/testsuite-70.sh +++ b/test/units/testsuite-70.sh @@ -250,6 +250,13 @@ systemd-run -p PrivateDevices=yes -p LoadCredentialEncrypted=testdata.encrypted: systemd-run -p PrivateDevices=yes -p SetCredentialEncrypted=testdata.encrypted:"$(cat /tmp/testdata.encrypted)" --pipe --wait systemd-creds cat testdata.encrypted | cmp - /tmp/testdata rm -f /tmp/testdata +# There is an external issue with libcryptsetup on ppc64 that hits 95% of Ubuntu ppc64 test runs, so skip it +machine="$(uname -m)" +if [ "${machine}" = "ppc64le" ]; then + touch /testok + exit 0 +fi + cryptenroll_wipe_and_check() {( set +o pipefail