From eca65a8977aba6f02dad820a88aacbb9120421ca Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Wed, 1 Mar 2017 09:21:51 +0800 Subject: btrfs-progs: tests: Allow check test to repair in lowmem mode for certain errors Since lowmem mode can repair certain corruptions (mostly in fs tree), insert a beacon into each fsck test cases to allow some of them be tested in lowmem mode. With this patch, fsck option override will check the beacon file ".lowmem_repairable" in the same directory of the test image, and if the beacon exists, then it will also run lowmem mode repair to repair the image. Signed-off-by: Qu Wenruo Signed-off-by: David Sterba --- tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable (limited to 'tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable') diff --git a/tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable b/tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3