% tpm2_gettestresult(1) tpm2-tools | General Commands Manual
tpm2_gettestresult(1) - Get the result of tests performed by the TPM
tpm2_gettestresult(1) will return the result of the tests conducted by the TPM.
Error code will state if the test executed successfully or have failed.
If pending algorithms are scheduled to be tested, tpm2_gettestresult will return "TESTING". Otherwise "FAILED" will be returned or "SUCCESS" depending on the result to the test.
Manufacturer-dependent information will also be printed in raw hex format.
This tool accepts no tool specific options.
Get the result of the TPM testing
This command is the one of the few commands authorized to be submitted to TPM when in failure mode.