blob: 7df54591dab8d6fd7632ca02ba08c78a20715cfb (
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;
$ACE_ROOT = $ENV{ACE_ROOT};
$TAO_ROOT = "$ACE_ROOT/TAO";
$notify_ior = PerlACE::LocalFile("notify.ior");
unlink $notify_ior;
$NS = new PerlACE::Process("$TAO_ROOT/orbsvcs/Notify_Service/Notify_Service");
$NS->Arguments(" -NoNameSvc -Boot -IORoutput $notify_ior -ORBEndpoint iiop://:9050 ");
$NS->Spawn();
if (PerlACE::waitforfile_timed ($notify_ior, 5) == -1) {
print STDERR "ERROR: Timed out waiting for $notify_ior\n";
$NS->Kill ();
return 1;
}
$NS->Wait();
unlink $notify_ior;
exit $ret;
|