summaryrefslogtreecommitdiff
path: root/py/config/TestUtil.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-03-30 23:18:05 +0000
committerMark Spruiell <mes@zeroc.com>2006-03-30 23:18:05 +0000
commit3d9924ced6cf36bbd31987aea509e02f5dee3395 (patch)
tree2e7c83ffee4d086ec2b4543b24d8d80f07dc3350 /py/config/TestUtil.py
parentAllow AMD to use arrays and ranges for return and out paramaters in (diff)
downloadice-3d9924ced6cf36bbd31987aea509e02f5dee3395.tar.bz2
ice-3d9924ced6cf36bbd31987aea509e02f5dee3395.tar.xz
ice-3d9924ced6cf36bbd31987aea509e02f5dee3395.zip
new IceSSL/C++ plugin
Diffstat (limited to 'py/config/TestUtil.py')
-rw-r--r--py/config/TestUtil.py25
1 files changed, 17 insertions, 8 deletions
diff --git a/py/config/TestUtil.py b/py/config/TestUtil.py
index a75d16b077c..f7fe55aec0f 100644
--- a/py/config/TestUtil.py
+++ b/py/config/TestUtil.py
@@ -208,16 +208,24 @@ if protocol == "ssl":
certs = os.path.abspath(os.path.join(toplevel, "certs"))
plugin = " --Ice.Plugin.IceSSL=IceSSL:create"
clientProtocol = plugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Client.CertPath=" + certs + \
- " --IceSSL.Client.Config=client_sslconfig.xml"
+ " --IceSSL.Client.DefaultDir=" + certs + \
+ " --IceSSL.Client.CertFile=c_rsa1024_pub.pem" + \
+ " --IceSSL.Client.KeyFile=c_rsa1024_priv.pem" + \
+ " --IceSSL.Client.CertAuthFile=cacert.pem"
serverProtocol = plugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Server.CertPath=" + certs + \
- " --IceSSL.Server.Config=server_sslconfig.xml"
+ " --IceSSL.Server.DefaultDir=" + certs + \
+ " --IceSSL.Server.CertFile=s_rsa1024_pub.pem" + \
+ " --IceSSL.Server.KeyFile=s_rsa1024_priv.pem" + \
+ " --IceSSL.Server.CertAuthFile=cacert.pem"
clientServerProtocol = plugin + " --Ice.Default.Protocol=ssl" + \
- " --IceSSL.Client.CertPath=" + certs + \
- " --IceSSL.Client.Config=sslconfig.xml" + \
- " --IceSSL.Server.CertPath=" + certs + \
- " --IceSSL.Server.Config=sslconfig.xml"
+ " --IceSSL.Client.DefaultDir=" + certs + \
+ " --IceSSL.Client.CertFile=c_rsa1024_pub.pem" + \
+ " --IceSSL.Client.KeyFile=c_rsa1024_priv.pem" + \
+ " --IceSSL.Client.CertAuthFile=cacert.pem" + \
+ " --IceSSL.Server.DefaultDir=" + certs + \
+ " --IceSSL.Server.CertFile=s_rsa1024_pub.pem" + \
+ " --IceSSL.Server.KeyFile=s_rsa1024_priv.pem" + \
+ " --IceSSL.Server.CertAuthFile=cacert.pem"
else:
clientProtocol = ""
serverProtocol = ""
@@ -265,6 +273,7 @@ def clientServerTestWithOptionsAndNames(name, additionalServerOptions, additiona
print "starting " + serverName + "...",
serverCmd = "python " + server + serverOptions + additionalServerOptions + " 2>&1"
+ #print serverCmd
serverPipe = os.popen(serverCmd)
getServerPid(serverPipe)
getAdapterReady(serverPipe)