From 87cf677eca55abee88f0a9dced9e6fa570143873 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 6 Jun 2013 22:20:39 +0200 Subject: [PATCH] lib1500: remove bad check After curl_multi_wait() returns, this test checked that we got exactly one file descriptor told to read from, but we cannot be sure that is true. curl_multi_wait() will sometimes return earlier without any file descriptor to handle, just just because it is a suitable time to call *perform(). This problem showed up with commit 29bf0598. Bug: http://curl.haxx.se/mail/lib-2013-06/0029.html Reported-by: Fabian Keil --- tests/libtest/lib1500.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/libtest/lib1500.c b/tests/libtest/lib1500.c index 784bdb2a2..76e3d320c 100644 --- a/tests/libtest/lib1500.c +++ b/tests/libtest/lib1500.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2013, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -61,11 +61,6 @@ int test(char *URL) res = -1; goto test_cleanup; } - if (num != 1) { - printf("curl_multi_wait() returned on %d handle(s), expected 1\n", num); - res = -1; - goto test_cleanup; - } abort_on_test_timeout();