tests/qtest: prom-env-test: Use double quotes to pass the prom-env option
commit94add6ee24d55be96dd029fc506ea9a2df38f8e8
authorBin Meng <bin.meng@windriver.com>
Wed, 24 Aug 2022 09:40:23 +0000 (24 17:40 +0800)
committerThomas Huth <thuth@redhat.com>
Mon, 29 Aug 2022 13:28:51 +0000 (29 15:28 +0200)
tree89acbcd86e0a591e1ef7d3d0375e6407ddf2ca70
parentbf3267e790f2877e99a6aa3c24ce6e4e9f65220d
tests/qtest: prom-env-test: Use double quotes to pass the prom-env option

Single quotes like -prom-env 'nvramrc=cafec0de 4000 l!' in the arguments
are not removed in the Windows environment before it is passed to the
QEMU executable. Such argument causes a failure in the QEMU prom-env
option parser codes.

Change to use double quotes which works fine on all platforms.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220824094029.1634519-46-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/prom-env-test.c