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/00readonly | |
parent | Adding upstream version 4.2+20231121. (diff) | |
download | mdadm-75d1a07af8d7e94f10ba86ea9e1a88c3ec9dfd2e.tar.xz mdadm-75d1a07af8d7e94f10ba86ea9e1a88c3ec9dfd2e.zip |
Adding upstream version 4.2+20240118.upstream/4.2+20240118
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/00readonly')
-rw-r--r-- | tests/00readonly | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/00readonly b/tests/00readonly index afe243b..80b6362 100644 --- a/tests/00readonly +++ b/tests/00readonly @@ -1,8 +1,14 @@ #!/bin/bash +levels=(raid0 raid1 raid4 raid5 raid6 raid10) + +if [ "$LINEAR" == "yes" ]; then + levels+=( linear ) +fi + for metadata in 0.9 1.0 1.1 1.2 do - for level in linear raid0 raid1 raid4 raid5 raid6 raid10 + for level in ${levels[@]} do if [[ $metadata == "0.9" && $level == "raid0" ]]; then |