From: Daniel Stenberg Date: Sun, 13 Sep 2020 21:24:13 +0000 (+0200) Subject: test434: test -K use in a single line without newline X-Git-Tag: curl-7_73_0~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c2d2d2ace296798a464f780c92cf30790defcca;p=thirdparty%2Fcurl.git test434: test -K use in a single line without newline Closes #5946 --- diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 435964e4e1..3832e26b4d 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 0000000000..2ab0fc1afd --- /dev/null +++ b/tests/data/test434 @@ -0,0 +1,48 @@ + + + + +--config + + + +# + + +HTTP/1.1 200 OK +Content-Length: 6 +Content-Type: text/1 + +-foo- + + + +# + + +url = %HOSTIP:%HTTPPORT/434 + + +http + + +-K with a single line without newline + + +-K log/config434 + + + +# + + +^User-Agent:.* + + +GET /434 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + +