Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-devtools / python / files / python-keystone / keystone-fix-location-of-files-for-tests.patch
1 From 205ee3cfa4c7efd39f5fe991b53327c1bd771f97 Mon Sep 17 00:00:00 2001
2 From: Keith Holman <Keith.Holman@windriver.com>
3 Date: Tue, 3 Jun 2014 16:19:54 -0400
4 Subject: [PATCH] keystone: fix location of files for tests
5
6 Keystone tests define the location of certificate files
7 as the location of the files in the source tree. However,
8 when installed on the system these files are put in a
9 different location.  This patch provides a symbol, which
10 is replaced, for the base path of the location of the test
11 files.
12
13 Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
14 ---
15  keystone/tests/test_overrides.conf | 6 +++---
16  1 file changed, 3 insertions(+), 3 deletions(-)
17
18 diff --git a/keystone/tests/test_overrides.conf b/keystone/tests/test_overrides.conf
19 index 801b0d2..ba35343 100644
20 --- a/keystone/tests/test_overrides.conf
21 +++ b/keystone/tests/test_overrides.conf
22 @@ -21,6 +21,6 @@ debug_cache_backend = True
23  proxies = keystone.tests.test_cache.CacheIsolatingProxy
24  
25  [signing]
26 -certfile = ../../examples/pki/certs/signing_cert.pem
27 -keyfile = ../../examples/pki/private/signing_key.pem
28 -ca_certs = ../../examples/pki/certs/cacert.pem
29 +certfile = %KEYSTONE_PACKAGE_DIR%/examples/pki/certs/signing_cert.pem
30 +keyfile = %KEYSTONE_PACKAGE_DIR%/examples/pki/private/signing_key.pem
31 +ca_certs = %KEYSTONE_PACKAGE_DIR%/examples/pki/certs/cacert.pem
32 -- 
33 1.9.3
34