diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-06-05 11:57:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-06-05 14:25:18 +0200 |
commit | cccac4fb2b20d6ed87da7978408c3ecacc464fe4 (patch) | |
tree | 94946f082efa056675bec689ab0d43da20752c1a /tests/data/test1521 | |
parent | b95a07ea59e3ebab9d643e67084459be13c93a3d (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/test1521 | 30 |
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> |