tests: Move common TPM test code into tpm-emu.c
commit0e6ca9547bd4f2735fa2b20f103a7aecd38e0abd
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 15 Feb 2018 13:53:56 +0000 (15 08:53 -0500)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 21 Feb 2018 12:24:50 +0000 (21 07:24 -0500)
tree0f6ffbe16fe1843404b2d0495f71f4f8509adc93
parenta6e0344fa0e09413324835ae122c4cadd7890231
tests: Move common TPM test code into tpm-emu.c

Move threads and other common TPM test code into tpm-emu.c.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/Makefile.include
tests/tpm-crb-test.c
tests/tpm-emu.c [copied from tests/tpm-crb-test.c with 57% similarity]
tests/tpm-emu.h [new file with mode: 0644]