1
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2
& eval 'exec perl -S $0 $argv:q'
5
# run_test.pl,v 1.4 2003/11/09 00:49:32 bala Exp
8
use lib "../../../../bin";
12
$iorfile = PerlACE::LocalFile ("test.ior");
14
print STDERR "================ AMI Latency test\n";
18
$SV = new PerlACE::Process ("server",
21
$CL = new PerlACE::Process ("client",
22
"-k file://$iorfile -i 150000");
26
if (PerlACE::waitforfile_timed ($iorfile, 15) == -1) {
27
print STDERR "ERROR: cannot find file <$iorfile>\n";
32
$client = $CL->SpawnWaitKill (60);
33
$server = $SV->WaitKill (10);
38
print STDERR "ERROR: client returned $client\n";
43
print STDERR "ERROR: server returned $server\n";