summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-06 08:55:56 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-05-06 08:55:56 +0800
commit2b4cd9a9e8474b6c0d1e74cf3931082179889edf (patch)
tree1935152ca5bd711564d96324bb37049669677418
parent73d4e2abf6756a9fc8b1a7a41b0dda19226f378d (diff)
downloadpetitboot-2b4cd9a9e8474b6c0d1e74cf3931082179889edf.zip
petitboot-2b4cd9a9e8474b6c0d1e74cf3931082179889edf.tar.gz
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 <jk@ozlabs.org>
-rw-r--r--test/urls/data/join-absolute.test7
-rw-r--r--test/urls/data/join-full.test7
-rw-r--r--test/urls/data/join-relative.test7
3 files changed, 21 insertions, 0 deletions
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
OpenPOWER on IntegriCloud