diff options
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r-- | tests/libtest/test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h index 202ca7ba4..3a01a07dc 100644 --- a/tests/libtest/test.h +++ b/tests/libtest/test.h @@ -42,6 +42,9 @@ #define TEST_ERR_MAJOR_BAD 100 #define TEST_ERR_RUNS_FOREVER 99 +#define test_setopt(A,B,C) \ + if((res = curl_easy_setopt((A),(B),(C))) != CURLE_OK) goto test_cleanup + extern char *libtest_arg2; /* set by first.c to the argv[2] or NULL */ extern char *libtest_arg3; /* set by first.c to the argv[3] or NULL */ |