summaryrefslogtreecommitdiff
path: root/TAO/tests/DynUnion_Test/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DynUnion_Test/run_test.pl')
-rwxr-xr-xTAO/tests/DynUnion_Test/run_test.pl30
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/tests/DynUnion_Test/run_test.pl b/TAO/tests/DynUnion_Test/run_test.pl
new file mode 100755
index 00000000000..2cec503b7fb
--- /dev/null
+++ b/TAO/tests/DynUnion_Test/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::Run_Test;
+
+$status = 0;
+
+print STDOUT "Dyn Union\n\n";
+
+if (PerlACE::is_vxworks_test()) {
+ $SV = new PerlACE::ProcessVX ("dynuniontest");
+}
+else {
+ $SV = new PerlACE::Process ("dynuniontest");
+}
+
+
+$server = $SV->SpawnWaitKill ($PerlACE::wait_interval_for_process_creation);
+
+if ($server != 0) {
+ print STDERR "ERROR: Dyn Union returned $server \n";
+ $status = 1;
+}
+
+exit $status;