path: root/tests
diff options
authorQu Wenruo <>2017-02-21 16:34:35 +0800
committerDavid Sterba <>2017-03-08 13:00:49 +0100
commit381b43a0201e78049f11e8ededd251a930cbaeb8 (patch)
treed486f8afe1fa9d9b89c21e4f282e2c1f18915f5c /tests
parent6203e63672ab34f401083957f580f5e9dce6a792 (diff)
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 <>
Diffstat (limited to 'tests')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fsck-tests/013-extent-tree-rebuild/ b/tests/fsck-tests/013-extent-tree-rebuild/
index 37bdcd9c..08c1e50e 100755
--- a/tests/fsck-tests/013-extent-tree-rebuild/
+++ b/tests/fsck-tests/013-extent-tree-rebuild/
@@ -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