summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/05r1-internalbitmap-v1a3
-rw-r--r--tests/05r1-internalbitmap-v1b1
-rw-r--r--tests/05r1-internalbitmap-v1c1
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/05r1-internalbitmap-v1a b/tests/05r1-internalbitmap-v1a
index 3ad7243..326fe72 100644
--- a/tests/05r1-internalbitmap-v1a
+++ b/tests/05r1-internalbitmap-v1a
@@ -2,7 +2,7 @@
#
# create a raid1 with an internal bitmap
#
-strace $dir/mdadm --create --run $md0 --metadata=1.0 --level=1 -n2 --delay=1 --bitmap internal $dev1 $dev2
+mdadm --create --run $md0 --metadata=1.0 --level=1 -n2 --delay=1 --bitmap internal $dev1 $dev2
check wait
check bitmap
testdev $md0 1 $mdsize1 1
@@ -30,6 +30,7 @@ fi
mdadm -S $md0
+mdadm --zero-superblock $dev1
mdadm --assemble -R $md0 $dev2
mdadm $md0 --add $dev1
check recovery
diff --git a/tests/05r1-internalbitmap-v1b b/tests/05r1-internalbitmap-v1b
index daa781c..509fb28 100644
--- a/tests/05r1-internalbitmap-v1b
+++ b/tests/05r1-internalbitmap-v1b
@@ -31,6 +31,7 @@ fi
mdadm -S $md0
+mdadm --zero-superblock $dev1
mdadm --assemble -R $md0 $dev2
mdadm $md0 --add $dev1
check recovery
diff --git a/tests/05r1-internalbitmap-v1c b/tests/05r1-internalbitmap-v1c
index 392758d..5fea930 100644
--- a/tests/05r1-internalbitmap-v1c
+++ b/tests/05r1-internalbitmap-v1c
@@ -30,6 +30,7 @@ fi
mdadm -S $md0
+mdadm --zero-superblock $dev1
mdadm --assemble -R $md0 $dev2
mdadm $md0 --add $dev1
check recovery