diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-03-25 22:41:31 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-03-25 22:41:31 +0000 |
commit | 99528353dee44b173f35470f3920b6c7f9c7cb95 (patch) | |
tree | ecf9c1290c00e36dd24862be68c2044cb4d14850 /cpp/test/IceSSL/certificateVerification/run.py | |
parent | project file fixes (diff) | |
download | ice-99528353dee44b173f35470f3920b6c7f9c7cb95.tar.bz2 ice-99528353dee44b173f35470f3920b6c7f9c7cb95.tar.xz ice-99528353dee44b173f35470f3920b6c7f9c7cb95.zip |
Updated to fit into the test framework.
Diffstat (limited to 'cpp/test/IceSSL/certificateVerification/run.py')
-rwxr-xr-x | cpp/test/IceSSL/certificateVerification/run.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/test/IceSSL/certificateVerification/run.py b/cpp/test/IceSSL/certificateVerification/run.py index d4fa4d49e94..db585eb3e28 100755 --- a/cpp/test/IceSSL/certificateVerification/run.py +++ b/cpp/test/IceSSL/certificateVerification/run.py @@ -21,6 +21,18 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil +if TestUtil.protocol != "ssl": + print "This test may only be run with SSL enabled." + sys.exit(0) + +TestUtil.clientOptions += \ + " --Ice.SSL.Test.Client.CertPath=TOPLEVELDIR/test/IceSSL/certs" +TestUtil.serverOptions += \ + " --Ice.SSL.Test.Server.CertPath=TOPLEVELDIR/test/IceSSL/certs" +TestUtil.clientServerOptions += \ + " --Ice.SSL.Test.Client.CertPath=TOPLEVELDIR/test/IceSSL/certs" + \ + " --Ice.SSL.Test.Server.CertPath=TOPLEVELDIR/test/IceSSL/certs" + name = os.path.join("IceSSL", "certificateVerification") print "testing default certificate verifier." |