kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED.

This commit is contained in:
Vincent Povirk 2009-02-24 15:02:57 -06:00 committed by Alexandre Julliard
parent b3e65ba399
commit 545b6989f2
1 changed files with 0 additions and 7 deletions

View File

@ -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");