diff options
Diffstat (limited to 'trunk/TAO/tests/POA/Identity/run_test.pl')
-rwxr-xr-x | trunk/TAO/tests/POA/Identity/run_test.pl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/trunk/TAO/tests/POA/Identity/run_test.pl b/trunk/TAO/tests/POA/Identity/run_test.pl new file mode 100755 index 00000000000..2bc6cf92dbf --- /dev/null +++ b/trunk/TAO/tests/POA/Identity/run_test.pl @@ -0,0 +1,26 @@ +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; + +if (PerlACE::is_vxworks_test()) { + $T = new PerlACE::ProcessVX ("Identity", "-ORBobjrefstyle url"); +} +else { + $T = new PerlACE::Process ("Identity", "-ORBobjrefstyle url"); +} + +$test = $T->SpawnWaitKill (60); + +if ($test != 0) { + print STDERR "ERROR: test returned $test\n"; + exit 1; +} + +exit 0; + |