Armin Kuster
cc20e2af2a
oeqa: meta-tpm shut swtpm down before and after testing
...
fixes:
swtpm: Could not open TCP socket: Address already in use
Signed-off-by: Armin Kuster <akuster808@gmail.com >
(cherry picked from commit b5642c519b )
[Fixup for kirkstone context]
Signed-off-by: Armin Kuster <akuster808@gmail.com >
2023-02-22 15:31:09 -05:00
Armin Kuster
a30a85dba1
oeqa/tpm2: fix and cleanup tests
...
Signed-off-by: Armin Kuster <akuster808@gmail.com >
(cherry picked from commit 3db9e08300 )
Signed-off-by: Armin Kuster <akuster808@gmail.com >
2023-02-22 15:29:22 -05:00
Armin Kuster
0325071a1d
oeqa/cases/tpm2: fix and enhance test suite
...
local.conf
TEST_SUITES = "ssh ping tpm2"
IMAGE_INSTALL:append = " swtpm tpm2-pkcs11"
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.05s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (2.19s)
RESULTS - tpm2.Tpm2Test.test_tpm2_pcrread: PASSED (1.06s)
RESULTS - tpm2.Tpm2Test.test_tpm2_pkcs11: PASSED (1.17s)
RESULTS - tpm2.Tpm2Test.test_tpm2_swtpm_reset: PASSED (0.59s)
RESULTS - tpm2.Tpm2Test.test_tpm2_swtpm_socket: PASSED (307.72s)
Signed-off-by: Armin Kuster <akuster808@gmail.com >
(cherry picked from commit 8be830dd85 )
Signed-off-by: Armin Kuster <akuster808@gmail.com >
2022-05-23 07:56:47 -07:00
Armin Kuster
6aae738ee6
runtime: tpm2 fix names in packagecheck
...
Signed-off-by: Armin Kuster <akuster808@gmail.com >
2019-06-26 15:47:47 -07:00
Armin Kuster
3406611b12
meta-tpm: add runtime test for tpm2
...
This runs a basic tpm test using the simulator
Signed-off-by: Armin Kuster <akuster808@gmail.com >
2019-03-23 09:15:39 -07:00