summaryrefslogtreecommitdiff
path: root/src/tests/common_dom.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10Fix dereference after a NULL check in tests.Lukas Slebodnik1-6/+20
https://fedorahosted.org/sssd/ticket/1972 Coverity IDs: 11870,11871 Do not call unlink with NULL pointer.
2013-05-30Remove empty directories after tests run.Lukas Slebodnik1-0/+8
Empty directory tests_path is removed in function test_dom_suite_cleanup. Function test_dom_suite_cleanup is reused in other tests.
2013-05-03Refactor dynamic DNS updatesJakub Hrozek1-8/+1
Provides two new layers instead of the previous IPA specific layer: 1) dp_dyndns.c -- a very generic dyndns layer on the DP level. Its purpose it to make it possible for any back end to use dynamic DNS updates. 2) sdap_dyndns.c -- a wrapper around dp_dyndns.c that utilizes some LDAP-specific features like autodetecting the address from the LDAP connection. Also converts the dyndns code to new specific error codes.
2013-04-18tests: Fix the order of key/valuesJakub Hrozek1-2/+3
2013-03-08Add utility functions for tests that use sysdb or tevent.Jakub Hrozek1-0/+167
There was shared code for several unit tests that connected to their own sysdb instance. This patch adds common code to run a generic request to completion or connect to a test sysdb.