summaryrefslogtreecommitdiffstats
path: root/tests/tpm-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Pass TPM interface model to functions creating command lineStefan Berger2018-06-061-5/+8
| | | | | | | | Pass the TPM interface model, such as 'tpm-crb', through to the functions that create the command line for QEMU. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* test: Move common TPM test functions to tpm-tests.cStefan Berger2018-06-061-0/+124
Move common TPM test functions from tpm-crb-swtpm-test.c to tpm-tests.c so that for example test cases with the TPM TIS interface can use the same code. Prefix all funcions with 'tpm_test_'. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>