diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/data/test1530 | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index a15ff8afb..3e8ee4d6b 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -153,7 +153,7 @@ test1516 \ \ test1520 \ \ -test1525 test1526 test1527 test1528 test1529 \ +test1525 test1526 test1527 test1528 test1529 test1530 \ \ test1600 test1601 test1602 \ \ diff --git a/tests/data/test1530 b/tests/data/test1530 new file mode 100644 index 000000000..92abc6ce4 --- /dev/null +++ b/tests/data/test1530 @@ -0,0 +1,27 @@ +<testcase> +<info> +<keywords> +CURLOPT_OPENSOCKETFUNCTION +</keywords> +</info> + +<client> +<server> +none +</server> +<tool> +lib1530 +</tool> + <name> +CURLOPT_OPENSOCKETFUNCTION returns bad socket + </name> +</client> + +# it should be detected and an error should be reported +<verify> +# 7 == CURLE_COULDNT_CONNECT +<errorcode> +7 +</errorcode> +</verify> +</testcase> |