summaryrefslogtreecommitdiff
path: root/tests/Process_Mutex_Test.cpp
diff options
context:
space:
mode:
authorharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-12 22:09:37 +0000
committerharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-12 22:09:37 +0000
commit4ead7862561f14936baa1fdfc67f91e5ef132828 (patch)
tree807257a5d42e1c6b3a6c9cde26767908e80b2101 /tests/Process_Mutex_Test.cpp
parent168592402ad491172f9f010dade7caeb6ae26b9b (diff)
downloadATCD-4ead7862561f14936baa1fdfc67f91e5ef132828.tar.gz
These work with the new ACE_Process::spawn.
This change may have clobbered other changes that happened during the same time. My repository got messed up and I had to clobber and update.
Diffstat (limited to 'tests/Process_Mutex_Test.cpp')
-rw-r--r--tests/Process_Mutex_Test.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/Process_Mutex_Test.cpp b/tests/Process_Mutex_Test.cpp
index a723cc7d997..f061d57b9b8 100644
--- a/tests/Process_Mutex_Test.cpp
+++ b/tests/Process_Mutex_Test.cpp
@@ -98,11 +98,6 @@ main (int argc, char *argv[])
ACE_INIT_LOG ("Process_Mutex_Test-children");
ACE_Process_Options options;
- char *s_argv[6];
- s_argv[0] = "Process_Mutex_Test" ACE_PLATFORM_EXE_SUFFIX;
- s_argv[1] = "-c"; // child/slave process
- s_argv[2] = "-n";
- s_argv[3] = mutex_name;
if (release_mutex == 0)
options.command_line ("Process_Mutex_Test" ACE_PLATFORM_EXE_SUFFIX
" -c -n %s -d", mutex_name);
@@ -117,7 +112,7 @@ main (int argc, char *argv[])
for (i = 0; i < ACE_MAX_PROCESSES; i++)
{
- ACE_ASSERT (servers[i].start (options) != -1);
+ ACE_ASSERT (servers[i].spawn (options) != -1);
ACE_DEBUG ((LM_DEBUG,
"Server forked with pid = %d.\n",
servers[i].getpid ()));