Skip to contentSkip to conversation

dev-prajnoha-report-select - tests: fix test compare

PATCH Peter Rajnoha 1 participant 1 message Jun 6, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7b8133e0b2cf43ef8221ce14eb140bda7490ab15
Commit:        7b8133e0b2cf43ef8221ce14eb140bda7490ab15
Parent:        eb7ca96b5901d3bf70f0ba193bee55fc616b1805
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 5 23:06:45 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
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(-)
test/shell/lvconvert-thin.sh +1 -1
index a7bbe9f..2ce43b8 100644
@@ -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