summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-04-22 16:11:01 -0500
committerDavid Teigland <teigland@redhat.com>2016-05-04 14:02:59 -0500
commit8dd432ca02800e03e8eb259c8815564b15a029f0 (patch)
treef97306d96f27c2e8e3771bdcef3f9ceeb89036ab
parent2da8c008abdb0a4b716949e0e602c3212c2bcf7e (diff)
downloadlvm2-8dd432ca02800e03e8eb259c8815564b15a029f0.tar.gz
test: lvmetad-ambiguous
update for duplicate changes
-rw-r--r--test/shell/lvmetad-ambiguous.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/shell/lvmetad-ambiguous.sh b/test/shell/lvmetad-ambiguous.sh
index ffcbdd302..52f2928d6 100644
--- a/test/shell/lvmetad-ambiguous.sh
+++ b/test/shell/lvmetad-ambiguous.sh
@@ -26,11 +26,11 @@ dmsetup create -u TEST-${PREFIX}pv1 ${PREFIX}pv1 ${PREFIX}pv1.table
aux finish_udev_transaction
# re-scan them
-pvscan --cache "$dev1"
-pvscan --cache "$dev2"
+pvscan --cache "$dev1" || true
+pvscan --cache "$dev2" || true
# expect both to be there
-pvs | tee pvs.txt
-grep "$dev1" pvs.txt
-grep "$dev2" pvs.txt
+pvs -a -o name | tee out
+grep "$dev1" out
+grep "$dev2" out