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

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

unshift @INC, '../../../../bin';
require Process;

$NS_ior = "NameService.ior";
$sleeptime = 3;

$NS = Process::Create ("../../Naming_Service/Naming_Service".$EXE_EXT,
		       " -o $NS_ior ");

sleep $sleeptime;

# This is a very simple test, no multiple consumers and no gateways.
$status = system ($EXEPREFIX."EC_Multiple".$EXE_EXT.
                  " -s local");

$NS->Kill ();

unlink $NS_ior;

# @@ Capture any errors from the server too.
exit $status;