X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Funit%2Ftest_uri.c;h=cd95753960006eb301ce440c88a0a042d557d607;hb=61a046d9171d0c59a27588191eaa807c32737b5d;hp=432e2b3fcea1ed72775d2ae8d986c0eb9527c139;hpb=c7e35b037773dbbfe10178c946ba44feefb226e1;p=lttng-tools.git diff --git a/tests/unit/test_uri.c b/tests/unit/test_uri.c index 432e2b3fc..cd9575396 100644 --- a/tests/unit/test_uri.c +++ b/tests/unit/test_uri.c @@ -108,7 +108,7 @@ void test_uri_parsing(void) uri = NULL; } - s_uri1 = "net6://localhost:8989"; + s_uri1 = "net6://[::1]:8989"; size = uri_parse(s_uri1, &uri); @@ -125,7 +125,7 @@ void test_uri_parsing(void) uri[1].port == 0 && strlen(uri[1].subdir) == 0 && strcmp(uri[0].dst.ipv6, "::1") == 0, - "URI set to net6://localhost:8989"); + "URI set to net6://[::1]:8989"); if (uri) { uri_free(uri);