Merge branch 'fixes_in_tests' into 'main'

Fixes in tests

See merge request GNOME/glib!2608
This commit is contained in:
Philip Withnall 2022-04-25 17:30:54 +00:00
commit 862e250eaa
3 changed files with 3 additions and 1 deletions

View File

@ -1447,6 +1447,7 @@ test_get_contents (void)
g_assert_no_error (error);
g_free (contents);
g_remove (filename);
}
static void

View File

@ -59,6 +59,7 @@ test_small_writes (void)
g_assert_cmpint (status, ==, G_IO_STATUS_NORMAL);
g_io_channel_unref (io);
g_remove ("iochannel-test-outfile");
}
static void

View File

@ -112,7 +112,7 @@ test_spawn_basics (void)
g_free (erroutput);
erroutput = NULL;
g_unlink ("spawn-test-create-file.txt");
g_unlink ("spawn-test-created-file.txt");
#ifdef G_OS_WIN32
g_test_message ("Running spawn-test-win32-gui in various ways.");