6ea6662287147308b81b9c9f2f1f3c992d01bc50 |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
TESTS: Amend sysdb_view tests for the FQDN schema
Reviewed-by: Sumit Bose <sbose@redhat.com> |
c6230645a43e819d5c3721f08f79c25158c4f4d0 |
|
07-Jul-2016 |
Michal Zidek <mzidek@redhat.com> |
TESTS: Start converting the sysdb views tests to the fqname format
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
50c9d542e8bf641412debaa82a4dcf67ddb72258 |
|
18-Sep-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
tests: Use unique name for TEST_PATH
We had a cases in patch where two tests were using the same TEST_PATH
and therefore they were stepping each other to the same files
which caused failures. These failures are not easy to reproduce.
This patch uses macro BASE_FILE_STEM for unique name. It should prevent
copy&paste problem resulting to intermittent failures.
@see also
https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
4f68747b1baca78be496e9a5ebe4b89a9845dc8d |
|
28-Jul-2015 |
Pavel Reichl <preichl@redhat.com> |
TESTS: fix compiler warnings
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
a8d31510d12af6ee39fb3e1e13f3a4f6bdef33c1 |
|
27-Jul-2015 |
Pavel Březina <pbrezina@redhat.com> |
SYSDB: prepare for LOCAL view
Objects doesn't have to have overrideDN specified when using LOCAL view.
Since the view is not stored on the server we do not want to contact
LDAP therefore we special case LOCAL view saying that it is OK that
this attribute is missing.
Preparation for:
https://fedorahosted.org/sssd/ticket/2584
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
166a622bcba319aaa7190fbc348af887cbba30bf |
|
27-Jul-2015 |
Pavel Březina <pbrezina@redhat.com> |
VIEWS TEST: add null-check
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
696c17580b49d6817f1dd33915e0e209dcfe4225 |
|
15-Jul-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: Add functions to look up multiple entries including name and custom filter
Related:
https://fedorahosted.org/sssd/ticket/2553
Adds new sysdb function:
- sysdb_enumpwent_filter
- sysdb_enumpwent_filter_with_views
- sysdb_enumgrent_filter
- sysdb_enumgrent_filter_with_views
These are similar to enumeration functions, but optionally allow to
specify a filter to be applied on user/group names. Also an additional
custom filter can be applied.
Reviewed-by: Pavel Březina <pbrezina@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> |
ad1bc5e129a9a2128851aa028247f8e5fab54cc8 |
|
07-Jan-2015 |
Sumit Bose <sbose@redhat.com> |
Add test for sysdb_store_override
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
2fe140d3a41e1ac66400069d35adc9379348c1e5 |
|
25-Nov-2014 |
Sumit Bose <sbose@redhat.com> |
sysdb: add sysdb_invalidate_overrides()
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
fe2ab0d67fe8c66fb6352e9d8f845bb46d1848cb |
|
25-Nov-2014 |
Sumit Bose <sbose@redhat.com> |
sysdb: add sysdb_delete_view_tree()
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
8eb981dd8bc85aee7a913c6f0096ad47f3382339 |
|
20-Nov-2014 |
Sumit Bose <sbose@redhat.com> |
ipa: add split_ipa_anchor()
This call extracts the domain and the UUID part from an IPA override
anchor.
Related to https://fedorahosted.org/sssd/ticket/2481
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
0d0e787555efc1e6e4eb39a924bb9861bf2921d5 |
|
06-Nov-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
test_sysdb_views: Use unique directory for cache
Two tests stored cache in the same directory, It can cause failures with
parallel execution of tests.
sh$ git grep tests_sysdb
src/tests/cmocka/test_sysdb_views.c:#define TESTS_PATH "tests_sysdb"
src/tests/sysdb-tests.c:#define TESTS_PATH "tests_sysdb"
This patch also clean up potential leftovers after previous failed
test_sysdb_views before execution of test suite.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
a524965fbe0551f1b3a68f1e5c7a5689a652998f |
|
05-Nov-2014 |
Sumit Bose <sbose@redhat.com> |
Add test for sysdb_add_overrides_to_object()
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |