summaryrefslogtreecommitdiffstats
path: root/tests/10ddf-sudden-degraded
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-05-07 09:00:57 +0200
committerNeilBrown <neilb@suse.de>2015-05-07 09:00:57 +0200
commit3c899cab4d7ae1ed64689a40ea70153ead2bf4c5 (patch)
treeaaeb7e82ea42555856a89eb883511537f43dcbe3 /tests/10ddf-sudden-degraded
parentAdd "Name" defines to some ancillary programs (diff)
downloadmdadm-3c899cab4d7ae1ed64689a40ea70153ead2bf4c5.tar.xz
mdadm-3c899cab4d7ae1ed64689a40ea70153ead2bf4c5.zip
tests: never fail if --wait fails.
"--wait" will return non-zero status if it didn't need to wait. This is no a reason to fail a test. So ignore the return status from those commands. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/10ddf-sudden-degraded')
-rw-r--r--tests/10ddf-sudden-degraded2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/10ddf-sudden-degraded b/tests/10ddf-sudden-degraded
index 1eab361a..dc692aea 100644
--- a/tests/10ddf-sudden-degraded
+++ b/tests/10ddf-sudden-degraded
@@ -8,7 +8,7 @@ mdadm -CR $container -e ddf -n 2 $dev8 $dev9
ddf_check container 2
mdadm -CR $member1 -n 2 -l1 $dev8 $dev9
-mdadm --wait $member1
+mdadm --wait $member1 || true
mdadm -Ss
mdadm -I $dev8