diff options
author | NeilBrown <neilb@suse.de> | 2015-05-07 09:00:57 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-07 09:00:57 +0200 |
commit | 3c899cab4d7ae1ed64689a40ea70153ead2bf4c5 (patch) | |
tree | aaeb7e82ea42555856a89eb883511537f43dcbe3 /tests/10ddf-sudden-degraded | |
parent | Add "Name" defines to some ancillary programs (diff) | |
download | mdadm-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-degraded | 2 |
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 |