testing tpm restart

This commit is contained in:
lareine 2022-02-04 15:43:19 -05:00
parent 9100206cc3
commit 1a8e65b5f5

View File

@ -67,9 +67,11 @@ popd > /dev/null
# a: Clear the TPM PCR registers vi a call to the tss clear
# b: Check if a test specific setpcr.sh file exists. If not use the profiles default script
pushd /ibmtss/utils/
echo "accessing the ibmtss"
./pcrreset -ha 16
echo "attemping to clear PCRs"
echo "restarting the TPM simulator to reset the PCR values"
# ./pcrreset -ha 16
./shutdown
./powerup
echo "TPM simulator restarted"
popd
if [[ ! -f $pcrScript ]]; then