tests/qtest: generic_fuzz: Avoid using hardcoded /tmp
commit9e5d84037fcff3c5936b1e7776cc2363920ad1f1
authorBin Meng <bin.meng@windriver.com>
Sun, 25 Sep 2022 11:29:48 +0000 (25 19:29 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 27 Sep 2022 18:51:20 +0000 (27 20:51 +0200)
tree33fe9f65f3bc308691327f012caa7807529c0626
parent394bcc5bc5247697f2091ac4b4686e39bfabba37
tests/qtest: generic_fuzz: Avoid using hardcoded /tmp

This case was written to use hardcoded /tmp directory for temporary
files. Update to use g_dir_make_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-11-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/generic_fuzz_configs.h