summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Reactor/run_test.pl
blob: 05f153780521c595fb936db0abe0c71b560f732b (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
# $Id$
# -*- perl -*-
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

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

$file="test.ior";

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

ACE::waitforfile ($file);

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

$SV->Wait ();

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