1.1 --- a/test/logging_tests.c Wed Feb 06 14:35:15 2013 +0100 1.2 +++ b/test/logging_tests.c Fri Feb 08 10:37:24 2013 +0100 1.3 @@ -12,16 +12,16 @@ 1.4 UCX_LOGGER_INFO, UCX_LOGGER_SOURCE | UCX_LOGGER_LEVEL); 1.5 1.6 UCX_TEST_BEGIN 1.7 - ucx_logger_info(logger, ST("allright")); 1.8 - ucx_logger_trace(logger, ST("dont log this!")); 1.9 - ucx_logger_error(logger, ST("error!")); 1.10 + ucx_logger_info(logger, "allright"); 1.11 + ucx_logger_trace(logger, "dont log this!"); 1.12 + ucx_logger_error(logger, "error %d!", 42); 1.13 fseek(stream, 0, SEEK_SET); 1.14 int r = fread(buffer, 1, 100, stream); 1.15 1.16 - size_t expected_length = 73; 1.17 + size_t expected_length = 76; 1.18 UCX_TEST_ASSERT(r == expected_length && strncmp(buffer, 1.19 "[INFO] logging_tests.c:15 - allright\n" 1.20 - "[ERROR] logging_tests.c:17 - error!\n", expected_length) == 0, "incorrect logs"); 1.21 + "[ERROR] logging_tests.c:17 - error 42!\n", expected_length) == 0, "incorrect logs"); 1.22 1.23 UCX_TEST_END 1.24