summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-04-18 13:39:03 -0500
committerDavid Teigland <teigland@redhat.com>2016-04-18 16:56:06 -0500
commitfbbb713690b3ab167bea38bb47b0fab55caf7be1 (patch)
tree10a31631484650ead9e2ba568c105d3fc59a0fd9
parent8e7bd55a293b16e4a947a3020a99fd51d7def939 (diff)
downloadlvm2-fbbb713690b3ab167bea38bb47b0fab55caf7be1.tar.gz
test: lvmetad-no-cluster
Update warning message check
-rw-r--r--test/shell/lvmetad-no-cluster.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/shell/lvmetad-no-cluster.sh b/test/shell/lvmetad-no-cluster.sh
index 7ac448f17..d894114d6 100644
--- a/test/shell/lvmetad-no-cluster.sh
+++ b/test/shell/lvmetad-no-cluster.sh
@@ -17,8 +17,7 @@ SKIP_WITH_LVMPOLLD=1
aux prepare_vg 2
aux prepare_lvmetad
-vgs -vv 2> errs
-cat errs
-grep 'use_lvmetad' errs
+vgs 2>&1 | tee out
+grep "WARNING: Not using lvmetad because locking_type is 3" out
vgremove -ff $vg