diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-21 17:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-21 17:13:27 +0000 |
commit | 3fed94e17ad66173547be201605c0014556572e3 (patch) | |
tree | b37177c380fa30d0336aad7cac9c72035523206a /tests/templates | |
parent | Adding upstream version 4.2+20240118. (diff) | |
download | mdadm-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')
-rw-r--r-- | tests/templates/names_template | 7 |
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 } |