summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Bug_3486_Regression/run_test.pl
blob: 32f3accc0c6f6e2d9ded286980884e1a205113fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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::Run_Test;

$status = 0;
$file = PerlACE::LocalFile ("test.ior");

unlink $file;

if (PerlACE::is_vxworks_test()) {
    $SV = new PerlACE::ProcessVX ("server", "");
}
else {
    $SV = new PerlACE::Process ("server", "");
}

print STDERR "\n\n==== Running bug 3486 regression test\n";

$SV->Spawn ();

$collocated = $SV->WaitKill (15);

if ($collocated != 0) {
    print STDERR "ERROR: Bug_3486_Regression returned $collocated\n";
    $status = 1;
}

unlink $file;

exit $status;