summaryrefslogtreecommitdiffstats
path: root/tests/10ddf-fail-stop-readd
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-07-22 01:58:41 +0200
committerNeilBrown <neilb@suse.de>2015-07-22 01:58:41 +0200
commitd51e39c0a42c799088b39d16ede01f95345d7675 (patch)
tree386f2c16a406c3fd6bc013025f36625924c86249 /tests/10ddf-fail-stop-readd
parentmdadm: document --homehost=any functionality. (diff)
downloadmdadm-d51e39c0a42c799088b39d16ede01f95345d7675.tar.xz
mdadm-d51e39c0a42c799088b39d16ede01f95345d7675.zip
test: add -F flag to mkfs
newer versions of mkfs.extX ask before creating a filesystem on a device which appears to already have a filesystem. We don't want that, so add the -F flag. Also be explicit about fs type as one shouldn't depend on defaults. Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'tests/10ddf-fail-stop-readd')
-rw-r--r--tests/10ddf-fail-stop-readd4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/10ddf-fail-stop-readd b/tests/10ddf-fail-stop-readd
index 34aeaf50..f8ebe176 100644
--- a/tests/10ddf-fail-stop-readd
+++ b/tests/10ddf-fail-stop-readd
@@ -11,7 +11,7 @@ mdadm -CR $member0 -l raid1 -n 2 $container
#$dir/mdadm -CR $member0 -l raid1 -n 2 $container >/tmp/mdmon.txt 2>&1
# Write to the array
-mke2fs $member0
+mke2fs -F $member0
check wait
set -- $(get_raiddisks $member0)
@@ -33,7 +33,7 @@ mdadm -I $good0
mdadm -IRs || true
# Write to the array
-mke2fs $member0
+mke2fs -F $member0
# We re-add the disk now
mdadm $container --add $fail0