From e79b00793e7f186aea49900cf801f32020f74bf0 Mon Sep 17 00:00:00 2001 From: Marcin Niesluchowski Date: Wed, 29 Jan 2014 09:57:23 +0100 Subject: [PATCH] Adding configuration file regarding dbus policy. [Issue#] SSDWSSP-750 [Bug/Feature] Security-server tests using dbus fail. [Cause] Lack of dbus policy for security-tests. [Solution] Adding conf file. [Verification] Build, install, run tests. Change-Id: I932fc6712aee0211a06940133e09db61dde45c12 --- packaging/security-tests.spec | 2 ++ tests/common/CMakeLists.txt | 2 ++ tests/common/security-tests.conf | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 100644 tests/common/security-tests.conf diff --git a/packaging/security-tests.spec b/packaging/security-tests.spec index a21c76e..c944bc0 100644 --- a/packaging/security-tests.spec +++ b/packaging/security-tests.spec @@ -79,6 +79,8 @@ osp-installer -u V5LKqDFBXm /usr/bin/test-performance-check.sh /usr/bin/perf +/etc/dbus-1/system.d/security-tests.conf + /usr/bin/libsmack-test /usr/bin/libprivilege-control-test /usr/bin/security-server-tests-client-smack diff --git a/tests/common/CMakeLists.txt b/tests/common/CMakeLists.txt index b3eeede..669ed2e 100644 --- a/tests/common/CMakeLists.txt +++ b/tests/common/CMakeLists.txt @@ -32,3 +32,5 @@ INCLUDE_DIRECTORIES( ADD_LIBRARY(${COMMON_TARGET_TEST} ${COMMON_TARGET_TEST_SOURCES}) TARGET_LINK_LIBRARIES(${COMMON_TARGET_TEST} ${COMMON_TARGET_DEP_LIBRARIES}) + +INSTALL (FILES ${PROJECT_SOURCE_DIR}/tests/common/security-tests.conf DESTINATION /etc/dbus-1/system.d) diff --git a/tests/common/security-tests.conf b/tests/common/security-tests.conf new file mode 100644 index 0000000..0ae6722 --- /dev/null +++ b/tests/common/security-tests.conf @@ -0,0 +1,10 @@ + + + + + + + + + -- 2.7.4