]> git.ipfire.org Git - thirdparty/grub.git/commit
tests/util/grub-shell: Correct netboot and file_filter test failure
authorAndrew Hamilton <adhamilt@gmail.com>
Sat, 21 Jun 2025 15:50:38 +0000 (10:50 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 26 Jun 2025 15:24:39 +0000 (17:24 +0200)
commit2539ede82a0d98654ae235d250fb987c8dea70c6
treebf219510c2b0a32101fca987fd80b56409f7988a
parent8c2d4e64ffe86f46d7f9cd8d4837d5e012a661c6
tests/util/grub-shell: Correct netboot and file_filter test failure

Correct a test failure in netboot_test and file_filter_test caused by an
issue cleaning up the tmp directory created for netboot. Netboot creates
a subdirectory in the tmp folder that causes the rmdir to fail - so
cleanup the subdirectory first.

Fixes: 1d59f39b5f1b (tests/util/grub-shell: Remove the work directory on successful run and debug is not on)
Signed-off-by: Andrew Hamilton <adhamilt@gmail.com>
Tested-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-shell.in