From b3b0c404657bcdca6d837f10d972d8237d2b49a3 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 24 Aug 2018 13:15:03 +0200 Subject: btrfs-progs: tests: renumber last fsck test to 036-rescan-not-kicked-in The commit d99615284a83452c019f5bed05a882f93a4ef19a ("btrfs-progs: fsck-tests: Add test image to check if btrfs check reports uninitialized rescan as error") added test 035, should have been 036. Signed-off-by: David Sterba --- .../035-rescan-not-kicked-in/no_rescan_kicked_in.img | Bin 3072 -> 0 bytes tests/fsck-tests/035-rescan-not-kicked-in/test.sh | 17 ----------------- .../036-rescan-not-kicked-in/no_rescan_kicked_in.img | Bin 0 -> 3072 bytes tests/fsck-tests/036-rescan-not-kicked-in/test.sh | 17 +++++++++++++++++ 4 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 tests/fsck-tests/035-rescan-not-kicked-in/no_rescan_kicked_in.img delete mode 100755 tests/fsck-tests/035-rescan-not-kicked-in/test.sh create mode 100644 tests/fsck-tests/036-rescan-not-kicked-in/no_rescan_kicked_in.img create mode 100755 tests/fsck-tests/036-rescan-not-kicked-in/test.sh (limited to 'tests') diff --git a/tests/fsck-tests/035-rescan-not-kicked-in/no_rescan_kicked_in.img b/tests/fsck-tests/035-rescan-not-kicked-in/no_rescan_kicked_in.img deleted file mode 100644 index b855a72f..00000000 Binary files a/tests/fsck-tests/035-rescan-not-kicked-in/no_rescan_kicked_in.img and /dev/null differ diff --git a/tests/fsck-tests/035-rescan-not-kicked-in/test.sh b/tests/fsck-tests/035-rescan-not-kicked-in/test.sh deleted file mode 100755 index 82fa978e..00000000 --- a/tests/fsck-tests/035-rescan-not-kicked-in/test.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# Under certain power loss case, btrfs quota tree can be initialized but -# rescan not kicked in. Can be also reproduced by fstests/btrfs/166 but with -# low probability. -# -# This test case verifies a special case when 'btrfs check' does not report -# qgroup accounting differece as an error, thus no false alert for btrfs/166. - -source "$TEST_TOP/common" - -check_prereq btrfs - -check_image() { - run_check "$TOP/btrfs" check "$1" -} - -check_all_images diff --git a/tests/fsck-tests/036-rescan-not-kicked-in/no_rescan_kicked_in.img b/tests/fsck-tests/036-rescan-not-kicked-in/no_rescan_kicked_in.img new file mode 100644 index 00000000..b855a72f Binary files /dev/null and b/tests/fsck-tests/036-rescan-not-kicked-in/no_rescan_kicked_in.img differ diff --git a/tests/fsck-tests/036-rescan-not-kicked-in/test.sh b/tests/fsck-tests/036-rescan-not-kicked-in/test.sh new file mode 100755 index 00000000..82fa978e --- /dev/null +++ b/tests/fsck-tests/036-rescan-not-kicked-in/test.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# Under certain power loss case, btrfs quota tree can be initialized but +# rescan not kicked in. Can be also reproduced by fstests/btrfs/166 but with +# low probability. +# +# This test case verifies a special case when 'btrfs check' does not report +# qgroup accounting differece as an error, thus no false alert for btrfs/166. + +source "$TEST_TOP/common" + +check_prereq btrfs + +check_image() { + run_check "$TOP/btrfs" check "$1" +} + +check_all_images -- cgit v1.2.3