[CRT_APITEST]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 28 Dec 2015 15:49:29 +0000 (15:49 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 28 Dec 2015 15:49:29 +0000 (15:49 +0000)
Fix sprintf tests to succeed on W2K3

svn path=/trunk/; revision=70456

rostests/apitests/crt/sprintf.c

index 348c9b7..9a253e5 100644 (file)
@@ -85,20 +85,12 @@ START_TEST(sprintf)
     StartSeh()
         Length = sprintf(NULL, "");
         ok_int(Length, 0);
-#if defined(TEST_CRTDLL) || defined(TEST_USER32)
     EndSeh(STATUS_ACCESS_VIOLATION);
-#else
-    EndSeh(STATUS_SUCCESS);
-#endif
 
     StartSeh()
         Length = sprintf(NULL, "Hello");
         ok_int(Length, 5);
-#if defined(TEST_CRTDLL) || defined(TEST_USER32)
     EndSeh(STATUS_ACCESS_VIOLATION);
-#else
-    EndSeh(STATUS_SUCCESS);
-#endif
 
     /* some basic formats */
     Length = sprintf(Buffer, "abcde");