diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-01-08 09:58:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-10 11:22:48 +0100 |
commit | f6bb05ccbd51c819c56e0ab17b8497c4e26ad24e (patch) | |
tree | b677e04f0668a27582629b17ed684bec50e094c6 /tests/data/test1558 | |
parent | f5fb0c52174b7160355a199e16a454bb0acfcdd8 (diff) | |
download | curl-f6bb05ccbd51c819c56e0ab17b8497c4e26ad24e.tar.gz |
test1558: verify CURLINFO_PROTOCOL on file:// transfer
Attempt to reproduce issue #3444.
Closes #3447
Diffstat (limited to 'tests/data/test1558')
-rw-r--r-- | tests/data/test1558 | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/data/test1558 b/tests/data/test1558 new file mode 100644 index 000000000..8436c0685 --- /dev/null +++ b/tests/data/test1558 @@ -0,0 +1,50 @@ +<testcase> +<info> +<keywords> +curl_easy_getinfo +CURLINFO_PROTOCOL +</keywords> +</info> + +<reply> +</reply> + +<client> +<server> +none +</server> +<features> +file +</features> +<tool> +lib1558 +</tool> + +<name> +CURLINFO_PROTOCOL for file:// transfer +</name> +<setenv> +# force MSYS2 to not convert the file: URL +MSYS2_ARG_CONV_EXCL=file: +</setenv> +<command> +file:%FILE_PWD/log/data1558 +</command> +<file name="log/data1558"> +hello +</file> +</client> + +# +# Verify that the test runs to completion without crashing +<verify> +<errorcode> +0 +</errorcode> +<stdout> +hello +Protocol: 400 +</stdout> +</verify> + +</testcase> |