mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
- Hack away kernel32 pipe tests -- ros' npfs is in a sad, sorry state
- Also skip process console tests (what's that you say? I am a lazy, hacky person? Couldn't agree more) svn path=/trunk/; revision=38249
This commit is contained in:
parent
4bd273ce6c
commit
2d59827e7e
3 changed files with 34 additions and 0 deletions
|
@ -1325,6 +1325,9 @@ START_TEST(pipe)
|
|||
{
|
||||
HMODULE hmod;
|
||||
|
||||
skip("ROS-HACK: Skipping pipe tests -- ros' npfs is in a sorry state\n");
|
||||
return;
|
||||
|
||||
hmod = GetModuleHandle("advapi32.dll");
|
||||
pDuplicateTokenEx = (void *) GetProcAddress(hmod, "DuplicateTokenEx");
|
||||
|
||||
|
|
|
@ -1128,6 +1128,9 @@ static void test_Console(void)
|
|||
const char* msg = "This is a std-handle inheritance test.";
|
||||
unsigned msg_len;
|
||||
|
||||
skip("ROS-HACK: Skipping process console tests\n");
|
||||
return;
|
||||
|
||||
memset(&startup, 0, sizeof(startup));
|
||||
startup.cb = sizeof(startup);
|
||||
startup.dwFlags = STARTF_USESHOWWINDOW|STARTF_USESTDHANDLES;
|
||||
|
|
28
rostests/winetests/kernel32/roshack.diff
Normal file
28
rostests/winetests/kernel32/roshack.diff
Normal file
|
@ -0,0 +1,28 @@
|
|||
Index: pipe.c
|
||||
===================================================================
|
||||
--- pipe.c (revision 38229)
|
||||
+++ pipe.c (working copy)
|
||||
@@ -1325,6 +1325,9 @@
|
||||
{
|
||||
HMODULE hmod;
|
||||
|
||||
+ skip("ROS-HACK: Skipping pipe tests -- ros' npfs is in a sorry state\n");
|
||||
+ return;
|
||||
+
|
||||
hmod = GetModuleHandle("advapi32.dll");
|
||||
pDuplicateTokenEx = (void *) GetProcAddress(hmod, "DuplicateTokenEx");
|
||||
|
||||
Index: process.c
|
||||
===================================================================
|
||||
--- process.c (revision 38229)
|
||||
+++ process.c (working copy)
|
||||
@@ -1127,6 +1127,9 @@
|
||||
HANDLE hChildIn, hChildInInh, hChildOut, hChildOutInh, hParentIn, hParentOut;
|
||||
const char* msg = "This is a std-handle inheritance test.";
|
||||
unsigned msg_len;
|
||||
+
|
||||
+ skip("ROS-HACK: Skipping process console tests\n");
|
||||
+ return;
|
||||
|
||||
memset(&startup, 0, sizeof(startup));
|
||||
startup.cb = sizeof(startup);
|
Loading…
Reference in a new issue