summaryrefslogtreecommitdiffstats
path: root/tests/templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-21 17:13:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-21 17:13:47 +0000
commit84c33dd6d41c5b45288ca4059b781fe6fbd5bbad (patch)
treee6cedad652076622be8aade2f08416975c7d84a4 /tests/templates
parentReleasing debian version 4.2+20240118-1. (diff)
downloadmdadm-84c33dd6d41c5b45288ca4059b781fe6fbd5bbad.tar.xz
mdadm-84c33dd6d41c5b45288ca4059b781fe6fbd5bbad.zip
Merging upstream version 4.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/templates/names_template7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/templates/names_template b/tests/templates/names_template
index 6181bfa..1b6cd14 100644
--- a/tests/templates/names_template
+++ b/tests/templates/names_template
@@ -63,8 +63,7 @@ function names_verify() {
names_make_conf() {
local UUID="$1"
local WANTED_DEVNAME="$2"
- local WANTED_NAME="$3"
- local CONF="$4"
+ local CONF="$3"
local LINE="ARRAY metadata=1.2 UUID=$UUID"
@@ -72,9 +71,5 @@ names_make_conf() {
LINE="$LINE $WANTED_DEVNAME"
fi
- if [[ "$WANTED_NAME" != "empty" ]]; then
- LINE="$LINE name=$WANTED_NAME"
- fi
-
echo $LINE > $CONF
}