From 14908e3a3b9b01613180e8b7ba1354244228797d Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Fri, 7 Jan 2011 14:42:35 +0000 Subject: [PATCH] Fix a typo in the new relaxed mirror check (test/lib/check.sh). --- test/lib/check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/check.sh b/test/lib/check.sh index eecede518..23b6970f0 100644 --- a/test/lib/check.sh +++ b/test/lib/check.sh @@ -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 -- 2.43.5