diff options
Diffstat (limited to 'orbsvcs/tests/Bug_2112_Regression/run_test.pl')
-rwxr-xr-x | orbsvcs/tests/Bug_2112_Regression/run_test.pl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/orbsvcs/tests/Bug_2112_Regression/run_test.pl b/orbsvcs/tests/Bug_2112_Regression/run_test.pl new file mode 100755 index 00000000000..b625ebe7487 --- /dev/null +++ b/orbsvcs/tests/Bug_2112_Regression/run_test.pl @@ -0,0 +1,22 @@ +eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' + & eval 'exec perl -S $0 $argv:q' + if 0; + +# $Id$ +# -*- perl -*- + +use lib "$ENV{ACE_ROOT}/bin"; +use PerlACE::TestTarget; + +my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n"; + +$SV = $server->CreateProcess ("client", ""); + +$test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval()); + +if ($test != 0) { + print STDERR "ERROR: test returned $test\n"; + exit 1; +} + +exit 0; |