test: only load tpm_ibmvtpm kernel module on PowerPC hw
authorDan Streetman <ddstreet@ieee.org>
Mon, 18 Sep 2023 18:31:54 +0000 (14:31 -0400)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 18 Sep 2023 23:38:10 +0000 (00:38 +0100)
commit948d460ea62734c01eaf795c28ec38b49240ed0d
tree285373151c2a2e3365801e7708028cfb0b9a4930
parentaefdc1124f19e8799a84e8a047e768223493bea1
test: only load tpm_ibmvtpm kernel module on PowerPC hw

This module is only available on PPC hw, so avoid trying to load it elsewhere, as it generates a misleading error message in the logs:

modprobe: FATAL: Module tpm_ibmvtpm not found in directory /lib/modules/5.15.0-83-generic
test/TEST-70-TPM2/test.sh