Message ID | 20220727091657.4998-1-hmsjwzb@zoho.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs/219: fix problems with mount old generation | expand |
diff --git a/tests/btrfs/219 b/tests/btrfs/219 index 528175b8..5152fa91 100755 --- a/tests/btrfs/219 +++ b/tests/btrfs/219 @@ -73,8 +73,7 @@ _mount $loop_dev $loop_mnt > /dev/null 2>&1 || \ $UMOUNT_PROG $loop_mnt _mount -o loop $fs_img2 $loop_mnt > /dev/null 2>&1 || \ - _fail "We couldn't mount the old generation" -$UMOUNT_PROG $loop_mnt + echo "We couldn't mount the old generation" _mount $loop_dev $loop_mnt > /dev/null 2>&1 || \ _fail "Failed to mount the second time" diff --git a/tests/btrfs/219.out b/tests/btrfs/219.out index 162074d3..6fe85f24 100644 --- a/tests/btrfs/219.out +++ b/tests/btrfs/219.out @@ -1,2 +1,3 @@ QA output created by 219 +We couldn't mount the old generation Silence is golden
Hi Nikolay & David, As we discussed, I changed the test btrfs/219 to make it pass. This test try to mount btrfs filesystem with old generation. Devices are matched by UUID in btrfs filesystem. The mount of btrfs with old generation should be failed on purpose. Signed-off-by: Flint.Wang <hmsjwzb@zoho.com> --- tests/btrfs/219 | 3 +-- tests/btrfs/219.out | 1 + 2 files changed, 2 insertions(+), 2 deletions(-)