James Hawkins : msvcrt: Trace the results of two failing tests.

Alexandre Julliard julliard at winehq.org
Wed Sep 3 07:43:34 CDT 2008


Module: wine
Branch: master
Commit: 43c97f44775ea01609a64d22e628a4373bb869b8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=43c97f44775ea01609a64d22e628a4373bb869b8

Author: James Hawkins <jhawkins at 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);




More information about the wine-cvs mailing list