aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/test1530
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test1530')
-rw-r--r--tests/data/test153030
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/test1530 b/tests/data/test1530
new file mode 100644
index 00000000..8372d29e
--- /dev/null
+++ b/tests/data/test1530
@@ -0,0 +1,30 @@
+<testcase>
+<info>
+<keywords>
+CURLOPT_OPENSOCKETFUNCTION
+</keywords>
+</info>
+
+<client>
+<server>
+none
+</server>
+<features>
+http
+</features>
+<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>