aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1521
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-05 11:57:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-05 14:25:18 +0200
commitcccac4fb2b20d6ed87da7978408c3ecacc464fe4 (patch)
tree94946f082efa056675bec689ab0d43da20752c1a /tests/data/test1521
parentb95a07ea59e3ebab9d643e67084459be13c93a3d (diff)
test1521: test *all* curl_easy_setopt options
mk-lib1521.pl generates a test program (lib1521.c) that calls curl_easy_setopt() for every known option with a few typical values to make sure they work (ignoring the return codes). Some small changes were necessary to avoid asserts and NULL accesses when doing this. The perl script needs to be manually rerun when we add new options. Closes #1543
Diffstat (limited to 'tests/data/test1521')
-rw-r--r--tests/data/test152130
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/test1521 b/tests/data/test1521
new file mode 100644
index 000000000..268c0695c
--- /dev/null
+++ b/tests/data/test1521
@@ -0,0 +1,30 @@
+<testcase>
+<info>
+<keywords>
+curl_easy_setopt
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<tool>
+lib1521
+</tool>
+
+ <name>
+try ALL curl_easy_setopt options
+ </name>
+ <command>
+unused
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>