From f5512315d28a134c45fc126bc4385214bb76a2ea Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 5 Oct 2023 22:59:00 +0200 Subject: [PATCH] tests: ignore failure from stop --- test/shell/pvcreate-md-fake-hdr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell/pvcreate-md-fake-hdr.sh b/test/shell/pvcreate-md-fake-hdr.sh index 856b26c24..cc05cbda0 100644 --- a/test/shell/pvcreate-md-fake-hdr.sh +++ b/test/shell/pvcreate-md-fake-hdr.sh @@ -82,7 +82,7 @@ dmsetup info -c # if for any reason array went up - stop it again if mdadm --detail "$mddev" ; then - mdadm --stop "$mddev" + mdadm --stop "$mddev" || true aux udev_wait should not mdadm --detail "$mddev" fi