From ebe7098fb5a3199f41a2fa1f36b8c594e63aba2d Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Tue, 3 Jun 2014 17:04:22 -0400 Subject: keystone: fix location of files for tests Keystone tests define the location of certificate files as the location of the files in the source tree. However, when installed on the system files are put in different locations. This change patches the configuration file for some tests to contain the full path to the tests directories. Signed-off-by: Keith Holman --- meta-openstack/recipes-devtools/python/python-keystone_git.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb') diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index 3f4220c..4c28f78 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb @@ -13,6 +13,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ file://keystone \ file://openrc \ file://keystone-search-in-etc-directory-for-config-files.patch \ + file://keystone-fix-location-of-files-for-tests.patch \ " SRCREV="a96d1a44bc0f074729c312e5c2a0f0875edf1765" @@ -58,6 +59,8 @@ do_install_append() { install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone fi + sed -e "s:%KEYSTONE_PACKAGE_DIR%:${PYTHON_SITEPACKAGES_DIR}/keystone:g" -i ${KEYSTONE_PACKAGE_DIR}/tests/test_overrides.conf + cp run_tests.sh ${KEYSTONE_CONF_DIR} } -- cgit v1.2.3-54-g00ecf