49dd8ee2834d9477418961dbaffa4a03cfa9fd1e |
|
29-Jan-2018 |
René Genz <liebundartig@freenet.de> |
Fix minor spelling mistakes in tests/*
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
2a5cf841dec2785333117a293fcd8c875ace28b9 |
|
12-Apr-2016 |
Petr Cech <pcech@redhat.com> |
TESTS: global_talloc_context push/pop remove
Push/pop global_talloc_context into check_leaks is redudant. It is done
in leak_check_setup() and leak_check_teardown() functions in
src/tests/check_leaks.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
20a2be57d764f58c4a6532310331e26a3273ada8 |
|
11-Nov-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
TESTS: Check return value of check_leaks_pop
Reviewed-by: Petr Cech <pcech@redhat.com> |
9c62d6619b87f1255ef6515280a20552fca9d925 |
|
11-Nov-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
TESTS: Initialize leak check
If leak_check_setup is not called then global_talloc_context
was not initialized and check_leaks_pop(global_talloc_context) will fail.
Reviewed-by: Petr Cech <pcech@redhat.com> |
4e5e846de22407f825fe3b4040d79606818a2419 |
|
11-Mar-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
tests: convert all unit tests to cmocka 1.0 or later
All tests now use the cmocka-1.0-compatible API.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
35b4b217fa2b91bfc8d58c47024faf41c95fc807 |
|
18-Nov-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
KRB5: Do not switch_creds() if already the specified user
The code didn't have to handle this case previously as sssd_be was always
running as root and switching to the ccache as the user logging in.
Also handle NULL creds on restore_creds() in case there was no switch.
One less if-condition and fewer indentation levels.
Related:
https://fedorahosted.org/sssd/ticket/2370
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
428db8a58c0c149d5efccc6d788f70916c1d34d7 |
|
10-Oct-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
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> |