TEST-70-TPM2: re-enable tpm2-setup test on Alpine/postmarketOS

After 64b5c5f593, the test passes on
Alpine/postmarketOS.

This partially reverts 9fafe89bcc.
This commit is contained in:
Yu Watanabe
2025-12-17 03:54:57 +09:00
committed by Luca Boccassi
parent 552822992c
commit 650fc62526

View File

@@ -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