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/Makefile.inc | 3 +-- tests/data/test1558 | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 tests/data/test1558 (limited to 'tests/data') diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 85cf2755c..3d13e3a27 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -176,8 +176,7 @@ test1525 test1526 test1527 test1528 test1529 test1530 test1531 test1532 \ test1533 test1534 test1535 test1536 test1537 test1538 \ test1540 \ test1550 test1551 test1552 test1553 test1554 test1555 test1556 test1557 \ -\ -test1560 test1561 test1562 \ +test1558 test1560 test1561 test1562 \ \ test1590 test1591 test1592 \ \ 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