summaryrefslogtreecommitdiff
path: root/tests/Process_Strategy_Test.cpp
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-22 11:46:54 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-22 11:46:54 +0000
commit5219d2565a54c64f041db57495d6e109ba563022 (patch)
tree80defd163445db3fc8ef94b2b7900ecddfd46c14 /tests/Process_Strategy_Test.cpp
parent35852bfa4db729a87b6eeaee66ad82c0de884069 (diff)
downloadATCD-5219d2565a54c64f041db57495d6e109ba563022.tar.gz
Shuffled things around. How the -beep- did this ever get messed up?
Diffstat (limited to 'tests/Process_Strategy_Test.cpp')
-rw-r--r--tests/Process_Strategy_Test.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/Process_Strategy_Test.cpp b/tests/Process_Strategy_Test.cpp
index a4eb333cf9c..3944dbadb44 100644
--- a/tests/Process_Strategy_Test.cpp
+++ b/tests/Process_Strategy_Test.cpp
@@ -532,18 +532,15 @@ main (int argc, char *argv[])
exit (-1);
/* NOTREACHED */
case 0:
+ signal (SIGCHLD, SIG_IGN);
+ server (0);
+ break;
+ /* NOTREACHED */
+ default:
client (&server_addr);
-
// Shutdown the server process.
if (ACE_OS::kill (pid, SIGINT) == 0)
ACE_OS::wait ();
-
- /* NOTREACHED */
- default:
- signal (SIGCHLD, SIG_IGN);
- server (0);
-
- break;
break;
/* NOTREACHED */
}