diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/common.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tests/common.c b/src/tests/common.c index 54c93e28..16c05165 100644 --- a/src/tests/common.c +++ b/src/tests/common.c @@ -33,12 +33,8 @@ tests_set_cwd(void) ret = chdir(TEST_DIR); if (ret == -1) { - if (strlen(TEST_DIR)) { - fprintf(stderr, - "Could not chdir to [%s].\n" - "Attempting to continue with current dir\n", - TEST_DIR); - } + fprintf(stderr, "Could not chdir to [%s].\n" + "Attempting to continue with current dir\n", TEST_DIR); } } |