summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2319_Regression
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-11-11 19:56:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-11-11 19:56:30 +0000
commit9c751e1ccca021941a5e9926d3c317293aa4f7c0 (patch)
tree639b109834cf4aafbc1db80507bd15ac8e3ff7d6 /TAO/tests/Bug_2319_Regression
parentd573df30c762bd4e1ca742cc0ff7eac4ed4475ff (diff)
downloadATCD-9c751e1ccca021941a5e9926d3c317293aa4f7c0.tar.gz
Sun Nov 11 19:55:21 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Bug_2319_Regression')
-rwxr-xr-xTAO/tests/Bug_2319_Regression/run_test.pl9
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/tests/Bug_2319_Regression/run_test.pl b/TAO/tests/Bug_2319_Regression/run_test.pl
index 708d658fe7c..76a29d0638c 100755
--- a/TAO/tests/Bug_2319_Regression/run_test.pl
+++ b/TAO/tests/Bug_2319_Regression/run_test.pl
@@ -10,12 +10,9 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::Run_Test;
-if (PerlACE::is_vxworks_test()) {
- $AMH = new PerlACE::ProcessVX ("server", "");
-}
-else {
- $AMH = new PerlACE::Process ("server", "");
-}
+my $class = (PerlACE::is_vxworks_test() ? 'PerlACE::ProcessVX' :
+ 'PerlACE::Process');
+$AMH = new $class ("server");
# Run the AMH server.
$AMH->Spawn ();