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