summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Bug_2926_Regression/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Bug_2926_Regression/run_test.pl')
-rwxr-xr-xTAO/orbsvcs/tests/Notify/Bug_2926_Regression/run_test.pl36
1 files changed, 36 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Bug_2926_Regression/run_test.pl b/TAO/orbsvcs/tests/Notify/Bug_2926_Regression/run_test.pl
new file mode 100755
index 00000000000..0e7080fef23
--- /dev/null
+++ b/TAO/orbsvcs/tests/Notify/Bug_2926_Regression/run_test.pl
@@ -0,0 +1,36 @@
+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;
+$file = PerlACE::LocalFile ("test.ior");
+
+unlink $file;
+
+if (PerlACE::is_vxworks_test()) {
+ $SV = new PerlACE::ProcessVX ("server", "");
+}
+else {
+ $SV = new PerlACE::Process ("server", "");
+}
+
+print STDERR "\n\n==== Running bug 2926 regression test\n";
+
+$SV->Spawn ();
+
+$collocated = $SV->WaitKill (15);
+
+if ($collocated != 0) {
+ print STDERR "ERROR: Bug_2926_Regression returned $collocated\n";
+ $status = 1;
+}
+
+unlink $file;
+
+exit $status;