Refactor code and implement another TPM TIS test
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | test: Move reusable code from tpm-crb-swtpm-test.c to tpm-util.ctests/ tests/ tests/ | +104 | 1 reply | |
| 2/4 | test: Move common TPM test functions to tpm-tests.ctests/ tests/ tests/ +1 more | +153 | 1 reply | |
| 3/4 | test: Pass TPM interface model to functions creating command linetests/ tests/ tests/ +2 more | +22 | 1 reply | |
| 4/4 | test: Add swtpm migration test for the TPM TIS interfacetests/ tests/ tests/ +1 more | +120 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/4] Refactor code and implement another TPM TIS test
This series of patches refactors the tpm-crb-swtpm-test.c in the first two patches and moves functions into tpm-util.c and tpm-tests.c for reuse. Patch 3 passes "tpm-crb" to the functions that create the QEMU command line. Patch 4 is more or less a copy of tpm-crb-swtpm-test.c adapted for the TIS interface.
Stefan
Stefan Berger (4):
test: Move reusable code from tpm-crb-swtpm-test.c to tpm-util.c
test: Move common TPM test functions to tpm-tests.c
test: Pass TPM interface model to functions creating command line
test: Add swtpm migration test for the TPM TIS interface
tests/Makefile.include | 5 +- tests/tpm-crb-swtpm-test.c | 189 +-------------------------------------------- tests/tpm-tests.c | 127 ++++++++++++++++++++++++++++++ tests/tpm-tests.h | 26 +++++++ tests/tpm-tis-swtpm-test.c | 66 ++++++++++++++++ tests/tpm-util.c | 138 +++++++++++++++++++++++++++++++++ tests/tpm-util.h | 14 ++++ 7 files changed, 379 insertions(+), 186 deletions(-) create mode 100644 tests/tpm-tests.c create mode 100644 tests/tpm-tests.h create mode 100644 tests/tpm-tis-swtpm-test.c
Signature · 1 line
2.14.3