Package: debci-worker
Version: 3.7
Severity: normal

3.7 added this nice feature where arguments can be passed to backends. However,
the --qemu-options parameter of the QEMU backend cannot be used with the
current implementation because its argument usually contains spaces, and these
get misinterpreted during expansion of "$@".

For example, given the following setting,

    debci_autopkgtest_args_qemu"--ram-size 32768 --cpus 4 --qemu-options='--cpu 
host'"

running a test will tmpfail with

    autopkgtest-virt-qemu: error: unrecognized arguments: host'

because |--qemu-options='--cpu| and |host'| get interpreted as two words,
rather than one.


A POSIXly solution doesn't immediately jump to my mind, but I'd thought I'd
report it for now, just to track the issue.

I don't think the other backends are affected, they don't have similar
parameters.

Best,
Christian

Reply via email to