aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorHenry Ludemann <henry@hl.id.au>2011-03-08 00:19:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-03-08 00:20:48 +0100
commit0e74e1d8d83d50ba1d411903ae2dbba13a71bdeb (patch)
tree1c6f02ebcae4033816a9002c776e3569907a6645 /tests/libtest/test.h
parent3f7b7dea1ea67dcad241dbf78ca54dfd9d19c283 (diff)
sftp-multi: test 582 added
Add test 582 for uploading a file using sftp and the multi interface. (Patch and test slightly tweaked by Daniel Stenberg) Initially marked as disabled until it is fixed in the source.
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index 2a3671181..d5a099e25 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -44,6 +44,9 @@
#define test_setopt(A,B,C) \
if((res = curl_easy_setopt((A),(B),(C))) != CURLE_OK) goto test_cleanup
+#define test_multi_setopt(A,B,C) \
+ if((res = curl_multi_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 */