diff --git a/test/shell/lvconvert-thin.sh b/test/shell/lvconvert-thin.sh index c08b95a0d..992a1f261 100644 --- a/test/shell/lvconvert-thin.sh +++ b/test/shell/lvconvert-thin.sh @@ -135,7 +135,7 @@ lvremove -f $vg if test "$TSIZE" = 64T; then lvcreate -L24T -n $lv1 $vg # Warning about bigger then needed (24T data and 16G -> 128K chunk) -lvconvert --yes -c 64 --thinpool $vg/$lv1 2>&1 | tee err +fail lvconvert --yes -c 64 --thinpool $vg/$lv1 2>&1 | tee err grep "WARNING: Chunk size is too small" err lvremove -f $vg fi diff --git a/test/shell/lvcreate-thin-big.sh b/test/shell/lvcreate-thin-big.sh index da7812f4a..9c84288c2 100644 --- a/test/shell/lvcreate-thin-big.sh +++ b/test/shell/lvcreate-thin-big.sh @@ -36,7 +36,7 @@ grep "WARNING: Minimum" out lvcreate -L4M --chunksize 64k --poolmetadatasize 17G -T $vg/pool2 2>out grep "WARNING: Maximum" out check lv_field $vg/pool1_tmeta size "2.00m" -check lv_field $vg/pool2_tmeta size "16.00g" +check lv_field $vg/pool2_tmeta size "15.81g" # Check can start and see thinpool with metadata size above kernel limit lvcreate -L4M --poolmetadatasize 16G -T $vg/poolM