mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-30 07:52:17 +01:00
committed by
Emmanuel Fleury
parent
96c25ceba6
commit
3636bb5fe1
@@ -866,6 +866,7 @@ test_set_contents (void)
|
||||
fd = g_file_open_tmp (NULL, &name, &error);
|
||||
g_assert_no_error (error);
|
||||
write (fd, "a", 1);
|
||||
g_assert_cmpint (g_fsync (fd), ==, 0);
|
||||
close (fd);
|
||||
|
||||
ret = g_file_get_contents (name, &buf, &len, &error);
|
||||
|
||||
Reference in New Issue
Block a user