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 17:42:17 +0100
commit6cd066f64b9165c1b1f3243844ea32b1f1ba42f5 (patch)
tree630bff5400896af492c2a62fde6142fd38963a7d
parent3a63c190bb8e8752905dfcfe988d940b88fa9c73 (diff)
downloadcurl-6cd066f64b9165c1b1f3243844ea32b1f1ba42f5.tar.gz
lib1564/5: verify that curl_multi_wakeup returns 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: