diff options
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> |