[lvm-devel] dev-prajnoha-report-select - tests: fix test compare
Peter Rajnoha
prajnoha at fedoraproject.org
Fri Jun 6 12:03:18 UTC 2014
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7b8133e0b2cf43ef8221ce14eb140bda7490ab15
Commit: 7b8133e0b2cf43ef8221ce14eb140bda7490ab15
Parent: eb7ca96b5901d3bf70f0ba193bee55fc616b1805
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Thu Jun 5 23:06:45 2014 +0200
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Thu Jun 5 23:06:45 2014 +0200
tests: fix test compare
Comparing 64T can't use -eq
---
test/shell/lvconvert-thin.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/shell/lvconvert-thin.sh b/test/shell/lvconvert-thin.sh
index a7bbe9f..2ce43b8 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
More information about the lvm-devel
mailing list