summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2319_Regression/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2319_Regression/run_test.pl')
-rwxr-xr-xTAO/tests/Bug_2319_Regression/run_test.pl24
1 files changed, 24 insertions, 0 deletions
diff --git a/TAO/tests/Bug_2319_Regression/run_test.pl b/TAO/tests/Bug_2319_Regression/run_test.pl
new file mode 100755
index 00000000000..1c118935b70
--- /dev/null
+++ b/TAO/tests/Bug_2319_Regression/run_test.pl
@@ -0,0 +1,24 @@
+eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
+ & eval 'exec perl -S $0 $argv:q'
+ if 0;
+
+# $Id$
+# -*- perl -*-
+
+# This is a Perl script that tests AMH exceptions
+
+use lib "../../../bin";
+use PerlACE::Run_Test;
+
+$AMH = new PerlACE::Process ("server", "");
+
+# Run the AMH server.
+$AMH->Spawn ();
+
+$amhserver= $AMH->WaitKill (60);
+if ($amhserver != 0) {
+ print STDERR "ERROR: AMH Server returned $amhserver\n";
+ $status = 1;
+}
+
+exit $status;