summaryrefslogtreecommitdiffstats
path: root/make-testcert
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-05-21 13:40:27 +0200
committerMartin Kosek <mkosek@redhat.com>2013-06-17 19:22:50 +0200
commitc60142efda817f030a7495cd6fe4a19953e55afa (patch)
tree31a840ceddd4381311bbc879f9851bb71a8e2ffa /make-testcert
parent6d66e826c1c248dffc80056b20c1e4b74b04d46f (diff)
downloadfreeipa-c60142efda817f030a7495cd6fe4a19953e55afa.tar.gz
freeipa-c60142efda817f030a7495cd6fe4a19953e55afa.tar.xz
freeipa-c60142efda817f030a7495cd6fe4a19953e55afa.zip
Make an ipa-tests package
Rename the 'tests' directory to 'ipa-tests', and create an ipa-tests RPM containing the test suite Part of the work for: https://fedorahosted.org/freeipa/ticket/3654
Diffstat (limited to 'make-testcert')
-rwxr-xr-xmake-testcert6
1 files changed, 3 insertions, 3 deletions
diff --git a/make-testcert b/make-testcert
index a5814e1d..19c188a7 100755
--- a/make-testcert
+++ b/make-testcert
@@ -21,7 +21,7 @@
"""
Generate a custom certificate used in the service unit tests. The certificate
-will be created in tests/test_xmlrpc/service.crt
+will be created in ipatests/test_xmlrpc/service.crt
"""
import sys
import os
@@ -33,7 +33,7 @@ from ipaserver.plugins import rabase
from ipapython import ipautil
from ipapython.dn import DN
-CERTPATH = 'tests/test_xmlrpc/service.crt'
+CERTPATH = 'ipatests/test_xmlrpc/service.crt'
def run_certutil(reqdir, args, stdin=None):
"""
@@ -86,7 +86,7 @@ def makecert(reqdir):
ra = rabase.rabase()
if not os.path.exists(ra.sec_dir) and api.env.xmlrpc_uri == 'http://localhost:8888/ipa/xml':
- sys.exit('The in-tree self-signed CA is not configured, see tests/test_xmlrpc/test_cert.py')
+ sys.exit('The in-tree self-signed CA is not configured, see ipatests/test_xmlrpc/test_cert.py')
pwname = reqdir + "/pwd"