summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/urls/Makefile.am3
-rw-r--r--test/urls/data/localpath.test7
2 files changed, 9 insertions, 1 deletions
diff --git a/test/urls/Makefile.am b/test/urls/Makefile.am
index 2163018..da6fcbf 100644
--- a/test/urls/Makefile.am
+++ b/test/urls/Makefile.am
@@ -33,7 +33,8 @@ TESTS = data/double-slash.test \
data/http-simple.test \
data/join-full.test \
data/join-absolute.test \
- data/join-relative.test
+ data/join-relative.test \
+ data/localpath.test
TEST_EXTENSIONS = .test
TEST_LOG_COMPILER = $(builddir)/run-url-test
diff --git a/test/urls/data/localpath.test b/test/urls/data/localpath.test
new file mode 100644
index 0000000..ffced1a
--- /dev/null
+++ b/test/urls/data/localpath.test
@@ -0,0 +1,7 @@
+/test/path/to/local/file
+scheme file
+host (null)
+port (null)
+path /test/path/to/local/file
+dir /test/path/to/local/
+file file
OpenPOWER on IntegriCloud