From: Yu Watanabe Date: Tue, 16 Dec 2025 18:54:57 +0000 (+0900) Subject: TEST-70-TPM2: re-enable tpm2-setup test on Alpine/postmarketOS X-Git-Tag: v259~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=650fc62526a1766478e763ffd35a8709dd4e348c;p=thirdparty%2Fsystemd.git TEST-70-TPM2: re-enable tpm2-setup test on Alpine/postmarketOS After 64b5c5f593c8863316323568268e3d07f4f7cac7, the test passes on Alpine/postmarketOS. This partially reverts 9fafe89bcc91550f55a96f66972406ce678be2fb. --- diff --git a/test/units/TEST-70-TPM2.tpm2-setup.sh b/test/units/TEST-70-TPM2.tpm2-setup.sh index 23cb85e30b2..72f78418585 100755 --- a/test/units/TEST-70-TPM2.tpm2-setup.sh +++ b/test/units/TEST-70-TPM2.tpm2-setup.sh @@ -11,16 +11,6 @@ if [[ ! -x "${SD_TPM2SETUP:?}" ]]; then exit 0 fi -. /etc/os-release -if [[ "${ID_LIKE:-}" == alpine ]]; then - # For some unknown reasons, the test fails with the following: - # -------- - # Couldn't find signature for this PCR bank, PCR index and public key. - # Failed to unseal secret using TPM2: No such device or address - # -------- - exit 0 -fi - "$SD_TPM2SETUP" --help "$SD_TPM2SETUP" --version "$SD_TPM2SETUP" --tpm2-device=list