summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-11 00:35:15 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-11 00:35:15 +0100
commit77a94a6eb1313697448c8725eeb3399232b50cbd (patch)
treedfbf4c5063ba69e4cc5c2b8109c0954feafc28e9
parent117b94eb0b384af039225b557df5460519d3bbfc (diff)
downloadcurl-77a94a6eb1313697448c8725eeb3399232b50cbd.tar.gz
lib1564/5: verify that curl_multi_wakeup return OK
-rw-r--r--tests/libtest/lib1564.c4
-rw-r--r--tests/libtest/lib1565.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib1564.c b/tests/libtest/lib1564.c
index 1fe550ac4..8e76e098f 100644
--- a/tests/libtest/lib1564.c
+++ b/tests/libtest/lib1564.c
@@ -61,7 +61,7 @@ int test(char *URL)
/* try a single wakeup */
- multi_wakeup(multi);
+ res_multi_wakeup(multi);
time_before_wait = tutil_tvnow();
multi_poll(multi, NULL, 0, 1000, &numfds);
@@ -94,7 +94,7 @@ int test(char *URL)
/* try lots of wakeup */
for(i = 0; i < WAKEUP_NUM; ++i)
- multi_wakeup(multi);
+ res_multi_wakeup(multi);
time_before_wait = tutil_tvnow();
multi_poll(multi, NULL, 0, 1000, &numfds);
diff --git a/tests/libtest/lib1565.c b/tests/libtest/lib1565.c
index 832b2ef89..6ea7d4e0c 100644
--- a/tests/libtest/lib1565.c
+++ b/tests/libtest/lib1565.c
@@ -70,7 +70,7 @@ static void *run_thread(void *ptr)
pthread_mutex_unlock(&lock);
- multi_wakeup(multi);
+ res_multi_wakeup(multi);
}
test_cleanup: