From f9d10d83bd43945fe5b9c1b08c40e8e7109a6f83 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 12 Jan 2011 08:40:48 +0000 Subject: [PATCH] Add test for purely numeric subdomains (currently fails) svn path=/trunk/netsurf/; revision=11289 --- test/urldbtest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/urldbtest.c b/test/urldbtest.c index 6fcc58658..4d9737a1b 100644 --- a/test/urldbtest.c +++ b/test/urldbtest.c @@ -176,8 +176,9 @@ int main(void) assert(urldb_add_url("http://www2.2checkout.com/")); assert(urldb_get_url("http://www2.2checkout.com/")); -// assert(urldb_add_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg")); -// assert(urldb_get_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg")); + /* Numeric subdomains */ + assert(urldb_add_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg")); + assert(urldb_get_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg")); /* Valid path */ assert(urldb_set_cookie("name=value;Path=/\r\n", "http://www.google.com/", NULL));