From cccac4fb2b20d6ed87da7978408c3ecacc464fe4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Jun 2017 11:57:47 +0200 Subject: 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 --- tests/data/test1521 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/data/test1521 (limited to 'tests/data/test1521') 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 @@ + + + +curl_easy_setopt + + + +# +# Client-side + + +none + + +lib1521 + + + +try ALL curl_easy_setopt options + + +unused + + + +# +# Verify data after the test has been "shot" + + + -- cgit v1.2.3