btrfs-progs/tests/fsck-tests
David Sterba 760e879b4a 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-17 21:52:48 +02:00
..
001-bad-file-extent-bytenr btrfs-progs: fsck-test: enable lowmem repair for case 001 2019-04-16 09:04:25 +08:00
002-bad-transid
003-shift-offsets
004-no-dir-index
005-bad-item-offset
006-bad-root-items btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
007-bad-offset-snapshots
008-bad-dir-index-name
009-no-dir-item-or-index
010-no-rootdir-inode-item
011-no-inode-item
012-leaf-corruption btrfs-progs: tests: update or fix shell script coding style 2024-06-17 21:52:48 +02:00
013-extent-tree-rebuild btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
014-no-extent-info btrfs-progs: tests: add image with no extent with normal device size 2018-06-07 16:37:32 +02:00
016-wrong-inode-nbytes
017-missing-all-file-extent
018-leaf-crossing-stripes btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
019-non-skinny-false-alert btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
020-extent-ref-cases btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
021-partially-dropped-snapshot-case btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
022-qgroup-rescan-halfway btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
023-qgroup-stack-overflow btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
024-clear-space-cache btrfs-progs: tests: update or fix shell script coding style 2024-06-17 21:52:48 +02:00
025-file-extents btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
026-bad-dir-item-name btrfs-progs: tests: check: Make 026-bad-dir-item-name verify if btrfs-check can also repair 2019-01-15 18:42:13 +01:00
027-bad-extent-inline-ref-type
028-unaligned-super-dev-sizes btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
029-valid-orphan-item btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
030-reflinked-prealloc-extents btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
031-metadatadump-check-data-csum btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
032-corrupted-qgroup btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
033-lowmem-collission-dir-items btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
034-bad-inode-flags btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
035-inline-bad-ram-bytes btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
036-bad-dev-extents btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
036-rescan-not-kicked-in btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
037-freespacetree-repair btrfs-progs: tests: fix cleanup step in check/037 2024-06-17 21:52:48 +02:00
038-missing-one-file-extent btrfs-progs: tests: add case for inode lose one file extent 2019-04-16 09:04:25 +08:00
039-bad-inode-mode btrfs-progs: tests: Add new images for inode mode repair functionality 2019-11-18 19:21:07 +01:00
040-compressed-nodatasum btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
041-invalid-root-generation btrfs-progs: fsck-tests: Add test case for invalid root generation 2019-09-04 16:06:55 +02:00
042-half-dropped-inode btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
043-bad-inode-generation btrfs-progs: tests: add test image to fsck/043 for inode transid repair 2020-08-31 17:09:55 +02:00
044-invalid-extent-item-generation btrfs-progs: tests: enhance invalid extent item generation test cases 2020-12-10 17:10:30 +01:00
045-overlap-csum-item btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
047-dev-bytes-used btrfs-progs: tests/fsck: add test case to make sure btrfs check can reset btrfs_dev_item::bytes_used 2021-06-19 22:07:49 +02:00
049-dir-hard-link btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
050-invalid-block-group-used btrfs-progs: tests: add image with a corrupt block group item 2021-08-25 15:38:54 +02:00
051-invalid-super-bytes-used btrfs-progs: tests: add image with an invalid super bytes_used 2021-08-25 15:43:13 +02:00
052-init-csum-tree btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
053-bad-metadata-level btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
054-orphan-directory btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
055-super-num-devs-mismatch btrfs-progs: tests: add test case for super num devs mismatch 2022-03-24 00:36:13 +01:00
056-raid56-false-alerts btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
057-seed-false-alerts btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
058-bad-free-space-tree-entry btrfs-progs: check: check for invalid free space tree entries 2022-08-16 15:18:12 +02:00
059-shrunk-device btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
060-degraded-check btrfs-progs: tests: update or fix shell script coding style 2024-06-17 21:52:48 +02:00
061-out-of-order-inline-backref btrfs-progs: tests: add missing protection against running out of test suite 2024-06-03 22:37:53 +02:00
062-noncompressed-ram-bytes-mismatch btrfs-progs: tests: add test case for ram_bytes detection and repair 2024-05-03 15:30:37 +02:00