]> sourceware.org Git - lvm2.git/commitdiff
tests: fix error detection in lvconvert-raid-takeover.sh
authorDavid Teigland <teigland@redhat.com>
Thu, 23 May 2019 15:29:52 +0000 (10:29 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 23 May 2019 15:29:52 +0000 (10:29 -0500)
test/shell/lvconvert-raid-takeover.sh

index b57cbe9b0c1a59a7c86cce9d7cdb9419a7be2e3a..6a4d554e8f053e913a64e28a7b99752c6a8368b6 100644 (file)
@@ -26,7 +26,7 @@ aux prepare_vg 8
 # FIXME: lvconvert leaks  'error' devices
 detect_error_leak_()
 {
-       dmsetup table -S "name=~^$vg-" | not grep "error" || \
+       dmsetup table -S "name=~^$vg-" | awk '{print $3}'| not grep error || \
                die "Device(s) with error target should not be here."
 }
 
This page took 0.036065 seconds and 5 git commands to generate.