git-svn: trunk@4950
Török Edvin authored on 2009/03/15 05:45:36... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Sat Mar 14 22:45:28 EET 2009 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * unit_tests/check_clamd.c: put back ifndef C_BSD in unit test |
|
4 |
+ |
|
1 | 5 |
Sat Mar 14 21:22:55 EET 2009 (edwin) |
2 | 6 |
------------------------------------ |
3 | 7 |
* unit_tests/check_clamd.c, unit_tests/test-clamd.conf: have to set |
... | ... |
@@ -734,10 +734,13 @@ static Suite *test_clamd_suite(void) |
734 | 734 |
tcase_add_test(tc_stress, test_fildes_many); |
735 | 735 |
tcase_add_test(tc_stress, test_idsession_stress); |
736 | 736 |
tcase_add_test(tc_stress, test_fildes_unwanted); |
737 |
- /* FreeBSD has a weirdness: connect() says connection refused on both |
|
738 |
- * tcp/unix sockets, if I too quickly connect ~193 times. |
|
737 |
+#ifndef C_BSD |
|
738 |
+ /* FreeBSD and Darwin: connect() says connection refused on both |
|
739 |
+ * tcp/unix sockets, if I too quickly connect ~193 times, even if |
|
740 |
+ * listen backlog is higher. |
|
739 | 741 |
* Don't run this test on BSD for now */ |
740 | 742 |
tcase_add_test(tc_stress, test_connections); |
743 |
+#endif |
|
741 | 744 |
return s; |
742 | 745 |
} |
743 | 746 |
|