From 7aadf5bc2dff51a72878ed07cedd8e9e7646e96e Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 10 May 2013 21:57:08 +0200 Subject: 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 3ff5a30b..6d5219d7 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); -- cgit