% tpm2_gettestresult(1) tpm2-tools | General Commands Manual
tpm2_gettestresult(1) - Get the result of tests performed by the TPM
tpm2_gettestresult [OPTIONS]
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.
tpm2_gettestresult
This command is the one of the few commands authorized to be submitted to TPM when in failure mode.