aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib555.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib555.c')
-rw-r--r--tests/libtest/lib555.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libtest/lib555.c b/tests/libtest/lib555.c
index 33a1a26c7..0b9d27ae0 100644
--- a/tests/libtest/lib555.c
+++ b/tests/libtest/lib555.c
@@ -93,6 +93,10 @@ int test(char *URL)
curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, strlen(UPLOADTHIS));
curl_easy_setopt(curl, CURLOPT_POST, 1L);
+#ifdef CURL_DOES_CONVERSIONS
+ /* Convert the POST data to ASCII. */
+ curl_easy_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
+#endif
curl_easy_setopt(curl, CURLOPT_PROXY, libtest_arg2);
curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3);
curl_easy_setopt(curl, CURLOPT_PROXYAUTH,
@@ -124,6 +128,9 @@ int test(char *URL)
mp_timedout = TRUE;
break;
}
+#ifdef TPF
+ sleep(1); /* avoid ctl-10 dump */
+#endif
if (running <= 0) {
fprintf(stderr, "nothing left running.\n");
break;