summaryrefslogtreecommitdiff
path: root/tests/Malloc_Test.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-01 18:23:50 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-01 18:23:50 +0000
commite2bf6e71ea612dd0b8d74c48b573c4500b70821e (patch)
treee92717f9a9d27701284a182ce945a1061e94726e /tests/Malloc_Test.cpp
parenta702a1f293f63a4596b5fd9723c188cce166158e (diff)
downloadATCD-e2bf6e71ea612dd0b8d74c48b573c4500b70821e.tar.gz
ChangeLogTag:Thu Aug 01 13:40:59 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'tests/Malloc_Test.cpp')
-rw-r--r--tests/Malloc_Test.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp
index 9db02e7c260..e6a95cbf7db 100644
--- a/tests/Malloc_Test.cpp
+++ b/tests/Malloc_Test.cpp
@@ -74,7 +74,7 @@ static const void *PARENT_BASE_ADDR = ACE_DEFAULT_BASE_ADDR;
#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 && !defined (HPUX)) \
&& !(defined (ACE_WIN32) \
- && (!defined (ACE_HAS_WINNT4) || (ACE_HAS_WINNT4 == 0)))
+ && (!defined (ACE_HAS_WINNT4) || (ACE_HAS_WINNT4 == 0)))
# define CHILD_ADDR_DELTA (1024*1024)
#else
# define CHILD_ADDR_DELTA 0
@@ -363,16 +363,18 @@ ACE_TMAIN (int argc, ACE_TCHAR *[])
ACE_Process p;
pid_t pid = p.spawn (options);
if (pid == -1)
- ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("%p\n"),
- ASYS_TEXT ("spawn")), 1);
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("%p\n"),
+ ACE_TEXT ("spawn")), 1);
parent (data);
// Synchronize on the exit of the child.
result = p.wait ();
if (result == -1)
- ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("%p\n"),
- ASYS_TEXT ("wait")), 1);
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("%p\n"),
+ ACE_TEXT ("wait")), 1);
ACE_ASSERT (myalloc->ref_counter () == 1);
myalloc->remove ();
ACE_END_TEST;