diff options
Diffstat (limited to 'cpp/test/IceSSL/certificateAndKeyParsing/run.py')
-rwxr-xr-x | cpp/test/IceSSL/certificateAndKeyParsing/run.py | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/cpp/test/IceSSL/certificateAndKeyParsing/run.py b/cpp/test/IceSSL/certificateAndKeyParsing/run.py deleted file mode 100755 index 1617c444edf..00000000000 --- a/cpp/test/IceSSL/certificateAndKeyParsing/run.py +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env python -# ********************************************************************** -# -# Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved. -# -# This copy of Ice is licensed to you under the terms described in the -# ICE_LICENSE file included in this distribution. -# -# ********************************************************************** - -import os, sys - -for toplevel in [".", "..", "../..", "../../..", "../../../.."]: - toplevel = os.path.normpath(toplevel) - if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): - break -else: - raise "can't find toplevel directory!" - -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) - -testOptions = " --IceSSL.Client.CertPath.Test=" + os.path.join(toplevel, "test", "IceSSL", "certs") + \ - " --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= " - -name = os.path.join("IceSSL", "certificateAndKeyParsing") -testdir = os.path.join(toplevel, "test", name) - -client = os.path.join(testdir, "certificateAndKeyParsing") - -localClientOptions = TestUtil.clientServerProtocol + TestUtil.defaultHost -print "starting certificateAndKeyParsing...", -clientPipe = os.popen(client + localClientOptions + testOptions + " 2>&1") -print "ok" - -TestUtil.printOutputFromPipe(clientPipe) - -clientStatus = TestUtil.closePipe(clientPipe) - -if clientStatus: - sys.exit(1) - -sys.exit(0) |