summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl
blob: 918ccb240edb3423d99823d8b7dce11fd15c1da4 (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
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;

$dum_core = PerlACE::LocalFile ("core");
$status = 0;
unlink $dum_core;

$HELLO = new PerlACE::Process ("uipmc_test", "");

$prog = $HELLO->SpawnWaitKill (20);

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

if (-e $dum_core) {
    print STDERR "ERROR: uipmc_test core dumped\n";
    $status = 1;
}

unlink $dum_core;

exit $status;