summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2010-03-03 08:33:22 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-04 12:41:31 -0500
commit8f4aaae28c88c707853f8f28d8babc4efe0c1bf6 (patch)
tree478841789251a1ecefb59e3d8f5dc8fe9f35eb37 /src/tests
parent70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4 (diff)
downloadsssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.gz
sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.xz
sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.zip
Add forgotten \n in DEBUG statements
Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ipa_timerules-tests.c4
-rw-r--r--src/tests/resolv-tests.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/ipa_timerules-tests.c b/src/tests/ipa_timerules-tests.c
index 29fc7e4ac..f9e22fc85 100644
--- a/src/tests/ipa_timerules-tests.c
+++ b/src/tests/ipa_timerules-tests.c
@@ -56,10 +56,10 @@ int str2time_t(const char *fmt, const char *str, time_t *out)
if(!err || err[0] != '\0')
return EINVAL;
- DEBUG(9, ("after strptime: %s", asctime(&stm)));
+ DEBUG(9, ("after strptime: %s\n", asctime(&stm)));
stm.tm_isdst = -1;
*out = mktime(&stm);
- DEBUG(9, ("after mktime: %s", ctime(out)));
+ DEBUG(9, ("after mktime: %s\n", ctime(out)));
return (*out == -1) ? EINVAL : EOK;
}
diff --git a/src/tests/resolv-tests.c b/src/tests/resolv-tests.c
index c0133b923..eced5b2d4 100644
--- a/src/tests/resolv-tests.c
+++ b/src/tests/resolv-tests.c
@@ -211,7 +211,7 @@ static void test_negative(struct tevent_req *req)
&status, NULL, &hostent);
talloc_zfree(req);
if (recv_status == EOK) {
- DEBUG(7, ("resolv_gethostbyname_recv succeeded in a negative test"));
+ DEBUG(7, ("resolv_gethostbyname_recv succeeded in a negative test\n"));
return;
}