summaryrefslogtreecommitdiff
path: root/tests/Time_Service_Test.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-29 17:11:12 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-29 17:11:12 +0000
commit357545413345c31be174cd29e4619a51066f2e5d (patch)
treead02ce0a3cd32f698b664c12e74af94a08c682d6 /tests/Time_Service_Test.cpp
parent36795e79c90b18daece34c0ff6682b96df2d2cb4 (diff)
downloadATCD-357545413345c31be174cd29e4619a51066f2e5d.tar.gz
ChangeLogTag:Tue Feb 29 08:48:28 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'tests/Time_Service_Test.cpp')
-rw-r--r--tests/Time_Service_Test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Time_Service_Test.cpp b/tests/Time_Service_Test.cpp
index 473bb84f644..51c56591e81 100644
--- a/tests/Time_Service_Test.cpp
+++ b/tests/Time_Service_Test.cpp
@@ -38,10 +38,10 @@ main (int, ASYS_TCHAR *[])
{
ACE_START_TEST (ASYS_TEXT ("Time_Service_Test"));
-#if defined (ACE_LACKS_FORK)
+#if defined (ACE_LACKS_FORK) && !defined (ACE_WIN32)
ACE_ERROR ((LM_INFO,
ASYS_TEXT ("fork is not supported on this platform\n")));
-#else /* ! ACE_LACKS_FORK */
+#else /* ! ACE_LACKS_FORK || ACE_WIN32 */
// Make sure that the backing store is not there. We need to make
// sure because this test kills the Time Clerk and on some platforms
@@ -115,8 +115,8 @@ main (int, ASYS_TCHAR *[])
// Because we kill the clerk process, on Win32 it may not do a
// graceful shutdown and the backing store file is left behind.
if (clerk.wait () != 0)
- ACE_OS::unlink (ACE_DEFAULT_BACKING_STORE);
-#endif /* ! ACE_LACKS_FORK */
+ ACE_OS::unlink (backing_store);
+#endif /* ! ACE_LACKS_FORK || ACE_WIN32 */
ACE_END_TEST;
return 0;