Signed-off-by: Glenn Washburn
---
Makefile.util.def | 6 ++
tests/grub_cmd_cryptomount.in | 156 ++
2 files changed, 162 insertions(+)
create mode 100644 tests/grub_cmd_cryptomount.in
diff --git a/Makefile.util.def b/Makefile.util.def
index cfc71f1a
Signed-off-by: Glenn Washburn
---
Makefile.util.def| 6 +
tests/util/grub-shell-luks-tester.in | 319 +++
2 files changed, 325 insertions(+)
create mode 100644 tests/util/grub-shell-luks-tester.in
diff --git a/Makefile.util.def b/Makefile.util.def
i
This will be useful for tests that have unwanted output from setup. This is
not documented because its only intended at the moment. Also, --no-trim is
allowed to explicitly turn off trim.
Signed-off-by: Glenn Washburn
---
tests/util/grub-shell.in | 14 +-
1 file changed, 9 insertions
Signed-off-by: Glenn Washburn
---
grub-core/disk/cryptodisk.c | 30 ++
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/grub-core/disk/cryptodisk.c b/grub-core/disk/cryptodisk.c
index 031e9dd97..5502a6958 100644
--- a/grub-core/disk/cryptodisk.c
+++ b/gr
Signed-off-by: Glenn Washburn
---
grub-core/disk/cryptodisk.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/grub-core/disk/cryptodisk.c b/grub-core/disk/cryptodisk.c
index dd94736d3..031e9dd97 100644
--- a/grub-core/disk/cryptodisk.c
+++ b/grub-core/disk/cryptodisk.c
@@ -1
The previous behavior ignored an error and the output from grub-mkrescue.
This made it a pain to discover that grub-mkrescue was the reason that tests
which rely on grub-shell were failing. Even after discovering grub-mkrescue
was the culprit, there was no output to indicate why it was failing. I
Grub maintainers,
Here is a patch set that adds functional testing for cryptomount with
LUKS1/2 volumes. Also added is a required patch to add a new -p option
to cryptomount for specifying passwords on the command line and
importantly by-passing user input from the terminal. Currently, I rely
he
Signed-off-by: Glenn Washburn
---
tests/util/grub-shell.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
index b409962f1..602b16f3e 100644
--- a/tests/util/grub-shell.in
+++ b/tests/util/grub-shell.in
@@ -343,7 +343,7 @