[MSVCRT_WINETEST] Skip 2 hanging pipe tests on ReactOS

This commit is contained in:
Timo Kreuzer 2025-05-09 10:02:43 +03:00
parent 1fef0ce8de
commit d0ca0f41f7
2 changed files with 21 additions and 2 deletions

View file

@ -1802,6 +1802,14 @@ static void test_file_inherit( const char* selfname )
arg_v[2] = "inherit";
arg_v[3] = buffer; sprintf(buffer, "%d", fd);
arg_v[4] = 0;
#ifdef __REACTOS__
if (is_reactos())
{
skip("Skipping test_file_inherit pipe test, because it hangs on ReactOS\n");
}
else
{
#endif
ret = _spawnvp(_P_WAIT, selfname, arg_v);
ok(ret == 0, "_spawnvp returned %Id, errno %d\n", ret, errno);
ret = tell(fd);
@ -1815,7 +1823,9 @@ static void test_file_inherit( const char* selfname )
CloseHandle(thread_handle);
close(pipefds[0]);
close(pipefds[1]);
#ifdef __REACTOS__
}
#endif
/* make file handle inheritable */
sa.nLength = sizeof(sa);
sa.lpSecurityDescriptor = NULL;
@ -2513,7 +2523,13 @@ static void test_pipes(const char* selfname)
char expected[4096];
int r;
int i;
#ifdef __REACTOS__
if (is_reactos())
{
win_skip("Skipping test_pipes, because it hangs on ReactOS\n");
return;
}
#endif
/* Test reading from a pipe with read() */
if (_pipe(pipes, 1024, O_BINARY) < 0)
{

View file

@ -1001,6 +1001,9 @@ int main( int argc, char **argv )
#define ok_ntstatus(status, expected) ok_hex(status, expected)
#define ok_hdl ok_ptr
#define is_reactos() \
(*(unsigned*)((size_t)0x7FFE0FFC) == 0x8EAC705)
#ifdef __cplusplus
} /* extern "C" */
#endif