diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-27 14:44:24 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-10 13:56:08 +0200 |
commit | 428db8a58c0c149d5efccc6d788f70916c1d34d7 (patch) | |
tree | 531147790cdabf2d81b56915bed7e3e29d878efe /contrib | |
parent | 40b2be4f4312470044cdef460b02b66003f5c85f (diff) | |
download | sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.tar.gz sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.tar.xz sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.zip |
TESTS: Add a test to change user IDs
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 <lslebodn@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ci/deps.sh | 2 | ||||
-rw-r--r-- | contrib/sssd.spec.in | 4 |
2 files changed, 6 insertions, 0 deletions
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 |