[vlc-commits] url: test previous change

Rémi Denis-Courmont git at videolan.org
Sun Mar 20 19:54:04 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 20 20:38:45 2016 +0200| [169627102fc48d37e9ac5b7ed2f457374dabc1a2] | committer: Rémi Denis-Courmont

url: test previous change

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=169627102fc48d37e9ac5b7ed2f457374dabc1a2
---

 src/test/url.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/test/url.c b/src/test/url.c
index ab80186..0f40c34 100644
--- a/src/test/url.c
+++ b/src/test/url.c
@@ -186,8 +186,12 @@ int main (void)
     test ("fd://12345", "/dev/fd/12345");
 #undef test
 
-    test_url_parse("http://test.com", "http", NULL, NULL, "test.com", 0, NULL, NULL);
-    test_url_parse("http://test.com/", "http", NULL, NULL, "test.com", 0, "/", NULL);
+    test_url_parse("http://example.com", "http", NULL, NULL, "example.com", 0,
+                   NULL, NULL);
+    test_url_parse("http://example.com/", "http", NULL, NULL, "example.com", 0,
+                   "/", NULL);
+    test_url_parse("http://[2001:db8::1]", "http", NULL, NULL, "2001:db8::1",
+                   0, NULL, NULL);
     test_url_parse("protocol://john:doe@1.2.3.4:567", "protocol", "john", "doe", "1.2.3.4", 567, NULL, NULL);
     test_url_parse("http://a.b/?opt=val", "http", NULL, NULL, "a.b", 0, "/", "opt=val");
     test_url_parse("p://u:p@host:123/a/b/c?o=v", "p", "u", "p", "host", 123, "/a/b/c", "o=v");



More information about the vlc-commits mailing list