From: Jeremy Kerr Date: Mon, 6 May 2013 00:55:56 +0000 (+0800) Subject: test/url: Add uncommitted data files X-Git-Tag: v1.0.0~676 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=2b4cd9a9e8474b6c0d1e74cf3931082179889edf;hp=73d4e2abf6756a9fc8b1a7a41b0dda19226f378d 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 --- 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