From 2b4cd9a9e8474b6c0d1e74cf3931082179889edf Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 6 May 2013 08:55:56 +0800 Subject: test/url: Add uncommitted data files Add a couple of data files for test that'd I'd ommitted from an earlier commit. Signed-off-by: Jeremy Kerr --- test/urls/data/join-absolute.test | 7 +++++++ test/urls/data/join-full.test | 7 +++++++ test/urls/data/join-relative.test | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 test/urls/data/join-absolute.test create mode 100644 test/urls/data/join-full.test create mode 100644 test/urls/data/join-relative.test diff --git a/test/urls/data/join-absolute.test b/test/urls/data/join-absolute.test new file mode 100644 index 0000000..a4279bf --- /dev/null +++ b/test/urls/data/join-absolute.test @@ -0,0 +1,7 @@ +http://hostname.tld:80/path1/file1 /path2/file2 +scheme http +host hostname.tld +port 80 +path /path2/file2 +dir /path2/ +file file2 diff --git a/test/urls/data/join-full.test b/test/urls/data/join-full.test new file mode 100644 index 0000000..4049f59 --- /dev/null +++ b/test/urls/data/join-full.test @@ -0,0 +1,7 @@ +http://hostname.tld:80/path1/file1 https://otherhost.tld:81/path2/file2 +scheme https +host otherhost.tld +port 81 +path /path2/file2 +dir /path2/ +file file2 diff --git a/test/urls/data/join-relative.test b/test/urls/data/join-relative.test new file mode 100644 index 0000000..7be9f7d --- /dev/null +++ b/test/urls/data/join-relative.test @@ -0,0 +1,7 @@ +http://hostname.tld:80/path1/file1 file2 +scheme http +host hostname.tld +port 80 +path /path1/file2 +dir /path1/ +file file2 -- cgit v1.1