]> sourceware.org Git - lvm2.git/commitdiff
Minor shell style cleanup.
authorPetr Rockai <prockai@redhat.com>
Mon, 28 Jun 2010 19:13:33 +0000 (19:13 +0000)
committerPetr Rockai <prockai@redhat.com>
Mon, 28 Jun 2010 19:13:33 +0000 (19:13 +0000)
test/t-lvconvert-mirror-basic.sh

index c6e251f043401955b8045fb43bbdd500c205d627..665f34fdb8f11f525e6bd1f4617e78e62b250ca4 100644 (file)
@@ -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
This page took 0.036494 seconds and 5 git commands to generate.