tests/qtest: migration-test: Avoid using hardcoded /tmp
commite5553c1b8d28fde6b69dc9e6ac148515d361a86c
authorBin Meng <bin.meng@windriver.com>
Thu, 6 Oct 2022 15:19:13 +0000 (6 23:19 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 12 Oct 2022 06:43:40 +0000 (12 08:43 +0200)
tree155a4e6c44e2109cdb30450a844ee48350e2bd19
parentf57559891d9527627747d36cbdc7def0e278c5ff
tests/qtest: migration-test: 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: <20221006151927.2079583-5-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-test.c