summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authornaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-15 16:50:15 +0000
committernaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-15 16:50:15 +0000
commitff11d6ac582fb811d610791140aeec8c1097af64 (patch)
treeddab23c3c3d1634c200139349d0d22a9ea8d1f88 /TAO/orbsvcs
parent8c6a4990f1b2964a34f120a36753afce4a0795ed (diff)
downloadATCD-ff11d6ac582fb811d610791140aeec8c1097af64.tar.gz
Fixed the run_test.pl so that the first line doesn't start with a # and
also appended . to the executable PATH in the script.
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/benchmark/client.h1
-rwxr-xr-xTAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl11
2 files changed, 7 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/benchmark/client.h b/TAO/orbsvcs/tests/AVStreams/benchmark/client.h
index 43640396ed2..46425206275 100644
--- a/TAO/orbsvcs/tests/AVStreams/benchmark/client.h
+++ b/TAO/orbsvcs/tests/AVStreams/benchmark/client.h
@@ -13,6 +13,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/Acceptor.h"
#include "ace/Event_Handler.h"
#include "ace/ARGV.h"
#include "ace/Get_Opt.h"
diff --git a/TAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl b/TAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl
index 6e87920f5eb..093cd2721a4 100755
--- a/TAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl
+++ b/TAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl
@@ -1,9 +1,10 @@
-# $Id$
-# -*- perl -*-
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
+# $Id$
+# -*- perl -*-
+
$tao_root = $ENV{TAO_ROOT};
# This is a Perl script that runs the Naming Service, client and servers
@@ -21,7 +22,7 @@ $nsport = 20000 + uniqueid ();
sub name_server
{
my $args = "-ORBnameserviceport $nsport";
- my $prog = "$tao_root/orbsvcs/Naming_Service/Naming_Service"
+ my $prog = "$tao_root/orbsvcs/Naming_Service/Naming_Service "
.$Process::EXE_EXT;
print ("\nNaming_Service: $prog$Process::EXE_EXT $args\n");
$NS = Process::Create ($prog, $args);
@@ -32,7 +33,7 @@ sub server
{
my $args = "-ORBnameserviceport $nsport";
print ("\nServer: server$Process::EXE_EXT $args\n");
- $SV = Process::Create ($EXEPREFIX."server$Process::EXE_EXT", $args);
+ $SV = Process::Create ('.' . $DIR_SEPARATOR . "server " .$Process::EXE_EXT . $args);
}
@@ -40,7 +41,7 @@ sub client
{
my $args = "-ORBnameserviceport $nsport";
print ("\nclient: client $args\n");
- $CL = Process::Create ($EXEPREFIX."client$Process::EXE_EXT", $args);
+ $CL = Process::Create ('.' . $DIR_SEPARATOR . "client " .$Process::EXE_EXT . $args);
}
name_server ();