]> git.ozlabs.org Git - petitboot/commitdiff
test/url: Add uncommitted data files
authorJeremy Kerr <jk@ozlabs.org>
Mon, 6 May 2013 00:55:56 +0000 (08:55 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 6 May 2013 00:55:56 +0000 (08:55 +0800)
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>
test/urls/data/join-absolute.test [new file with mode: 0644]
test/urls/data/join-full.test [new file with mode: 0644]
test/urls/data/join-relative.test [new file with mode: 0644]

diff --git a/test/urls/data/join-absolute.test b/test/urls/data/join-absolute.test
new file mode 100644 (file)
index 0000000..a4279bf
--- /dev/null
@@ -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 (file)
index 0000000..4049f59
--- /dev/null
@@ -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 (file)
index 0000000..7be9f7d
--- /dev/null
@@ -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