diff options
author | Marc Laukien <marc@zeroc.com> | 2002-11-08 18:14:53 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-11-08 18:14:53 +0000 |
commit | 4b2433c82b06bbda1b604e0baaa559e83bac5ce9 (patch) | |
tree | 6211a8e432034fd0b05532ca7e7ceaabe1c763f2 /cpp/test/IceSSL/certificateVerification/run.py | |
parent | Removed redundant iostream include that was left behind for tracing. (diff) | |
download | ice-4b2433c82b06bbda1b604e0baaa559e83bac5ce9.tar.bz2 ice-4b2433c82b06bbda1b604e0baaa559e83bac5ce9.tar.xz ice-4b2433c82b06bbda1b604e0baaa559e83bac5ce9.zip |
fixes
Diffstat (limited to 'cpp/test/IceSSL/certificateVerification/run.py')
-rwxr-xr-x | cpp/test/IceSSL/certificateVerification/run.py | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/cpp/test/IceSSL/certificateVerification/run.py b/cpp/test/IceSSL/certificateVerification/run.py index 705382af0a7..9038b280d80 100755 --- a/cpp/test/IceSSL/certificateVerification/run.py +++ b/cpp/test/IceSSL/certificateVerification/run.py @@ -29,22 +29,28 @@ if TestUtil.protocol != "ssl": print "This test may only be run with SSL enabled." sys.exit(0) -TestUtil.clientOptions += \ - " --IceSSL.Test.Client.CertPath=TOPLEVELDIR/test/IceSSL/certs" -TestUtil.serverOptions += \ - " --IceSSL.Test.Server.CertPath=TOPLEVELDIR/test/IceSSL/certs" -TestUtil.clientServerOptions += \ - " --IceSSL.Test.Client.CertPath=TOPLEVELDIR/test/IceSSL/certs" + \ - " --IceSSL.Test.Server.CertPath=TOPLEVELDIR/test/IceSSL/certs" +testOptions = " --IceSSL.Client.CertPath=" + os.path.join(toplevel, "test", "IceSSL", "certs") + \ + " --IceSSL.Client.Config= " + \ + " --IceSSL.Server.CertPath=" + os.path.join(toplevel, "test", "IceSSL", "certs") + \ + " --IceSSL.Server.Config= " + +TestUtil.clientOptions += " --IceSSL.Test.Client.CertPath=" + \ + os.path.join(toplevel, "test", "IceSSL", "certs") +TestUtil.serverOptions += " --IceSSL.Test.Server.CertPath=" + \ + os.path.join(toplevel, "test", "IceSSL", "certs") +TestUtil.clientServerOptions += " --IceSSL.Test.Client.CertPath=" + \ + os.path.join(toplevel, "test", "IceSSL", "certs") + \ + " --IceSSL.Test.Server.CertPath=" + \ + os.path.join(toplevel, "test", "IceSSL", "certs") name = os.path.join("IceSSL", "certificateVerification") print "testing default certificate verifier." -TestUtil.clientServerTest(toplevel, name) +TestUtil.clientServerTest(name) print "testing single-certificate certificate verifier." TestUtil.clientOptions += " --IceSSL.Client.CertificateVerifier=singleCert" TestUtil.serverOptions += " --IceSSL.Server.CertificateVerifier=singleCert" -TestUtil.clientServerTest(toplevel, name) +TestUtil.clientServerTest(name) sys.exit(0) |