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
Thank you for doing this, this is very helpful.
I tested both and they worked well for me. I submitted a separate patch
just a moment ago to fix 2 of the test failures (not caused by this update).
Reviewed-by: Andrew Hamilton
Thanks,
Andrew
On Fri, Jun 20, 2025 at 7:04 PM Leo Sandoval via Gru
It was observed that netboot_test and file_filter_test
are failing currently when running 'make check'.
This is being caused by the tmp folder cleanup failing
at the end of these tests, from grub-shell.
The following error is seen in these test logs:
"rmdir: failed to remove '/tmp/grub-shell.2VvsV