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 | |
parent | f5fb0c52174b7160355a199e16a454bb0acfcdd8 (diff) |
test1558: verify CURLINFO_PROTOCOL on file:// transfer
Attempt to reproduce issue #3444.
Closes #3447
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.inc | 3 | ||||
-rw-r--r-- | tests/data/test1558 | 50 |
2 files changed, 51 insertions, 2 deletions
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 @@ +<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> |