% tpm2_selftest(1) tpm2-tools | General Commands Manual
tpm2_selftest(1) - Run TPM's self-test internal routines
tpm2_selftest [OPTIONS]
tpm2_selftest(1) - Cause the TPM to execute self-test of its capabilities.
Self-test can be executed in two modes :
Once the TPM receives this request, the TPM will return TPM_RC_TESTING for any command that requires a test. If a test fails, the TPM will return TPM_RC_FAILURE for any command other than TPM2_GetTestResult() and TPM2_GetCapability() during this time. The TPM will remain in failure mode until the next TPM initialization.
common options collection of common options that provide information many users may expect.
common tcti options collection of options used to configure the various known TCTI modules.
tpm2_selftest
tpm2_selftest -f