% 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 :
- Simple test - TPM will test functions that require testing
- Full test - TPM will test all functions regardless of what has already been tested
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.
- -f, --fulltest : Run self-test in full mode
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