summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl')
-rwxr-xr-xTAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl32
1 files changed, 32 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl b/TAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl
new file mode 100755
index 00000000000..322eeff3e7e
--- /dev/null
+++ b/TAO/orbsvcs/tests/Bug_2377_Regression/run_test.pl
@@ -0,0 +1,32 @@
+eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
+ & eval 'exec perl -S $0 $argv:q'
+ if 0;
+
+# $Id$
+# -*- perl -*-
+
+use lib '../../../../bin';
+use PerlACE::Run_Test;
+
+$dum_core = PerlACE::LocalFile ("core");
+$status = 0;
+unlink $dum_core;
+
+$HELLO = new PerlACE::Process ("uipmc_test", "");
+
+$prog = $HELLO->SpawnWaitKill (20);
+
+if ($prog != 0) {
+ print STDERR "ERROR: uipmc_test returned $prog\n";
+ $status = 1;
+}
+
+if (-e $dum_core) {
+ print STDERR "ERROR: uipmc_test core dumped\n";
+ $status = 1;
+}
+
+unlink $dum_core;
+
+exit $status;
+