From 7b8133e0b2cf43ef8221ce14eb140bda7490ab15 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 5 Jun 2014 23:06:45 +0200 Subject: [PATCH] tests: fix test compare Comparing 64T can't use -eq --- test/shell/lvconvert-thin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell/lvconvert-thin.sh b/test/shell/lvconvert-thin.sh index a7bbe9f2d..2ce43b8aa 100644 --- a/test/shell/lvconvert-thin.sh +++ b/test/shell/lvconvert-thin.sh @@ -97,7 +97,7 @@ grep "WARNING: Maximum size" err lvremove -f $vg -if test "$TSIZE" -eq 64T; then +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 |& tee err