btrfs-progs/tests/fsck-tests
Josef Bacik ecb66fd754 btrfs-progs: tests: fix fsck-tests/060 to run without root
We need to call the setup_root_helper before we start messing with the
loop devices.

Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-04-12 01:56:41 +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: switch messages to _log 2019-07-26 17:46:42 +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 fsck/012-leaf-corruption image 2020-05-29 12:42:49 +02:00
013-extent-tree-rebuild btrfs-progs: tests: fix path of btrfs-corrupt-block 2020-03-03 19:58:53 +01: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
019-non-skinny-false-alert
020-extent-ref-cases btrfs-progs: fsck-tests: Move reloc tree images to 020-extent-ref-cases 2018-12-05 15:46:28 +01:00
021-partially-dropped-snapshot-case
022-qgroup-rescan-halfway
023-qgroup-stack-overflow
024-clear-space-cache btrfs-progs: tests: fix fsck/024 to work with free-space-tree 2021-10-06 16:49:25 +02:00
025-file-extents btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +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
029-valid-orphan-item btrfs-progs: tests: Add test case with valid orphan inode 2018-03-30 22:15:54 +02:00
030-reflinked-prealloc-extents Btrfs-progs: add fsck test for filesystem with shared prealloc extents 2018-03-30 22:15:54 +02:00
031-metadatadump-check-data-csum btrfs-progs: tests: use _mktemp_local for temporary files 2022-10-11 09:06:13 +02:00
032-corrupted-qgroup btrfs-progs: check: warn users about the possible dangers of --repair 2019-11-22 19:07:20 +01:00
033-lowmem-collission-dir-items btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
034-bad-inode-flags btrfs-progs: fsck-tests: add test case to check symlinks with bad flags 2018-06-07 16:37:38 +02:00
035-inline-bad-ram-bytes btrfs-progs: tests: update fsck/035-inline-bad-ram-bytes image 2020-05-29 12:42:49 +02:00
036-bad-dev-extents btrfs-progs: tests: Add test image for dev extents beyond device boundary 2019-01-15 18:42:13 +01:00
036-rescan-not-kicked-in btrfs-progs: tests: fix typos in test comments 2018-11-26 17:53:43 +01:00
037-freespacetree-repair btrfs-progs: tests: fsck/037-freespacetree-repair workaround for missing kernel fix 2020-08-28 18:30:55 +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: detecting compressed extent without csum 2019-05-17 12:32:38 +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: fix a bunch of typos 2022-02-01 18:40:53 +01: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 test image for overlapping csum item 2020-05-28 19:59:38 +02:00
046-ino-cache-clean btrfs-progs: tests: test check --clear-ino-cache 2020-12-16 17:08:53 +01: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: check nlinks for directories 2021-07-30 15:52:57 +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 test case for init-csum-tree 2022-02-01 18:41:19 +01:00
053-bad-metadata-level btrfs-progs: tests/fsck: add test image with invalid metadata backref level 2022-02-01 18:42:02 +01:00
054-orphan-directory btrfs-progs: tests: add a test to check orphaned directories 2022-03-08 18:47:21 +01: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: fix fsck-tests/056 to run without root 2023-04-12 01:56:28 +02:00
057-seed-false-alerts btrfs-progs: tests: fix fsck-tests/057 to run without root 2023-04-12 01:56:36 +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: fix fsck-tests/059 to run without root 2023-04-12 01:56:39 +02:00
060-degraded-check btrfs-progs: tests: fix fsck-tests/060 to run without root 2023-04-12 01:56:41 +02:00