From: Benjamin Drung Date: Tue, 13 Jan 2026 18:29:54 +0000 (+0100) Subject: test: drop duplicate check for -daemonize X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ae92c45f6dc6e1a1b39bf614456c1762078fe7;p=thirdparty%2Fdracut-ng.git test: drop duplicate check for -daemonize `run-qemu` checks twice for the `-daemonize` parameter. Fixes: a3f73298f287 ("testsuite: refactor qemu options") --- diff --git a/test/run-qemu b/test/run-qemu index 3058e6f4b..5904bc93f 100755 --- a/test/run-qemu +++ b/test/run-qemu @@ -174,7 +174,7 @@ fi # Provide rng device sourcing the hosts /dev/urandom and other standard parameters ARGS+=(-smp 2 -m "${MEMORY-1024}" -nodefaults -vga none -display none -no-reboot -watchdog-action poweroff -device "${rng_device:-virtio-rng-pci}") -if ! [[ $* == *-daemonize* ]] && ! [[ $* == *-daemonize* ]]; then +if ! [[ $* == *-daemonize* ]]; then ARGS+=(-serial stdio) fi