]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests/grub_cmd_cryptomount: Expect test success, now that GRUB supports Argon2
authorGlenn Washburn <development@efficientek.com>
Mon, 17 Nov 2025 06:40:25 +0000 (00:40 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 18 Nov 2025 12:07:22 +0000 (13:07 +0100)
This test was included to verify that, while GRUB did not have Argon2
support, trying to open a LUKS2 volume with an Argon2 keyslot would fail
Now that Argon2 support is included, the test is failing because it
expected a failure, but is now getting success. Change the test to expect
success.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
tests/grub_cmd_cryptomount.in

index 25d7d8c3687fe066af02ea897a3ab84cf33d2c48..bf991818f3189b45aebb29b11554e0ab432d223d 100644 (file)
@@ -178,8 +178,7 @@ eval testcase "'LUKS2 test with different metadata size:'" \
     @builddir@/grub-shell-luks-tester $LUKS2_COMMON_OPTS $COMMON_OPTS \
         "--cs-opts='--luks2-metadata-size 512k'"
 
-# TODO: Expect a failure with LUKS2 volumes with argon2 key derivation
-eval testcase_fail "'LUKS2 test with argon2 pbkdf:'" \
+eval testcase "'LUKS2 test with argon2 pbkdf:'" \
     @builddir@/grub-shell-luks-tester --luks=2 $COMMON_OPTS \
         "--cs-opts='--pbkdf-memory 32'" "--cs-opts='--pbkdf-parallel 1'"