[PATCH 5/6] tests: Fix network-address test
- From: Ingo Brückl <ib wupperonline de>
- To: gtk-devel-list gnome org
- Subject: [PATCH 5/6] tests: Fix network-address test
- Date: Mon, 13 Jun 2016 16:40:32 +0200
GResolver considers the scope ID, which results in an invalid
resolution.
Signed-off-by: Ingo Brückl <ib wupperonline de>
---
gio/tests/network-address.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gio/tests/network-address.c b/gio/tests/network-address.c
index 622af17..03bde89 100644
--- a/gio/tests/network-address.c
+++ b/gio/tests/network-address.c
@@ -123,10 +123,8 @@ static ResolveTest address_tests[] = {
{ "192.168.1.2", TRUE, TRUE, TRUE },
{ "fe80::42", TRUE, TRUE, TRUE },
- /* GResolver accepts this by ignoring the scope ID. This was not
- * intentional, but it's best to not "fix" it at this point.
- */
- { "fe80::42%1", TRUE, TRUE, FALSE },
+ /* GResolver observes the scope ID. */
+ { "fe80::42%1", TRUE, FALSE, FALSE },
/* g_network_address_parse() accepts these, but they are not
* (just) IP addresses.
--
2.8.2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]