Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / POA / Reference_Counting / run_test.pl
blobb342fce78c834b856b4478e22b3392bf56b20779
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 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
12 $status = 0;
14 $SV = $server->CreateProcess ("server");
15 $server_status = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
17 if ($server_status != 0) {
18 print STDERR "ERROR: server returned $server_status\n";
19 $status = 1;
22 exit $status;