[01/11] btrfs-progs: misc-tests/034: reload btrfs module before running failure_recovery
diff mbox series

Message ID 20191212110204.11128-2-Damenly_Su@gmx.com
State New
Headers show
  • btrfs-progs: metadata_uuid feature fixes and portation
Related show

Commit Message

Damenly Su Dec. 12, 2019, 11:01 a.m. UTC
From: Su Yue <Damenly_Su@gmx.com>

One reload_btrfs is lost, add it.

Fixes: 0de2e22ad226 ("btrfs-progs: tests: Add tests for changing fsid feature")
Signed-off-by: Su Yue <Damenly_Su@gmx.com>
 tests/misc-tests/034-metadata-uuid/test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff mbox series

diff --git a/tests/misc-tests/034-metadata-uuid/test.sh b/tests/misc-tests/034-metadata-uuid/test.sh
index 6ac55b1cacfa..ff51bf22fadf 100755
--- a/tests/misc-tests/034-metadata-uuid/test.sh
+++ b/tests/misc-tests/034-metadata-uuid/test.sh
@@ -211,11 +211,10 @@  failure_recovery "./disk1.raw.xz" "./disk2.raw.xz" check_inprogress_flag
 failure_recovery "./disk2.raw.xz" "./disk1.raw.xz" check_inprogress_flag
 # disk4 contains an image in with the in-progress flag set and disk 3 is part
 # of the same filesystem but has both METADATA_UUID incompat and a new
 # metadata uuid set. So disk 3 must always take precedence
 failure_recovery "./disk3.raw.xz" "./disk4.raw.xz" check_completed
 failure_recovery "./disk4.raw.xz" "./disk3.raw.xz" check_completed
@@ -224,6 +223,7 @@  failure_recovery "./disk4.raw.xz" "./disk3.raw.xz" check_completed
 # than once, disk6 on the other hand is member of the same filesystem but
 # hasn't completed its last change. Thus it has both the FSID_CHANGING flag set
 # and METADATA_UUID flag set.
 failure_recovery "./disk5.raw.xz" "./disk6.raw.xz" check_multi_fsid_change
 failure_recovery "./disk6.raw.xz" "./disk5.raw.xz" check_multi_fsid_change