Skip to content

Cryptomount testing

Glenn Washburn grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6grub-shell: Set exit status to qemu exit statustests/util/grub-shell.in+17 -40 replies
2/6grub-shell: Only cleanup working directory file if QEMU does not fail or timeouttests/util/grub-shell.in+8 -20 replies
3/6grub-shell: Allow specifying non-default trim line contentstests/util/grub-shell.in+9 -50 replies
4/6grub-shell: Trim line should always be matched from the beginning of the linetests/util/grub-shell.in+2 -20 replies
5/6grub-shell: Add halt_cmd variable to testcase namespacetests/util/grub-shell.in+2 -00 replies
6/6tests: Add cryptomount functional testMakefile.util.def tests/grub_cmd_cryptomount.in tests/util/grub-shell-luks-tester.in+563 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Cryptomount testing

This patch series adds a variety of functional cryptomount LUKS1/2 tests by creating a LUKS container on the host and verifying that data inside can be read accurately from a virtualized GRUB. This should be especially useful when we eventually get around to upgrading the gcrypt library.

Glenn

Glenn Washburn (6):
grub-shell: Set exit status to qemu exit status
grub-shell: Only cleanup working directory file if QEMU does not fail
or timeout
grub-shell: Allow specifying non-default trim line contents
grub-shell: Trim line should always be matched from the beginning of
the line
grub-shell: Add halt_cmd variable to testcase namespace
tests: Add cryptomount functional test

 Makefile.util.def                    |  12 +
 tests/grub_cmd_cryptomount.in        | 185 ++++++++++++++
 tests/util/grub-shell-luks-tester.in | 366 +++++++++++++++++++++++++++
 tests/util/grub-shell.in             |  49 +++-
 4 files changed, 600 insertions(+), 12 deletions(-)
 create mode 100644 tests/grub_cmd_cryptomount.in
 create mode 100644 tests/util/grub-shell-luks-tester.in
Signature · 1 line
2.34.1