Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / performance-tests / RPC / run_test.pl
blob39352d5b74083f8804fdd0ad28a0d7ccf106883c
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
7 use lib "$ENV{ACE_ROOT}/bin";
8 use PerlACE::Run_Test;
10 $SV = new PerlACE::Process ("server");
11 $CL = new PerlACE::Process ("client", "-i 10000 -h localhost");
13 $status = 0;
15 $SV->Spawn ();
17 sleep 5;
19 $client = $CL->SpawnWaitKill (60);
21 $server = $SV->WaitKill (5);
23 if ($server != 0) {
24 print "ERROR: server returned $server\n";
25 $status = 1;
28 if ($client != 0) {
29 print "ERROR: client returned $client\n";
30 $status = 1;
33 exit $status;