diff --git a/tests-fmf/tpm2/main.fmf b/tests-fmf/tpm2/main.fmf new file mode 100644 index 00000000000..f4ed7348744 --- /dev/null +++ b/tests-fmf/tpm2/main.fmf @@ -0,0 +1,8 @@ +summary: TPM2 test +duration: 20m +require: + - swtpm + - swtpm-tools + - tpm2-tools +test: modprobe tpm_vtpm_proxy; mkdir /var/tmp/swtpm; swtpm_setup --tpm-state /var/tmp/swtpm --tpm2; swtpm chardev --vtpm-proxy --tpmstate dir=/var/tmp/swtpm --tpm2 &> /var/log/swtpm; tpm2_getrandom 16 | hexdump +path: /tests/client-dbus