msvcrt/tests: Extend test for invalid std handle on msvcrt init.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
4121a29b50
commit
35bea75647
1 changed files with 3 additions and 0 deletions
|
@ -1896,6 +1896,9 @@ static void test_invalid_stdin_child( void )
|
|||
handle = (HANDLE)_get_osfhandle(STDIN_FILENO);
|
||||
ok(handle == (HANDLE)-2, "handle = %p\n", handle);
|
||||
ok(errno == 0xdeadbeef, "errno = %d\n", errno);
|
||||
handle = GetStdHandle(STD_INPUT_HANDLE);
|
||||
todo_wine
|
||||
ok((LONG_PTR)handle > 0, "Expecting passed handle to be untouched\n");
|
||||
|
||||
info = &__pioinfo[STDIN_FILENO/MSVCRT_FD_BLOCK_SIZE][STDIN_FILENO%MSVCRT_FD_BLOCK_SIZE];
|
||||
ok(info->handle == (HANDLE)-2, "info->handle = %p\n", info->handle);
|
||||
|
|
Loading…
Add table
Reference in a new issue