From b7ac227776a0d8d19075397cac4e87b0c688cb0c Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 13 Sep 2004 12:36:56 +0000 Subject: ChangeLogTag: Mon Sep 13 12:29:12 UTC 2004 Martin Corino --- .../tests/AVStreams/Asynch_Three_Stage/run_test.pl | 31 ++++++++++++++++++--- .../AVStreams/Bidirectional_Flows/run_test.pl | 28 +++++++++++++++++-- .../AVStreams/Component_Switching/run_test.pl | 32 ++++++++++++++++++---- .../tests/AVStreams/Full_Profile/run_test.pl | 30 +++++++++++++++++--- TAO/orbsvcs/tests/AVStreams/Modify_QoS/run_test.pl | 27 ++++++++++++++++-- TAO/orbsvcs/tests/AVStreams/Multicast/run_test.pl | 28 +++++++++++++++++-- .../AVStreams/Multicast_Full_Profile/run_test.pl | 28 +++++++++++++++++-- .../tests/AVStreams/Multiple_Flows/run_test.pl | 27 ++++++++++++++++-- TAO/orbsvcs/tests/AVStreams/Pluggable/run_test.pl | 28 +++++++++++++++++-- .../AVStreams/Pluggable_Flow_Protocol/run_test.pl | 27 ++++++++++++++++-- .../tests/AVStreams/Simple_Three_Stage/run_test.pl | 28 +++++++++++++++++-- .../tests/AVStreams/Simple_Two_Stage/run_test.pl | 27 ++++++++++++++++-- .../Simple_Two_Stage_With_QoS/run_test.pl | 27 ++++++++++++++++-- 13 files changed, 331 insertions(+), 37 deletions(-) diff --git a/TAO/orbsvcs/tests/AVStreams/Asynch_Three_Stage/run_test.pl b/TAO/orbsvcs/tests/AVStreams/Asynch_Three_Stage/run_test.pl index 06a5ee135b1..43c15be216f 100755 --- a/TAO/orbsvcs/tests/AVStreams/Asynch_Three_Stage/run_test.pl +++ b/TAO/orbsvcs/tests/AVStreams/Asynch_Three_Stage/run_test.pl @@ -7,6 +7,7 @@ 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 @@ -15,13 +16,35 @@ $status = 0; $nsior = PerlACE::LocalFile ("ns.ior"); $testfile = PerlACE::LocalFile ("output"); -$makefile = PerlACE::LocalFile ("input"); + +# generate test stream data +$input = "test_input"; +while ( -e $input ) { + $input = $input."X"; +} +open( INPUT, "> $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT < $input" ) || die( "can't create input file: $input" ); +for($i =0; $i < 1000 ; $i++ ) { + print INPUT <