btrfs-progs/tests/misc-tests
Qu Wenruo 9996feb94d btrfs-progs: misc-tests/021: Do extra btrfs check before mounting
Test case misc/021 is testing if we could mount a single disk btrfs
image recovered from multi disk fs.

The problem is, current kernel has extra check for block group, chunk
and dev extent.  This means no image can pass btrfs check for chunk
tree and the filesystem will not mount.

So do extra btrfs check before mount, this will also help us to locate
the problem in btrfs-image easier.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-12-05 15:47:24 +01:00
..
001-btrfstune-features btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
002-uuid-rewrite btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
003-zero-log btrfs-progs: Remove deprecated btrfs-zero-log standalone tool 2018-04-24 13:00:10 +02:00
004-shrink-fs btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
005-convert-progress-thread-crash btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
006-image-on-missing-device btrfs-progs: tests: fix typos in test comments 2018-11-26 17:53:43 +01:00
007-subvolume-sync btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
008-leaf-crossing-stripes btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
009-subvolume-sync-must-wait btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
010-convert-delete-ext2-subvol btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
011-delete-missing-device btrfs-progs: tests: add test for missing device delete error value 2018-10-23 14:48:39 +02:00
012-find-root-no-result btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
013-subvolume-sync-crash btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
014-filesystem-label btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
015-dump-super-garbage btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
016-send-clone-src btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
017-recv-stream-malformatted btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
018-recv-end-of-stream btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
019-receive-clones-on-mounted-subvol btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
020-fix-superblock-corruption btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
021-image-multi-devices btrfs-progs: misc-tests/021: Do extra btrfs check before mounting 2018-12-05 15:47:24 +01:00
022-filesystem-du-on-empty-subvol btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
023-device-usage-with-missing-device btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
024-inspect-internal-rootid btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
025-zstd-compression btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
026-image-non-printable-chars btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
027-subvol-list-deleted-toplevel btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
028-superblock-recover btrfs-progs: tests: add shell quotes to misc test scripts 2018-03-30 22:15:55 +02:00
029-send-p-different-mountpoints btrfs-progs: tests: fix typos in test comments 2018-11-26 17:53:43 +01:00
030-missing-device-image btrfs-progs: tests: Test if btrfs-image can handle RAID1 missing device 2018-03-30 22:15:55 +02:00
031-qgroup-parent-child-relation btrfs-progs: tests: check btrfs qgroup parent-child relation output 2018-06-07 16:37:33 +02:00
032-bad-item-ptr btrfs-progs: tests: Add test case for dump-tree on heavily corrupted leaf 2018-06-07 16:37:32 +02:00
033-filename-length-limit btrfs-progs: tests: Add the testcase for subvolume name length limit test 2018-10-25 16:11:40 +02:00