summaryrefslogtreecommitdiffstats
path: root/src/tests/ipa_ldap_opt-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ipa_ldap_opt-tests.c')
-rw-r--r--src/tests/ipa_ldap_opt-tests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/ipa_ldap_opt-tests.c b/src/tests/ipa_ldap_opt-tests.c
index 215f94a4..4b4667a4 100644
--- a/src/tests/ipa_ldap_opt-tests.c
+++ b/src/tests/ipa_ldap_opt-tests.c
@@ -27,6 +27,7 @@
#include "providers/ipa/ipa_common.h"
#include "providers/ldap/sdap.h"
+#include "tests/common.h"
START_TEST(test_check_num_opts)
{
@@ -49,6 +50,9 @@ Suite *ipa_ldap_opt_suite (void)
int main(void)
{
int number_failed;
+
+ tests_set_cwd();
+
Suite *s = ipa_ldap_opt_suite ();
SRunner *sr = srunner_create (s);
/* If CK_VERBOSITY is set, use that, otherwise it defaults to CK_NORMAL */