diff options
author | Dan Streetman <ddstreet@ieee.org> | 2023-07-25 02:04:28 +0200 |
---|---|---|
committer | Dan Streetman <ddstreet@ieee.org> | 2023-11-07 18:29:36 +0100 |
commit | 803e95932f8c749c7ec6fa00440c1a268af1d1f5 (patch) | |
tree | 43b3c11cfee743df953995214039a4dbb04f700d /test/TEST-70-TPM2 | |
parent | test: fix env var name of persistent handle used for testing so it is removed... (diff) | |
download | systemd-803e95932f8c749c7ec6fa00440c1a268af1d1f5.tar.xz systemd-803e95932f8c749c7ec6fa00440c1a268af1d1f5.zip |
test: update TEST-70 with systemd-cryptenroll calculated TPM2 enrollment
Update test to check systemd-cryptenroll --tpm2-device-key= enrollment.
Diffstat (limited to 'test/TEST-70-TPM2')
-rwxr-xr-x | test/TEST-70-TPM2/test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/TEST-70-TPM2/test.sh b/test/TEST-70-TPM2/test.sh index 3b3cce9154..c33e71cc06 100755 --- a/test/TEST-70-TPM2/test.sh +++ b/test/TEST-70-TPM2/test.sh @@ -11,7 +11,7 @@ TEST_REQUIRE_INSTALL_TESTS=0 # shellcheck source=test/test-functions . "${TEST_BASE_DIR:?}/test-functions" -test_require_bin openssl swtpm tpm2_createprimary tpm2_dictionarylockout tpm2_evictcontrol tpm2_flushcontext tpm2_pcrextend tpm2_pcrread +test_require_bin openssl swtpm tpm2_createprimary tpm2_dictionarylockout tpm2_evictcontrol tpm2_flushcontext tpm2_pcrextend tpm2_pcrread tpm2_readpublic test_append_files() { local workspace="${1:?}" @@ -31,6 +31,7 @@ test_append_files() { inst_binary tpm2_flushcontext inst_binary tpm2_pcrextend inst_binary tpm2_pcrread + inst_binary tpm2_readpublic } do_test "$@" |