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

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

$iorfile = "theior";
$sleeptime = 10;

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

sleep ($sleeptime);

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

$SV->Wait ();

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