Re: [PATCH v4 12/54] tests/qtest: hd-geo-test: Avoid using hardcoded /tmp

2022-09-27 Thread Thomas Huth
On 27/09/2022 13.05, Bin Meng wrote: From: Bin Meng 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 --- Changes in v4: - Do not use g_autofree and g_steal_pointer Changes in

[PATCH v4 12/54] tests/qtest: hd-geo-test: Avoid using hardcoded /tmp

2022-09-27 Thread Bin Meng
From: Bin Meng 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 --- Changes in v4: - Do not use g_autofree and g_steal_pointer Changes in v3: - Split to a separate patch - Ensure