summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2345_Regression/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2345_Regression/run_test.pl')
-rwxr-xr-xTAO/tests/Bug_2345_Regression/run_test.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Bug_2345_Regression/run_test.pl b/TAO/tests/Bug_2345_Regression/run_test.pl
index af993694fbe..d8461382809 100755
--- a/TAO/tests/Bug_2345_Regression/run_test.pl
+++ b/TAO/tests/Bug_2345_Regression/run_test.pl
@@ -10,9 +10,14 @@ use PerlACE::Run_Test;
$status = 0;
+if (PerlACE::is_vxworks_test()) {
+$SV = new PerlACE::ProcessVX ("server", "-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:localhost:12345");
+}
+else {
$SV = new PerlACE::Process ("server", "-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:localhost:12345");
+}
-$server = $SV->SpawnWaitKill (30);
+$server = $SV->SpawnWaitKill ($PerlACE::wait_interval_for_process_creation);
if ($server != 0) {
print STDERR "ERROR: server returned $server\n";