diff options
author | NeilBrown <neilb@suse.de> | 2010-12-01 01:03:28 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-12-01 01:03:28 +0100 |
commit | 4c8214543f5cffefd093722227d2fb1fb81a683e (patch) | |
tree | 1cd69664d002a0afc2d4fe4d6d729084cc14396e /tests/10ddf-create | |
parent | ddf: fail creation of new subarray with same name as old. (diff) | |
download | mdadm-4c8214543f5cffefd093722227d2fb1fb81a683e.tar.xz mdadm-4c8214543f5cffefd093722227d2fb1fb81a683e.zip |
Create: report failure if array cannot be started.
We weren't checking the result of writing 'active' to array_state
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/10ddf-create')
-rw-r--r-- | tests/10ddf-create | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/10ddf-create b/tests/10ddf-create index d8dca58b..25b13529 100644 --- a/tests/10ddf-create +++ b/tests/10ddf-create @@ -7,6 +7,7 @@ # # add some data, tear down the array, reassemble # and make sure it is still there. +set -e mdadm -CR /dev/md/ddf0 -e ddf -n 5 $dev8 $dev9 $dev10 $dev11 $dev12 mdadm -CR r0 -l0 -n5 /dev/md/ddf0 -z 5000 |