]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest: virtio_blk_fuzz: Avoid using hardcoded /tmp
authorBin Meng <bin.meng@windriver.com>
Sun, 25 Sep 2022 11:29:49 +0000 (19:29 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 27 Sep 2022 18:51:20 +0000 (20:51 +0200)
commit3ff220a0acc1d46d528600af937badf246cb05f3
tree8181846d78c0a829f31a082356da82c3ae49fedc
parent9e5d84037fcff3c5936b1e7776cc2363920ad1f1
tests/qtest: virtio_blk_fuzz: Avoid using hardcoded /tmp

This case was written to use hardcoded /tmp directory for temporary
files. Update to use g_file_open_tmp() for a portable implementation.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220925113032.1949844-12-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/virtio_blk_fuzz.c