From 803f8ca7146c548c271c04d432a3c68726a0d37d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 11 Nov 2013 17:19:26 +0100 Subject: [PATCH] tests: used -n for fsck --- test/shell/lvcreate-thin-snap.sh | 4 ++-- test/shell/lvcreate-thin.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/shell/lvcreate-thin-snap.sh b/test/shell/lvcreate-thin-snap.sh index a223469f8..b7511e7f5 100644 --- a/test/shell/lvcreate-thin-snap.sh +++ b/test/shell/lvcreate-thin-snap.sh @@ -37,7 +37,7 @@ mkfs.ext4 $DM_DEV_DIR/$vg/$lv1 # create thin snapshot of thin LV lvcreate -K -s $vg/$lv1 --name snap # check snapshot filesystem was properly frozen before snapping -fsck -p $DM_DEV_DIR/$vg/snap +fsck -n $DM_DEV_DIR/$vg/snap lvcreate -K -s $vg/$lv1 --name $lv2 lvcreate -K -s $vg/$lv1 --name $vg/$lv3 lvcreate --type snapshot $vg/$lv1 @@ -59,6 +59,6 @@ lvremove -ff $vg lvcreate -L10M --zero n -T $vg/pool -V10M --name $lv1 mkfs.ext4 $DM_DEV_DIR/$vg/$lv1 lvcreate -K -s $vg/$lv1 --name snap -fsck -p $DM_DEV_DIR/$vg/snap +fsck -n $DM_DEV_DIR/$vg/snap vgremove -ff $vg diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh index d2e302259..98ab7eb61 100644 --- a/test/shell/lvcreate-thin.sh +++ b/test/shell/lvcreate-thin.sh @@ -138,7 +138,7 @@ check vg_field $vg lv_count 0 lvcreate -L10M -V10M -T $vg/pool --name lv1 mkfs.ext4 $DM_DEV_DIR/$vg/lv1 lvcreate -K -s $vg/lv1 --name snap_lv1 -fsck -p $DM_DEV_DIR/$vg/snap_lv1 +fsck -n $DM_DEV_DIR/$vg/snap_lv1 lvcreate -s $vg/lv1 --name lv2 lvcreate -s $vg/lv1 --name $vg/lv3 lvcreate --type snapshot $vg/lv1 --name lv6