summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-05-10 21:57:08 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-13 16:56:51 +0200
commit7aadf5bc2dff51a72878ed07cedd8e9e7646e96e (patch)
tree06f2c13aabb652a92f91d519a4dd568db118f99a /src
parent65e454c64dbeb4b74e0cc4ad952a54861dc0c3e4 (diff)
downloadsssd-7aadf5bc2dff51a72878ed07cedd8e9e7646e96e.tar.gz
sssd-7aadf5bc2dff51a72878ed07cedd8e9e7646e96e.tar.xz
sssd-7aadf5bc2dff51a72878ed07cedd8e9e7646e96e.zip
tests: Do not set cwd twice
The tests_set_cwd() function was called twice in the dyndns unit test.
Diffstat (limited to 'src')
-rw-r--r--src/tests/cmocka/test_dyndns.c1
1 files changed, 0 insertions, 1 deletions
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);