summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Reactor/run_test.pl
blob: e86eee2027863de62d6b9770616f095433358ab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

# $Id$
# -*- perl -*-

unshift @INC, '../../../../bin';
require Process;
require ACEutils;

$SV = Process::Create ($EXEPREFIX."server".$Process::EXE_EXT,
                       " -ORBobjrefstyle url");

sleep ($ACE::sleeptime);

$status  = system ($EXEPREFIX."client".$Process::EXE_EXT.
                   " -x ");

$SV->Wait ();

# @@ Capture any errors from the server too.
exit $status;