summaryrefslogtreecommitdiff
path: root/cpp/test/IceSSL/loadPEM/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceSSL/loadPEM/run.py')
-rwxr-xr-xcpp/test/IceSSL/loadPEM/run.py49
1 files changed, 0 insertions, 49 deletions
diff --git a/cpp/test/IceSSL/loadPEM/run.py b/cpp/test/IceSSL/loadPEM/run.py
deleted file mode 100755
index fb6816617ce..00000000000
--- a/cpp/test/IceSSL/loadPEM/run.py
+++ /dev/null
@@ -1,49 +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=" + 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", "loadPEM")
-testdir = os.path.join(toplevel, "test", name)
-
-client = os.path.join(testdir, "loadPEM")
-
-localClientOptions = TestUtil.clientServerProtocol + TestUtil.defaultHost
-print "starting loadPEM...",
-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)