Paul Vriens : lz32/tests: Fix a test failure on Win9x.

Alexandre Julliard julliard at winehq.org
Mon Dec 1 07:34:06 CST 2008


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Fri Nov 28 16:46:47 2008 +0100

lz32/tests: Fix a test failure on Win9x.

---

 dlls/lz32/tests/lzexpand_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/lz32/tests/lzexpand_main.c b/dlls/lz32/tests/lzexpand_main.c
index 4d35ba3..187aa80 100644
--- a/dlls/lz32/tests/lzexpand_main.c
+++ b/dlls/lz32/tests/lzexpand_main.c
@@ -371,7 +371,7 @@ static void test_LZOpenFileA(void)
   ok(test.cBytes == sizeof(OFSTRUCT),
      "LZOpenFileA set test.cBytes to %d\n", test.cBytes);
   ok(test.nErrCode == ERROR_SUCCESS ||
-     test.nErrCode == ERROR_FILE_NOT_FOUND, /* win9x */
+     broken(test.nErrCode != ERROR_SUCCESS), /* win9x */
      "LZOpenFileA set test.nErrCode to %d\n", test.nErrCode);
   ok(lstrcmpA(test.szPathName, expected) == 0,
      "LZOpenFileA returned '%s', but was expected to return '%s'\n",




More information about the wine-cvs mailing list