Skip to content

Commit

Permalink
Try setting up TPM2 as part of test
Browse files Browse the repository at this point in the history
Experimental

Signed-off-by: mulhern <amulhern@redhat.com>
  • Loading branch information
mulkieran committed May 14, 2024
1 parent 2131650 commit 6fb6869
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests-fmf/tpm2/main.fmf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6fb6869

Please sign in to comment.