Paul Vriens : lz32/tests: Change a trace into a skip.
Alexandre Julliard
julliard at winehq.org
Thu Oct 9 07:42:38 CDT 2008
Module: wine
Branch: master
Commit: 46fd5620cf7ab651534f020e91d1ea403228ad43
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46fd5620cf7ab651534f020e91d1ea403228ad43
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Wed Oct 8 17:47:15 2008 +0200
lz32/tests: Change a trace into a skip.
---
dlls/lz32/tests/lzexpand_main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/lz32/tests/lzexpand_main.c b/dlls/lz32/tests/lzexpand_main.c
index 07cfe5f..4d35ba3 100644
--- a/dlls/lz32/tests/lzexpand_main.c
+++ b/dlls/lz32/tests/lzexpand_main.c
@@ -770,13 +770,13 @@ static void test_LZOpenFileW(void)
SetLastError(0xfaceabee);
/* Check for nonexistent file. */
file = LZOpenFileW(badfilenameW, &test, OF_READ);
- ok(GetLastError() == ERROR_FILE_NOT_FOUND || GetLastError() == ERROR_CALL_NOT_IMPLEMENTED,
- "GetLastError() returns %d\n", GetLastError());
if(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
- trace("LZOpenFileW call not implemented, skipping rest of the test\n");
+ win_skip("LZOpenFileW call is not implemented\n");
return;
}
+ ok(GetLastError() == ERROR_FILE_NOT_FOUND,
+ "GetLastError() returns %d\n", GetLastError());
ok(file == LZERROR_BADINHANDLE, "LZOpenFileW succeeded on nonexistent file\n");
LZClose(file);
More information about the wine-cvs
mailing list