diff -r 0125e4089f88 -r 86a23238d8a1 test/logging_tests.c --- a/test/logging_tests.c Wed Feb 06 14:35:15 2013 +0100 +++ b/test/logging_tests.c Fri Feb 08 10:37:24 2013 +0100 @@ -12,16 +12,16 @@ UCX_LOGGER_INFO, UCX_LOGGER_SOURCE | UCX_LOGGER_LEVEL); UCX_TEST_BEGIN - ucx_logger_info(logger, ST("allright")); - ucx_logger_trace(logger, ST("dont log this!")); - ucx_logger_error(logger, ST("error!")); + ucx_logger_info(logger, "allright"); + ucx_logger_trace(logger, "dont log this!"); + ucx_logger_error(logger, "error %d!", 42); fseek(stream, 0, SEEK_SET); int r = fread(buffer, 1, 100, stream); - size_t expected_length = 73; + 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!\n", expected_length) == 0, "incorrect logs"); + "[ERROR] logging_tests.c:17 - error 42!\n", expected_length) == 0, "incorrect logs"); UCX_TEST_END