summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2319_Regression/run_test.pl
blob: 3f6ccefdb0443ccc53c6e41adaf4bce55a395ff9 (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
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

# $Id$
# -*- perl -*-

# This is a Perl script that tests AMH exceptions

use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::Run_Test;

$AMH = new PerlACE::Process ("server", "");

# Run the AMH server.
$AMH->Spawn ();

$amhserver= $AMH->WaitKill (60);
if ($amhserver != 0) {
    print STDERR "ERROR: AMH Server returned $amhserver\n";
    $status = 1;
}

exit $status;