mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +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()
|
StartSeh()
|
||||||
Length = sprintf(NULL, "");
|
Length = sprintf(NULL, "");
|
||||||
ok_int(Length, 0);
|
ok_int(Length, 0);
|
||||||
#if defined(TEST_CRTDLL) || defined(TEST_USER32)
|
|
||||||
EndSeh(STATUS_ACCESS_VIOLATION);
|
EndSeh(STATUS_ACCESS_VIOLATION);
|
||||||
#else
|
|
||||||
EndSeh(STATUS_SUCCESS);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
StartSeh()
|
StartSeh()
|
||||||
Length = sprintf(NULL, "Hello");
|
Length = sprintf(NULL, "Hello");
|
||||||
ok_int(Length, 5);
|
ok_int(Length, 5);
|
||||||
#if defined(TEST_CRTDLL) || defined(TEST_USER32)
|
|
||||||
EndSeh(STATUS_ACCESS_VIOLATION);
|
EndSeh(STATUS_ACCESS_VIOLATION);
|
||||||
#else
|
|
||||||
EndSeh(STATUS_SUCCESS);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* some basic formats */
|
/* some basic formats */
|
||||||
Length = sprintf(Buffer, "abcde");
|
Length = sprintf(Buffer, "abcde");
|
||||||
|
|
Loading…
Reference in a new issue