summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Security/MT_SSLIOP
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Security/MT_SSLIOP')
-rw-r--r--TAO/orbsvcs/tests/Security/MT_SSLIOP/client.cpp4
-rwxr-xr-xTAO/orbsvcs/tests/Security/MT_SSLIOP/run_test_harsh.pl1
-rw-r--r--TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp4
3 files changed, 5 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/Security/MT_SSLIOP/client.cpp b/TAO/orbsvcs/tests/Security/MT_SSLIOP/client.cpp
index 8ef6242213a..fd07ed0acba 100644
--- a/TAO/orbsvcs/tests/Security/MT_SSLIOP/client.cpp
+++ b/TAO/orbsvcs/tests/Security/MT_SSLIOP/client.cpp
@@ -14,7 +14,7 @@ int nthreads = 5;
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "k:n:i:x");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "k:n:i:x");
int c;
while ((c = get_opts ()) != -1)
@@ -53,7 +53,7 @@ parse_args (int argc, char *argv[])
}
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
diff --git a/TAO/orbsvcs/tests/Security/MT_SSLIOP/run_test_harsh.pl b/TAO/orbsvcs/tests/Security/MT_SSLIOP/run_test_harsh.pl
index 0bdb4fe461c..d1480fd47d1 100755
--- a/TAO/orbsvcs/tests/Security/MT_SSLIOP/run_test_harsh.pl
+++ b/TAO/orbsvcs/tests/Security/MT_SSLIOP/run_test_harsh.pl
@@ -1,3 +1,4 @@
+
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
diff --git a/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp b/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp
index b05e356507c..72cea2af0f2 100644
--- a/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp
+++ b/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp
@@ -14,7 +14,7 @@ int nthreads = 4;
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "i:o:n:");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "i:o:n:");
int c;
while ((c = get_opts ()) != -1)
@@ -60,7 +60,7 @@ parse_args (int argc, char *argv[])
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY