Author: tkreuzer
Date: Mon Dec 28 15:49:29 2015
New Revision: 70456

URL: http://svn.reactos.org/svn/reactos?rev=70456&view=rev
Log:
[CRT_APITEST]
Fix sprintf tests to succeed on W2K3

Modified:
    trunk/rostests/apitests/crt/sprintf.c

Modified: trunk/rostests/apitests/crt/sprintf.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/sprintf.c?rev=70456&r1=70455&r2=70456&view=diff
==============================================================================
--- trunk/rostests/apitests/crt/sprintf.c       [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/sprintf.c       [iso-8859-1] Mon Dec 28 
15:49:29 2015
@@ -85,20 +85,12 @@
     StartSeh()
         Length = sprintf(NULL, "");
         ok_int(Length, 0);
-#if defined(TEST_CRTDLL) || defined(TEST_USER32)
-    EndSeh(STATUS_ACCESS_VIOLATION);
-#else
-    EndSeh(STATUS_SUCCESS);
-#endif
+    EndSeh(STATUS_ACCESS_VIOLATION);
 
     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
+    EndSeh(STATUS_ACCESS_VIOLATION);
 
     /* some basic formats */
     Length = sprintf(Buffer, "abcde");


Reply via email to