gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 104/116: test: add tests to ensure basic file: URLs


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 104/116: test: add tests to ensure basic file: URLs
Date: Tue, 05 Dec 2017 14:52:14 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit d7c103746cb3d446a879123e48f18e4bd8ceb314
Author: Matthew Kerwin <address@hidden>
AuthorDate: Fri Nov 24 22:08:05 2017 +1000

    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(-)

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 @@
+<testcase>
+<info>
+<keywords>
+FILE
+</keywords>
+</info>
+
+<reply>
+<data>
+foo
+   bar
+bar
+   foo
+moo
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+file
+</server>
+ <name>
+basic file:// file with no authority
+ </name>
+ <command>
+file:%PWD/log/test2070.txt
+</command>
+<file name="log/test2070.txt">
+foo
+   bar
+bar
+   foo
+moo
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>
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 @@
+<testcase>
+<info>
+<keywords>
+FILE
+</keywords>
+</info>
+
+<reply>
+<data>
+foo
+   bar
+bar
+   foo
+moo
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+file
+</server>
+ <name>
+basic file:// file with "127.0.0.1" hostname
+ </name>
+ <command>
+file://127.0.0.1/%PWD/log/test2070.txt
+</command>
+<file name="log/test2070.txt">
+foo
+   bar
+bar
+   foo
+moo
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]