OSDN Git Service

tests/qtest: Use g_mkdtemp()
authorBin Meng <bin.meng@windriver.com>
Wed, 24 Aug 2022 09:39:40 +0000 (17:39 +0800)
committerThomas Huth <thuth@redhat.com>
Thu, 25 Aug 2022 13:16:13 +0000 (15:16 +0200)
commit3c239aa77ed19521992a0b14594907adc0d79a6c
treee798c032e6bb092cbd61d3e9b810dab725a45b94
parenta47ea61de593a8243a66caba9d436040ecae25d5
tests/qtest: Use g_mkdtemp()

Windows does not provide a mkdtemp() API, but glib does.
Replace mkdtemp() call with the glib version.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220824094029.1634519-3-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/cdrom-test.c
tests/qtest/cxl-test.c
tests/qtest/fuzz/generic_fuzz_configs.h
tests/qtest/ivshmem-test.c
tests/qtest/libqos/virtio-9p.c
tests/qtest/libqtest.c
tests/qtest/migration-test.c
tests/qtest/qmp-test.c
tests/qtest/vhost-user-test.c
tests/unit/test-qga.c