mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[CRT_APITEST]
Fix sprintf tests to succeed on W2K3 svn path=/trunk/; revision=70456
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user