summaryrefslogtreecommitdiff
path: root/tests/Conn_Test.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-16 14:01:12 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-16 14:01:12 +0000
commitd680cedcfec814c87cb0ce55355fcd6af769274c (patch)
tree97a51f402a0a9d2743fb38e3591b31e92d0004dc /tests/Conn_Test.cpp
parent5ba11d82a0617ef7fa69b2a1d11f50e171754438 (diff)
downloadATCD-d680cedcfec814c87cb0ce55355fcd6af769274c.tar.gz
ChangeLogTag: Mon May 16 09:01:07 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'tests/Conn_Test.cpp')
-rw-r--r--tests/Conn_Test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Conn_Test.cpp b/tests/Conn_Test.cpp
index 6b587e2e314..48627c82229 100644
--- a/tests/Conn_Test.cpp
+++ b/tests/Conn_Test.cpp
@@ -45,6 +45,12 @@ ACE_RCSID(tests, Conn_Test, "$Id$")
static const char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz";
+// This test doesn't work well using fork() on MacOS X. So we
+// will force it to use threads instead.
+#if defined (__APPLE__)
+# define ACE_LACKS_FORK
+#endif /* __APPLE__ */
+
// The following works around bugs with some operating systems, which
// don't allow multiple threads/process to call accept() on the same
// listen-mode port/socket. Also, note that since timed accept is