]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Cleanup generated files on expected failure in grub_cmd_cryptomount
authorGlenn Washburn <development@efficientek.com>
Mon, 3 Mar 2025 08:12:02 +0000 (02:12 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 26 Mar 2025 13:18:46 +0000 (14:18 +0100)
commitc188ca5d5ee692d15a433b4e2a44d2deb6b680a2
treebddf1dc19d9b2f5ce959bd76019fedd76665defb
parent50320c093abe29dfa5adc349529128425bade56a
tests: Cleanup generated files on expected failure in grub_cmd_cryptomount

grub-shell-luks-tester only cleans up generated files when the test it
runs returns success. Sometimes tests are run that should fail. Add
a --xfail argument to grub-shell-luks-tester and pass it from
grub_cmd_cryptomount when invoking a test that is expected to fail.

Reported-by: Thomas Schmitt <scdbackup@gmx.net>
Signed-off-by: Glenn Washburn <development@efficientek.com>
Tested-by: Thomas Schmitt <scdbackup@gmx.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/grub_cmd_cryptomount.in
tests/util/grub-shell-luks-tester.in