From f6bb05ccbd51c819c56e0ab17b8497c4e26ad24e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 8 Jan 2019 09:58:50 +0100 Subject: test1558: verify CURLINFO_PROTOCOL on file:// transfer Attempt to reproduce issue #3444. Closes #3447 --- tests/data/test1558 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/data/test1558 (limited to 'tests/data/test1558') 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 @@ + + + +curl_easy_getinfo +CURLINFO_PROTOCOL + + + + + + + + +none + + +file + + +lib1558 + + + +CURLINFO_PROTOCOL for file:// transfer + + +# force MSYS2 to not convert the file: URL +MSYS2_ARG_CONV_EXCL=file: + + +file:%FILE_PWD/log/data1558 + + +hello + + + +# +# Verify that the test runs to completion without crashing + + +0 + + +hello +Protocol: 400 + + + + -- cgit v1.2.3