mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Merge branch 'w32-testsuite-fixes-general' into 'master'
General fixes to W32 test suite Closes #875 See merge request GNOME/glib!665
This commit is contained in:
@@ -8,7 +8,7 @@ test_autoptr (void)
|
||||
g_autofree gchar *path = g_file_get_path (p);
|
||||
g_autofree gchar *istr = g_inet_address_to_string (a);
|
||||
|
||||
g_assert_cmpstr (path, ==, "/blah");
|
||||
g_assert_cmpstr (path, ==, G_DIR_SEPARATOR_S "blah");
|
||||
g_assert_cmpstr (istr, ==, "127.0.0.1");
|
||||
}
|
||||
|
||||
|
@@ -271,6 +271,7 @@ find_ifname_and_index (void)
|
||||
static void
|
||||
test_scope_id (GSocketConnectable *addr)
|
||||
{
|
||||
#ifndef G_OS_WIN32
|
||||
GSocketAddressEnumerator *addr_enum;
|
||||
GSocketAddress *saddr;
|
||||
GInetSocketAddress *isaddr;
|
||||
@@ -300,6 +301,9 @@ test_scope_id (GSocketConnectable *addr)
|
||||
g_assert (saddr == NULL);
|
||||
|
||||
g_object_unref (addr_enum);
|
||||
#else
|
||||
g_test_skip ("winsock2 getaddrinfo() can’t understand scope IDs");
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user