summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Collocation/run_test.pl
blob: e9a2e5b138e16eb872164117d5ba785e3b7a7d58 (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
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;

if (PerlACE::is_vxworks_test()) {
    $SV = new PerlACE::ProcessVX ("Collocation",  "-ORBSvcConf svc.conf.csd");
}
else {
    $SV = new PerlACE::Process ("Collocation", "-ORBSvcConf svc.conf.csd");
}

$server = $SV->SpawnWaitKill (60);

if ($server != 0) {
    print STDERR "ERROR: CSD Collocation test returned $server \n";
    $status = 1;
}

exit $status;