From: Petr Rockai Date: Wed, 21 Jul 2010 14:12:47 +0000 (+0000) Subject: Don't fail t-pvcreate-operation-md if mdadm is broken. X-Git-Tag: v2_02_91~1665 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=65d20c2f32b929d3abaae3b0c627f7b71142ddd2;p=lvm2.git Don't fail t-pvcreate-operation-md if mdadm is broken. --- diff --git a/test/t-pvcreate-operation-md.sh b/test/t-pvcreate-operation-md.sh index bd73007ac..c6c02c6c9 100644 --- a/test/t-pvcreate-operation-md.sh +++ b/test/t-pvcreate-operation-md.sh @@ -35,7 +35,7 @@ cleanup_md() { # sleeps offer hack to defeat: 'md: md127 still in use' # see: https://bugzilla.redhat.com/show_bug.cgi?id=509908#c25 sleep 2 - mdadm --stop $mddev + mdadm --stop $mddev || true if [ -b "$mddev" ]; then # mdadm doesn't always cleanup the device node sleep 2