diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-31 05:50:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-31 05:50:23 +0000 |
commit | ae1d23c826fb3bdc59ba6b0fd64e63b7444f02b6 (patch) | |
tree | f4e9c8932fa94f04eacf2118964bf3a54e5ecfe6 /tests/03assem-incr | |
parent | Releasing debian version 4.2+20231121-1. (diff) | |
download | mdadm-ae1d23c826fb3bdc59ba6b0fd64e63b7444f02b6.tar.xz mdadm-ae1d23c826fb3bdc59ba6b0fd64e63b7444f02b6.zip |
Merging upstream version 4.2+20240118.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/03assem-incr')
-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 |