From d7c103746cb3d446a879123e48f18e4bd8ceb314 Mon Sep 17 00:00:00 2001 From: Matthew Kerwin Date: Fri, 24 Nov 2017 22:08:05 +1000 Subject: [PATCH] test: add tests to ensure basic file: URLs --- tests/data/Makefile.inc | 4 +++- tests/data/test2070 | 41 +++++++++++++++++++++++++++++++++++++++++ tests/data/test2071 | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 tests/data/test2070 create mode 100644 tests/data/test2071 diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index dc1cc03bc..199ffe248 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -187,4 +187,6 @@ test2032 test2033 test2034 test2035 test2036 test2037 test2038 test2039 \ test2040 test2041 test2042 test2043 test2044 test2045 test2046 test2047 \ test2048 test2049 test2050 test2051 test2052 test2053 test2054 test2055 \ test2056 test2057 test2058 test2059 test2060 test2061 test2062 test2063 \ -test2064 test2065 test2066 test2067 test2068 test2069 +test2064 test2065 test2066 test2067 test2068 test2069 \ +\ +test2070 test2071 diff --git a/tests/data/test2070 b/tests/data/test2070 new file mode 100644 index 000000000..bc3898ab3 --- /dev/null +++ b/tests/data/test2070 @@ -0,0 +1,41 @@ + + + +FILE + + + + + +foo + bar +bar + foo +moo + + + +# Client-side + + +file + + +basic file:// file with no authority + + +file:%PWD/log/test2070.txt + + +foo + bar +bar + foo +moo + + + +# Verify data after the test has been "shot" + + + diff --git a/tests/data/test2071 b/tests/data/test2071 new file mode 100644 index 000000000..997dfffeb --- /dev/null +++ b/tests/data/test2071 @@ -0,0 +1,41 @@ + + + +FILE + + + + + +foo + bar +bar + foo +moo + + + +# Client-side + + +file + + +basic file:// file with "127.0.0.1" hostname + + +file://127.0.0.1/%PWD/log/test2070.txt + + +foo + bar +bar + foo +moo + + + +# Verify data after the test has been "shot" + + +