diff options
| author | Keith Holman <Keith.Holman@windriver.com> | 2014-06-03 17:06:46 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-09 10:49:39 -0400 |
| commit | 16422afffcb922a61c770b095fc6e8666d5cc935 (patch) | |
| tree | 5e50cc6725e96c61a384b58713a8af93bbcf53ce /meta-openstack/recipes-devtools/python/python-keystone_git.bb | |
| parent | 28f26ad0727a870e9dfc8b1442bb8ceaeaebb5e8 (diff) | |
| download | meta-cloud-services-16422afffcb922a61c770b095fc6e8666d5cc935.tar.gz | |
keystone: create test temporary directory
Some Keystone tests create temporary files, usually
databases for testing. These files are stored in the
"tmp" directory under the "tests" directory in Keystone.
The fix creates this directory so these tests don't fail
on failing to create temporary files because the path
doesn't exist.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index 08a9132..4c32dc8 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
| @@ -59,6 +59,8 @@ do_install_append() { | |||
| 59 | install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone | 59 | install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone |
| 60 | fi | 60 | fi |
| 61 | 61 | ||
| 62 | install -d ${KEYSTONE_PACKAGE_DIR}/tests/tmp | ||
| 63 | |||
| 62 | sed -e "s:%KEYSTONE_PACKAGE_DIR%:${PYTHON_SITEPACKAGES_DIR}/keystone:g" -i ${KEYSTONE_PACKAGE_DIR}/tests/test_overrides.conf | 64 | sed -e "s:%KEYSTONE_PACKAGE_DIR%:${PYTHON_SITEPACKAGES_DIR}/keystone:g" -i ${KEYSTONE_PACKAGE_DIR}/tests/test_overrides.conf |
| 63 | 65 | ||
| 64 | cp run_tests.sh ${KEYSTONE_CONF_DIR} | 66 | cp run_tests.sh ${KEYSTONE_CONF_DIR} |
