mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:02:02 +00:00
Stop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string
svn path=/trunk/; revision=57207
This commit is contained in:
parent
455c9969d1
commit
55e8f7ae69
2 changed files with 4 additions and 9 deletions
|
@ -25,7 +25,6 @@ START_TEST(_vscprintf)
|
|||
call_varargs(12, "%S world!", L"hello");
|
||||
call_varargs(12, "%s world!", "hello");
|
||||
call_varargs(11, "%u cookies", 100);
|
||||
/* Test NULL argument */
|
||||
call_varargs(-1, NULL);
|
||||
ok(errno == EINVAL, "Expected EINVAL, got %u\n", errno);
|
||||
/* Do not test NULL argument. That is verified to SEGV on a */
|
||||
/* release-build with VC10 and MS' msvcrt. */
|
||||
}
|
||||
|
|
|
@ -25,10 +25,6 @@ START_TEST(_vscwprintf)
|
|||
call_varargs(19, L"%s world!", "hello");
|
||||
call_varargs(12, L"%s world!", L"hello");
|
||||
call_varargs(17, L"Jack ate %u pies", 100);
|
||||
|
||||
/* Test NULL argument */
|
||||
call_varargs(-1, NULL);
|
||||
#if defined(TEST_MSVCRT) /* NTDLL doesn't use/set errno */
|
||||
ok(errno == EINVAL, "Expected EINVAL, got %u\n", errno);
|
||||
#endif
|
||||
/* Do not test NULL argument. That is verified to SEGV on a */
|
||||
/* release-build with VC10 and MS' msvcrt. */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue