[SSSD] [PATCH] tests: Do not set cwd twice
Jakub Hrozek
jhrozek at redhat.com
Sat May 11 19:09:50 UTC 2013
I noticed that the dyndns test set the cwd twice. It didn't cause any
issues, but it's not correct either.
-------------- next part --------------
>From 6058db989f34daeadf822b38a8cb7c9c909f6298 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Fri, 10 May 2013 21:57:08 +0200
Subject: [PATCH] tests: Do not set cwd twice
The tests_set_cwd() function was called twice in the dyndns unit test.
---
src/tests/cmocka/test_dyndns.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/tests/cmocka/test_dyndns.c b/src/tests/cmocka/test_dyndns.c
index 3ff5a30b43d64ec043a042270e91674190a21463..6d5219d71b65612fc290c19e2fbb663ee077c119 100644
--- a/src/tests/cmocka/test_dyndns.c
+++ b/src/tests/cmocka/test_dyndns.c
@@ -414,7 +414,6 @@ int main(int argc, const char *argv[])
test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_SYSDB_FILE);
test_dom_suite_setup(TESTS_PATH);
- tests_set_cwd();
rv = run_tests(tests);
if (rv == 0 && !no_cleanup) {
test_dom_suite_cleanup(TESTS_PATH, TEST_CONF_DB, TEST_SYSDB_FILE);
--
1.8.2.1
More information about the sssd-devel
mailing list