diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2010-05-21 04:11:18 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2010-05-21 04:11:18 +0000 |
commit | 163a6565c2b326242a31396e4a23e3b5f68d283d (patch) | |
tree | f7fbb1d53a27b85b39ef13da334c63055d067313 /modules/CIAO/tests/CIF/Navigation/run_test.pl | |
parent | cbdf27ac57d327fd072299b73d3433e6a8063763 (diff) | |
download | ATCD-locality_manager.tar.gz |
merging in headlocality_manager
Diffstat (limited to 'modules/CIAO/tests/CIF/Navigation/run_test.pl')
-rwxr-xr-x | modules/CIAO/tests/CIF/Navigation/run_test.pl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/CIAO/tests/CIF/Navigation/run_test.pl b/modules/CIAO/tests/CIF/Navigation/run_test.pl new file mode 100755 index 00000000000..9d1a77634f6 --- /dev/null +++ b/modules/CIAO/tests/CIF/Navigation/run_test.pl @@ -0,0 +1,30 @@ +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::TestTarget; + +$ENV {'CIAO_LOG_LEVEL'} = 9; + +$status = 0; +$ciao_root = "$ENV{CIAO_ROOT}"; + +my $target = PerlACE::TestTarget::create_target (1); +$target->AddLibPath ('../lib'); + +$TG = $target->CreateProcess ("client", "-s $ciao_root/bin/ciao_componentserver -d 120"); +$server_status = $TG->SpawnWaitKill ($target->ProcessStartWaitInterval ()); + +if ($server_status != 0) { + print STDERR "ERROR: process returned $server_status\n"; + $TG->Kill (); + exit 1; +} + +$target->GetStderrLog(); + +exit $status; |