mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-29 23:42:17 +01:00
Merge branch 'nirbheek/gmodule-suffix-deprecation' into 'main'
Improve g_module_open(), deprecate G_MODULE_SUFFIX Closes #520 e #1413 See merge request GNOME/glib!2950
This commit is contained in:
@@ -751,8 +751,8 @@ test_mkdir_with_parents (void)
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
g_assert_cmpint (g_mkdir_with_parents ("/usr/b/c", 0), ==, -1);
|
||||
/* EPERM may be returned if the filesystem as a whole is read-only */
|
||||
if (errno != EPERM)
|
||||
/* EPERM or EROFS may be returned if the filesystem as a whole is read-only */
|
||||
if (errno != EPERM && errno != EROFS)
|
||||
g_assert_cmpint (errno, ==, EACCES);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user