Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / POA / Nested_Non_Servant_Upcalls / run_test.pl
blob16ecf51f307aa97977b39b9bbf131a1a2c91b8bd
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
7 use lib "$ENV{ACE_ROOT}/bin";
8 use PerlACE::TestTarget;
10 $debug_level = '0';
12 foreach $i (@ARGV) {
13 if ($i eq '-debug') {
14 $debug_level = '10';
18 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
20 $SV = $server->CreateProcess ("Nested_Non_Servant_Upcalls", "-ORBdebuglevel $debug_level");
22 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
24 if ($test != 0) {
25 print STDERR "ERROR: test returned $test\n";
26 exit 1;
29 exit 0;