]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test: log qemu calls to ease debugging
authorBenjamin Drung <benjamin.drung@canonical.com>
Wed, 16 Aug 2023 17:21:26 +0000 (19:21 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Tue, 22 Aug 2023 11:50:42 +0000 (07:50 -0400)
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
test/run-qemu

index e97e30aeb30f9a258e2490a874759ca9fcc5ac9b..1522293442fec5848c9ed29d025d1902f0047c00 100755 (executable)
@@ -46,4 +46,5 @@ if [[ $* == *-initrd* ]]; then
     ARGS+=(-kernel "$VMLINUZ")
 fi
 
+echo "${0##*/}: $BIN ${ARGS[*]@Q} ${*@Q}"
 exec "$BIN" "${ARGS[@]}" "$@"