summaryrefslogtreecommitdiffstats
path: root/tests/templates/names_template
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-21 17:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-21 17:13:27 +0000
commit3fed94e17ad66173547be201605c0014556572e3 (patch)
treeb37177c380fa30d0336aad7cac9c72035523206a /tests/templates/names_template
parentAdding upstream version 4.2+20240118. (diff)
downloadmdadm-3fed94e17ad66173547be201605c0014556572e3.tar.xz
mdadm-3fed94e17ad66173547be201605c0014556572e3.zip
Adding upstream version 4.3.upstream/4.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/templates/names_template')
-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
}