From 381b43a0201e78049f11e8ededd251a930cbaeb8 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Tue, 21 Feb 2017 16:34:35 +0800 Subject: [PATCH] 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 Signed-off-by: David Sterba --- tests/fsck-tests/013-extent-tree-rebuild/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fsck-tests/013-extent-tree-rebuild/test.sh b/tests/fsck-tests/013-extent-tree-rebuild/test.sh index 37bdcd9c..08c1e50e 100755 --- a/tests/fsck-tests/013-extent-tree-rebuild/test.sh +++ b/tests/fsck-tests/013-extent-tree-rebuild/test.sh @@ -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 }