mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-28 00:52:17 +00:00
btrfs-progs: tests: Make fsck-test/013 compatible with lowmem mode
fsck-tests/013-extent-tree-rebuild uses "--init-extent-tree", which implies "--repair". But the test script doesn't specify "--repair" for lowmem mode test to detect it. Add it so lowmem mode test can be happy with it. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6203e63672
commit
381b43a020
@ -36,7 +36,7 @@ test_extent_tree_rebuild()
|
||||
|
||||
$SUDO_HELPER $TOP/btrfs check $TEST_DEV >& /dev/null && \
|
||||
_fail "btrfs check should detect failure"
|
||||
run_check $SUDO_HELPER $TOP/btrfs check --init-extent-tree $TEST_DEV
|
||||
run_check $SUDO_HELPER $TOP/btrfs check --repair --init-extent-tree $TEST_DEV
|
||||
run_check $SUDO_HELPER $TOP/btrfs check $TEST_DEV
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user