--- a/test/logging_tests.c Fri Jun 21 10:27:03 2013 +0200 +++ b/test/logging_tests.c Fri Jun 21 10:50:50 2013 +0200 @@ -42,10 +42,12 @@ fseek(stream, 0, SEEK_SET); size_t r = fread(buffer, 1, 100, stream); + // TODO: completely rewrite this test + size_t expected_length = 76; UCX_TEST_ASSERT(r == expected_length && strncmp(buffer, - "[INFO] logging_tests.c:15 - allright\n" - "[ERROR] logging_tests.c:17 - error 42!\n", expected_length) == 0, "incorrect logs"); + "[INFO] logging_tests.c:39 - allright\n" + "[ERROR] logging_tests.c:41 - error 42!\n", expected_length) == 0, "incorrect logs"); UCX_TEST_END