test/logging_tests.c

changeset 105
f08fa6308d1f
parent 103
08018864fb91
child 134
4d320dc3a7af
     1.1 --- a/test/logging_tests.c	Fri Jun 21 10:27:03 2013 +0200
     1.2 +++ b/test/logging_tests.c	Fri Jun 21 10:50:50 2013 +0200
     1.3 @@ -42,10 +42,12 @@
     1.4      fseek(stream, 0, SEEK_SET);
     1.5      size_t r = fread(buffer, 1, 100, stream);
     1.6      
     1.7 +    // TODO: completely rewrite this test
     1.8 +    
     1.9      size_t expected_length = 76;
    1.10      UCX_TEST_ASSERT(r == expected_length && strncmp(buffer,
    1.11 -            "[INFO] logging_tests.c:15 - allright\n"
    1.12 -            "[ERROR] logging_tests.c:17 - error 42!\n", expected_length) == 0, "incorrect logs");
    1.13 +            "[INFO] logging_tests.c:39 - allright\n"
    1.14 +            "[ERROR] logging_tests.c:41 - error 42!\n", expected_length) == 0, "incorrect logs");
    1.15  
    1.16      UCX_TEST_END
    1.17  

mercurial