From 428db8a58c0c149d5efccc6d788f70916c1d34d7 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 27 Jul 2014 14:44:24 +0200 Subject: TESTS: Add a test to change user IDs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a unit test using the nss_wrapper and uid_wrapper libraries that exercises the ability to become another user. Reviewed-by: Lukáš Slebodník --- contrib/ci/deps.sh | 2 ++ contrib/sssd.spec.in | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'contrib') diff --git a/contrib/ci/deps.sh b/contrib/ci/deps.sh index 998d2858b..37a8e46c0 100644 --- a/contrib/ci/deps.sh +++ b/contrib/ci/deps.sh @@ -35,6 +35,8 @@ if [[ "$DISTRO_BRANCH" == -redhat-* ]]; then libcmocka-devel mock rpm-build + uid_wrapper + nss_wrapper ) _DEPS_LIST_SPEC=` sed -e 's/@PACKAGE_VERSION@/0/g' \ diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 611730c19..529304205 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -114,6 +114,10 @@ BuildRequires: selinux-policy-targeted %if 0%{?fedora} BuildRequires: libcmocka-devel %endif +%if (0%{?fedora} >= 20) +BuildRequires: uid_wrapper +BuildRequires: nss_wrapper +%endif %if (0%{?fedora} || 0%{?rhel} >= 7) BuildRequires: libnl3-devel %else -- cgit