Re: [PATCH] tests/unit/test-util-sockets: Use g_file_open_tmp() to create temp file

2021-12-25 Thread Philippe Mathieu-Daudé
On 12/25/21 02:23, Richard Henderson wrote: > On 12/24/21 3:45 PM, Philippe Mathieu-Daudé wrote: >> Similarly to commit e63ed64c6d1 ("tests/qtest/virtio-net-failover: >> Use g_file_open_tmp() to create temporary file"), avoid calling >> g_test_rand_int() before g_test_init(): use g_file_open_tmp().

Re: [PATCH] tests/unit/test-util-sockets: Use g_file_open_tmp() to create temp file

2021-12-24 Thread Richard Henderson
On 12/24/21 3:45 PM, Philippe Mathieu-Daudé wrote: Similarly to commit e63ed64c6d1 ("tests/qtest/virtio-net-failover: Use g_file_open_tmp() to create temporary file"), avoid calling g_test_rand_int() before g_test_init(): use g_file_open_tmp(). Signed-off-by: Philippe Mathieu-Daudé --- tests/

[PATCH] tests/unit/test-util-sockets: Use g_file_open_tmp() to create temp file

2021-12-24 Thread Philippe Mathieu-Daudé
Similarly to commit e63ed64c6d1 ("tests/qtest/virtio-net-failover: Use g_file_open_tmp() to create temporary file"), avoid calling g_test_rand_int() before g_test_init(): use g_file_open_tmp(). Signed-off-by: Philippe Mathieu-Daudé --- tests/unit/test-util-sockets.c | 6 -- 1 file changed, 4