summaryrefslogtreecommitdiff
path: root/TAO/tests/Hello/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Hello/run_test.pl')
-rwxr-xr-xTAO/tests/Hello/run_test.pl12
1 files changed, 9 insertions, 3 deletions
diff --git a/TAO/tests/Hello/run_test.pl b/TAO/tests/Hello/run_test.pl
index 8c0d02aecd2..5d02e3606f1 100755
--- a/TAO/tests/Hello/run_test.pl
+++ b/TAO/tests/Hello/run_test.pl
@@ -8,13 +8,19 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
use lib '../../../bin';
use PerlACE::Run_Test;
+$status = 0;
+
$iorfile = PerlACE::LocalFile ("server.ior");
unlink $iorfile;
-$status = 0;
-$SV = new PerlACE::Process ("server", "-o $iorfile");
+if (PerlACE::is_vxworks_test()) {
+ $SV = new PerlACE::ProcessVX ("server", "-o server.ior");
+}
+else {
+ $SV = new PerlACE::Process ("server", "-o $iorfile");
+}
$CL = new PerlACE::Process ("client", " -k file://$iorfile");
-
+
$SV->Spawn ();
if (PerlACE::waitforfile_timed ($iorfile,