1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

Fix a typo in the new relaxed mirror check (test/lib/check.sh).

This commit is contained in:
Petr Rockai 2011-01-07 14:42:35 +00:00
parent f11781c50e
commit be294072a1

View 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