diff options
author | James Bottomley <[email protected]> | 2021-03-09 21:50:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-03-10 13:29:50 +0000 |
commit | 6720f1343aef9342127380b155c19e12c92d65ac (patch) | |
tree | 638a5e8780827f1907356f3f6a40b942d421fc1c /tpm2d/command.c | |
parent | gpg: Add new command keytotpm to convert a private key to TPM format (diff) | |
download | gnupg-6720f1343aef9342127380b155c19e12c92d65ac.tar.gz gnupg-6720f1343aef9342127380b155c19e12c92d65ac.zip |
tpm2d: add tests for the tpm2daemon
* configure.ac: Detect TPM emulator and enable tests.
* tests/tpm2dtests/: New test suite.
* tests/Makefile.am: Run tests.
--
Add a set of tests that exercise tpm2daemon handling of keys and
verify compatibility with non-tpm based keys.
Running this test infrastructure requires a tpm emulator, which is
tested for during configuration. If an emulator is not found, the
tests won't be run since they require the presence of a TPM (although
the TPM handling code will still be built).
Signed-off-by: James Bottomley <[email protected]>
- Fixed tests/Makefile.am for make distcheck.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tpm2d/command.c')
0 files changed, 0 insertions, 0 deletions