From 545b6989f28ceb6ab167ab8e8411f73cf228a46f Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Tue, 24 Feb 2009 15:02:57 -0600 Subject: [PATCH] kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED. --- dlls/kernel32/tests/pipe.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c index ee109747d33..3adf417026f 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");