Module: wine Branch: master Commit: 43c97f44775ea01609a64d22e628a4373bb869b8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=43c97f44775ea01609a64d22e6...
Author: James Hawkins jhawkins@codeweavers.com Date: Tue Sep 2 01:05:37 2008 -0500
msvcrt: Trace the results of two failing tests.
---
dlls/msvcrt/tests/printf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/tests/printf.c b/dlls/msvcrt/tests/printf.c index d7abacd..040c4a7 100644 --- a/dlls/msvcrt/tests/printf.c +++ b/dlls/msvcrt/tests/printf.c @@ -390,9 +390,9 @@ static void test_sprintf( void ) format = "asdf%n"; x = 0; r = sprintf(buffer, format, &x ); - ok(x == 4, "should write to x\n"); + ok(x == 4, "should write to x: %d\n", x); ok(!strcmp(buffer,"asdf"), "failed\n"); - ok( r==4, "return count wrong\n"); + ok( r==4, "return count wrong: %d\n", r);
format = "%-1d"; r = sprintf(buffer, format,2);