gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 129/411: test434: test -K use in a single line without newline


From: gnunet
Subject: [gnurl] 129/411: test434: test -K use in a single line without newline
Date: Wed, 13 Jan 2021 01:19:04 +0100

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

nikita pushed a commit to branch master
in repository gnurl.

commit 5c2d2d2ace296798a464f780c92cf30790defcca
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Sun Sep 13 23:24:13 2020 +0200

    test434: test -K use in a single line without newline
    
    Closes #5946
---
 tests/data/Makefile.inc |  2 +-
 tests/data/test434      | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 435964e4e..3832e26b4 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -66,7 +66,7 @@ test393 test394 test395 test396 test397 \
 test400 test401 test402 test403 test404 test405 test406 test407 test408 \
 test409 \
 \
-test430 test431 test432 test433 \
+test430 test431 test432 test433 test434 \
 \
 test490 test491 test492 \
 \
diff --git a/tests/data/test434 b/tests/data/test434
new file mode 100644
index 000000000..2ab0fc1af
--- /dev/null
+++ b/tests/data/test434
@@ -0,0 +1,48 @@
+<testcase>
+
+<info>
+<keywords>
+--config
+</keywords>
+</info>
+
+#
+<reply>
+<data>
+HTTP/1.1 200 OK
+Content-Length: 6
+Content-Type: text/1
+
+-foo-
+</data>
+</reply>
+
+#
+<client>
+<file name="log/config434" nonewline="yes">
+url = %HOSTIP:%HTTPPORT/434
+</file>
+<server>
+http
+</server>
+<name>
+-K with a single line without newline
+</name>
+<command>
+-K log/config434
+</command>
+</client>
+
+#
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /434 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+</protocol>
+</verify>
+</testcase>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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