summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/echo/run_test.pl
blob: ae10cef07a22345d08e357e56c82e1712a949bf0 (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 -*-

use lib "../../../../bin";
require ACEutils;
require Process;

$iorfile = "echo.ior";

$SV = Process::Create ("server$EXE_EXT", "-o $iorfile ");

sleep ($ACE::sleeptime);
$status = system ("client$EXE_EXT -f $iorfile -x");

$SV->Kill (); $SV->Wait ();

unlink $iorfile;

exit $status;