From 650fc62526a1766478e763ffd35a8709dd4e348c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 17 Dec 2025 03:54:57 +0900 Subject: [PATCH] TEST-70-TPM2: re-enable tpm2-setup test on Alpine/postmarketOS After 64b5c5f593c8863316323568268e3d07f4f7cac7, the test passes on Alpine/postmarketOS. This partially reverts 9fafe89bcc91550f55a96f66972406ce678be2fb. --- test/units/TEST-70-TPM2.tpm2-setup.sh | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.47.3