mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[CRT_APITEST]
Fix sprintf tests to succeed on W2K3 svn path=/trunk/; revision=70456
This commit is contained in:
parent
42a833ef22
commit
c88949294c
1 changed files with 0 additions and 8 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue