Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / PolicyFactory / run_test.pl
blobb5426917304c01222744248e3873df1a3fa52710
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
8 use lib "$ENV{ACE_ROOT}/bin";
9 use PerlACE::TestTarget;
11 my $status = 0;
13 my $process = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
15 $SV = $process->CreateProcess ("server");
17 print STDERR "\n\n==== Running PolicyFactory test\n";
19 $SV->Spawn ();
21 $process_status = $SV->WaitKill ($process->ProcessStartWaitInterval());
23 if ($process_status != 0) {
24 print STDERR "ERROR: server returned $process_status\n";
25 $status = 1;
28 exit $status;