From: Benjamin Drung Date: Tue, 27 Jan 2026 21:36:19 +0000 (+0100) Subject: test: remove fallback for id-name in qemu_add_drive X-Git-Tag: 110~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b7009e32f52cf3e6423ba8b71c5888554575b3e;p=thirdparty%2Fdracut-ng.git test: remove fallback for id-name in qemu_add_drive The documentation for `qemu_add_drive` says that `id-name` must be specified and all consumers specify a name. So drop the fallback for this parameter. --- diff --git a/test/test-functions b/test/test-functions index bf2ecfa2c..ab457b93a 100644 --- a/test/test-functions +++ b/test/test-functions @@ -222,7 +222,7 @@ inst_init() { qemu_add_drive() { local index=${!1} local file=$3 - local name=${4:-$index} + local name=$4 local size=${5:-0} local bootindex=${6-}