diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c index e9e20a8794..9592e0fa94 100644 --- a/tests/libtest/lib505.c +++ b/tests/libtest/lib505.c @@ -126,7 +126,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_POSTQUOTE, headerlist); /* now specify which file to upload */ - test_setopt(curl, CURLOPT_INFILE, hd_src); + test_setopt(curl, CURLOPT_READDATA, hd_src); /* and give the size of the upload (optional) */ test_setopt(curl, CURLOPT_INFILESIZE_LARGE, diff --git a/tests/libtest/lib508.c b/tests/libtest/lib508.c index 1aca064e9b..7f37309207 100644 --- a/tests/libtest/lib508.c +++ b/tests/libtest/lib508.c @@ -86,7 +86,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_READFUNCTION, read_callback); /* pointer to pass to our read function */ - test_setopt(curl, CURLOPT_INFILE, &pooh); + test_setopt(curl, CURLOPT_READDATA, &pooh); /* get verbose debug output please */ test_setopt(curl, CURLOPT_VERBOSE, 1L); diff --git a/tests/libtest/lib510.c b/tests/libtest/lib510.c index 8278631c13..c60b2caf61 100644 --- a/tests/libtest/lib510.c +++ b/tests/libtest/lib510.c @@ -97,7 +97,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_READFUNCTION, read_callback); /* pointer to pass to our read function */ - test_setopt(curl, CURLOPT_INFILE, &pooh); + test_setopt(curl, CURLOPT_READDATA, &pooh); /* get verbose debug output please */ test_setopt(curl, CURLOPT_VERBOSE, 1L); diff --git a/tests/libtest/lib513.c b/tests/libtest/lib513.c index c013ac258a..7aab3b1c8d 100644 --- a/tests/libtest/lib513.c +++ b/tests/libtest/lib513.c @@ -61,7 +61,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_READFUNCTION, read_callback); /* pointer to pass to our read function */ - test_setopt(curl, CURLOPT_INFILE, NULL); + test_setopt(curl, CURLOPT_READDATA, NULL); /* get verbose debug output please */ test_setopt(curl, CURLOPT_VERBOSE, 1L); diff --git a/tests/libtest/lib541.c b/tests/libtest/lib541.c index 3318b9b8b6..6015d2f06a 100644 --- a/tests/libtest/lib541.c +++ b/tests/libtest/lib541.c @@ -96,7 +96,7 @@ int test(char *URL) test_setopt(curl,CURLOPT_URL, URL); /* now specify which file to upload */ - test_setopt(curl, CURLOPT_INFILE, hd_src); + test_setopt(curl, CURLOPT_READDATA, hd_src); /* Now run off and do what you've been told! */ res = curl_easy_perform(curl); diff --git a/tests/libtest/lib579.c b/tests/libtest/lib579.c index c5cf603bbf..0e8bd2f153 100644 --- a/tests/libtest/lib579.c +++ b/tests/libtest/lib579.c @@ -126,7 +126,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_READFUNCTION, read_callback); /* pointer to pass to our read function */ - test_setopt(curl, CURLOPT_INFILE, &pooh); + test_setopt(curl, CURLOPT_READDATA, &pooh); /* get verbose debug output please */ test_setopt(curl, CURLOPT_VERBOSE, 1L);