From: Petr Rockai Date: Mon, 28 Jun 2010 19:13:33 +0000 (+0000) Subject: Minor shell style cleanup. X-Git-Tag: v2_02_91~1810 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=eddb91d1e7a2ff0a47c6aa0aef911026afc6c253;p=lvm2.git Minor shell style cleanup. --- diff --git a/test/t-lvconvert-mirror-basic.sh b/test/t-lvconvert-mirror-basic.sh index c6e251f04..665f34fdb 100644 --- a/test/t-lvconvert-mirror-basic.sh +++ b/test/t-lvconvert-mirror-basic.sh @@ -2,9 +2,9 @@ log_name_to_count() { - if [ $1 == "mirrored" ]; then + if [ "$1" = "mirrored" ]; then echo 2 - elif [ $1 == "disk" ]; then + elif [ "$1" = "disk" ]; then echo 1 else echo 0 @@ -44,8 +44,8 @@ test_lvconvert() local active=true local i - if [ $start_log_type == "disk" ] && - [ $finish_log_type == "mirrored" ]; then + if [ "$start_log_type" = "disk" ] && + [ "$finish_log_type" = "mirrored" ]; then echo "FIXME: disk -> mirrored log conversion not yet supported by LVM" return 0 fi