aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-06-06 22:20:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-06-06 22:22:14 +0200
commit87cf677eca55abee88f0a9dced9e6fa570143873 (patch)
tree2725332e4ba8015e952123026283c335808f2c9d /tests/libtest
parent5657c56f6366ca3185a12d2810c66f081c6b57a2 (diff)
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
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1500.c7
1 files changed, 1 insertions, 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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, 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();