]> sourceware.org Git - lvm2.git/commitdiff
Fix a typo in the new relaxed mirror check (test/lib/check.sh).
authorPetr Rockai <prockai@redhat.com>
Fri, 7 Jan 2011 14:42:35 +0000 (14:42 +0000)
committerPetr Rockai <prockai@redhat.com>
Fri, 7 Jan 2011 14:42:35 +0000 (14:42 +0000)
test/lib/check.sh

index eecede5181ddb0a8718a3bf1143e5404dc7d9d7f..23b6970f0c8527a00d7a5b14fc084aff02a6fb85 100644 (file)
@@ -141,7 +141,7 @@ mirror_nonredundant() {
        lv="$1/$2"
        lvs -oattr "$lv" | grep -q "^ *m.....$" || {
                if lvs -oattr "$lv" | grep -q "^ *o.....$" &&
-                  lvs -a | fgrep -q "[${lv}_mimage"; then
+                  lvs -a | fgrep -q "[${2}_mimage"; then
                        echo "TEST WARNING: $lv is a snapshot origin and looks like a mirror,"
                        echo "assuming it is actually a mirror"
                else
This page took 0.041054 seconds and 5 git commands to generate.