diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-31 05:50:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-31 05:50:16 +0000 |
commit | 19c986195eab02a3b1da7b532df623cf46d92418 (patch) | |
tree | 639e479365923111fbeb91a7d24dad570d50d0ff /tests/03assem-incr | |
parent | Adding upstream version 4.2+20231121. (diff) | |
download | mdadm-19c986195eab02a3b1da7b532df623cf46d92418.tar.xz mdadm-19c986195eab02a3b1da7b532df623cf46d92418.zip |
Adding upstream version 4.2+20240118.upstream/4.2+20240118
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/03assem-incr | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/03assem-incr b/tests/03assem-incr index f10a1a4..38880a7 100644 --- a/tests/03assem-incr +++ b/tests/03assem-incr @@ -6,7 +6,13 @@ set -x -e # Here just test that a partly "-I" assembled array can # be completed with "-A" -for l in 0 1 5 linear +levels=(raid0 raid1 raid5) + +if [ "$LINEAR" == "yes" ]; then + levels+=( linear ) +fi + +for l in ${levels[@]} do mdadm -CR $md0 -l $l -n5 $dev0 $dev1 $dev2 $dev3 $dev4 --assume-clean mdadm -S md0 |