tangled
alpha
login
or
join now
huwcampbell.com
/
reactos
0
fork
atom
Reactos
0
fork
atom
overview
issues
pulls
pipelines
[MSVCRT_WINETEST] Skip 2 hanging pipe tests on ReactOS
Timo Kreuzer
10 months ago
d0ca0f41
1fef0ce8
+21
-2
2 changed files
expand all
collapse all
unified
split
modules
rostests
winetests
msvcrt
file.c
sdk
include
reactos
wine
test.h
+18
-2
modules/rostests/winetests/msvcrt/file.c
reviewed
···
1802
1802
arg_v[2] = "inherit";
1803
1803
arg_v[3] = buffer; sprintf(buffer, "%d", fd);
1804
1804
arg_v[4] = 0;
1805
1805
+
#ifdef __REACTOS__
1806
1806
+
if (is_reactos())
1807
1807
+
{
1808
1808
+
skip("Skipping test_file_inherit pipe test, because it hangs on ReactOS\n");
1809
1809
+
}
1810
1810
+
else
1811
1811
+
{
1812
1812
+
#endif
1805
1813
ret = _spawnvp(_P_WAIT, selfname, arg_v);
1806
1814
ok(ret == 0, "_spawnvp returned %Id, errno %d\n", ret, errno);
1807
1815
ret = tell(fd);
···
1815
1823
CloseHandle(thread_handle);
1816
1824
close(pipefds[0]);
1817
1825
close(pipefds[1]);
1818
1818
-
1826
1826
+
#ifdef __REACTOS__
1827
1827
+
}
1828
1828
+
#endif
1819
1829
/* make file handle inheritable */
1820
1830
sa.nLength = sizeof(sa);
1821
1831
sa.lpSecurityDescriptor = NULL;
···
2513
2523
char expected[4096];
2514
2524
int r;
2515
2525
int i;
2516
2516
-
2526
2526
+
#ifdef __REACTOS__
2527
2527
+
if (is_reactos())
2528
2528
+
{
2529
2529
+
win_skip("Skipping test_pipes, because it hangs on ReactOS\n");
2530
2530
+
return;
2531
2531
+
}
2532
2532
+
#endif
2517
2533
/* Test reading from a pipe with read() */
2518
2534
if (_pipe(pipes, 1024, O_BINARY) < 0)
2519
2535
{
+3
sdk/include/reactos/wine/test.h
reviewed
···
1001
1001
#define ok_ntstatus(status, expected) ok_hex(status, expected)
1002
1002
#define ok_hdl ok_ptr
1003
1003
1004
1004
+
#define is_reactos() \
1005
1005
+
(*(unsigned*)((size_t)0x7FFE0FFC) == 0x8EAC705)
1006
1006
+
1004
1007
#ifdef __cplusplus
1005
1008
} /* extern "C" */
1006
1009
#endif