summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Bug_2137_Regression/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Bug_2137_Regression/run_test.pl')
-rwxr-xr-xTAO/orbsvcs/tests/Bug_2137_Regression/run_test.pl34
1 files changed, 34 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Bug_2137_Regression/run_test.pl b/TAO/orbsvcs/tests/Bug_2137_Regression/run_test.pl
new file mode 100755
index 00000000000..f23e3133a69
--- /dev/null
+++ b/TAO/orbsvcs/tests/Bug_2137_Regression/run_test.pl
@@ -0,0 +1,34 @@
+eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
+ & eval 'exec perl -S $0 $argv:q'
+ if 0;
+
+# -*- perl -*-
+# $Id$
+
+use lib "$ENV{ACE_ROOT}/bin";
+use PerlACE::Run_Test;
+
+print STDERR "\n\n==== Running Bug_2137_Regression (FT ::is_equivalent) test\n";
+
+if (PerlACE::is_vxworks_test())
+{
+ $T = new PerlACE::ProcessVX ("client");
+}
+else
+{
+ $T = new PerlACE::Process ("client");
+}
+
+$test = $T->SpawnWaitKill (15);
+
+if ($test != 0)
+{
+ print STDERR "ERROR: Bug_2137_Regression test returned $test\n";
+ exit 1;
+}
+else
+{
+ print STDERR "SUCCESS: Bug_2137_Regression test returned $test\n";
+}
+
+exit 0;