btrfs-progs/tests/fsck-tests/037-freespacetree-repair
David Sterba 9d35464a6d btrfs-progs: tests: fix cleanup step in check/037
The test check/037-freespacetree-repair sometimes fails (does not in the
CI though) that the last unmount does not work due to -EBUSY. This
depends on timing, but what is obviously wrong is the 'rm' before
umount. The quoting of "*" does not remove all the files before
fallocate but is otherwise silent due to '-f'.

Add the run_check so it's recorded in the logs taht it happens and alos
add sudo so it can actually work. This makes the test work more
reliably.

Signed-off-by: David Sterba <dsterba@suse.com>
2024-06-24 19:18:16 +02:00
..
test.sh btrfs-progs: tests: fix cleanup step in check/037 2024-06-24 19:18:16 +02:00