diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl')
-rwxr-xr-x | TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl b/TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl index 9552c5f8c89..1f9ae20a47d 100755 --- a/TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl +++ b/TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl @@ -7,7 +7,6 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' use lib '../../../../../bin'; use PerlACE::Run_Test; -use File::stat; # amount of delay between running the servers @@ -17,16 +16,14 @@ $status = 0; $nsior = PerlACE::LocalFile ("ns.ior"); $test1 = PerlACE::LocalFile ("test1"); $test2 = PerlACE::LocalFile ("test2"); - -# generate test stream data -$input = PerlACE::generate_test_file("test_input", 102400); +$makefile = PerlACE::LocalFile ("Makefile"); unlink $nsior, $test1, $test2; $NS = new PerlACE::Process ("../../../Naming_Service/Naming_Service", "-o $nsior"); $SV1 = new PerlACE::Process ("server", "-ORBInitRef NameService=file://$nsior -f $test1"); $SV2 = new PerlACE::Process ("server", "-ORBInitRef NameService=file://$nsior -f $test2"); -$CL = new PerlACE::Process ("ftp", "-ORBSvcConf components_svc$PerlACE::svcconf_ext -ORBInitRef NameService=file://$nsior -f $input"); +$CL = new PerlACE::Process ("ftp", "-ORBSvcConf components_svc$PerlACE::svcconf_ext -ORBInitRef NameService=file://$nsior -f $makefile"); print STDERR "Starting Naming Service\n"; @@ -34,7 +31,7 @@ $NS->Spawn (); if (PerlACE::waitforfile_timed ($nsior, 15) == -1) { print STDERR "ERROR: cannot find naming service IOR file\n"; - $NS->Kill (); + $NS->Kill (); exit 1; } @@ -80,6 +77,6 @@ if ($nserver != 0) { $status = 1; } -unlink $nsior, $test1, $test2, $input; +unlink $nsior, $test1, $test2; exit $status; |