1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00

test434: test -K use in a single line without newline

Closes #5946
This commit is contained in:
Daniel Stenberg 2020-09-13 23:24:13 +02:00
parent b83947c8df
commit 5c2d2d2ace
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 49 additions and 1 deletions

View File

@ -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 \
\

48
tests/data/test434 Normal file
View File

@ -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>