tests/qtest: fdc-test: Avoid using hardcoded /tmp
commit394bcc5bc5247697f2091ac4b4686e39bfabba37
authorBin Meng <bin.meng@windriver.com>
Sun, 25 Sep 2022 11:29:47 +0000 (25 19:29 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 27 Sep 2022 18:51:20 +0000 (27 20:51 +0200)
tree97dce71d6200addfed0e14bac6230f4e1bc411df
parent39180d4e944caa0a9818f73acc4fadc2fbd2f422
tests/qtest: fdc-test: 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-10-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fdc-test.c