Vincent Povirk : kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED.

Alexandre Julliard julliard at winehq.org
Fri Feb 27 10:02:44 CST 2009


Module: wine
Branch: master
Commit: 545b6989f28ceb6ab167ab8e8411f73cf228a46f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=545b6989f28ceb6ab167ab8e8411f73cf228a46f

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Feb 24 15:02:57 2009 -0600

kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED.

---

 dlls/kernel32/tests/pipe.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c
index ee10974..3adf417 100644
--- a/dlls/kernel32/tests/pipe.c
+++ b/dlls/kernel32/tests/pipe.c
@@ -62,13 +62,6 @@ static void test_CreateNamedPipe(int pipemode)
         /* nInBufSize */ 1024,
         /* nDefaultWait */ NMPWAIT_USE_DEFAULT_WAIT,
         /* lpSecurityAttrib */ NULL);
-
-    if (hnp == INVALID_HANDLE_VALUE && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) {
-        /* Is this the right way to notify user of skipped tests? */
-        ok(hnp == INVALID_HANDLE_VALUE && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED,
-            "CreateNamedPipe not supported on this platform, skipping tests.\n");
-        return;
-    }
     ok(hnp == INVALID_HANDLE_VALUE && GetLastError() == ERROR_INVALID_NAME,
         "CreateNamedPipe should fail if name doesn't start with \\\\.\\pipe\n");
 




More information about the wine-cvs mailing list