From: Glenn Washburn Date: Mon, 17 Nov 2025 06:40:25 +0000 (-0600) Subject: tests/grub_cmd_cryptomount: Expect test success, now that GRUB supports Argon2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae8fd0ee5db0c1e4d243b9c5e2a6c6063ca74d1;p=thirdparty%2Fgrub.git tests/grub_cmd_cryptomount: Expect test success, now that GRUB supports Argon2 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 Reviewed-by: Daniel Kiper Reviewed-by: Sudhakar Kuppusamy --- diff --git a/tests/grub_cmd_cryptomount.in b/tests/grub_cmd_cryptomount.in index 25d7d8c36..bf991818f 100644 --- a/tests/grub_cmd_cryptomount.in +++ b/tests/grub_cmd_cryptomount.in @@ -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'"