James Hawkins : lz32: Fix a test failure in win9x.

Alexandre Julliard julliard at winehq.org
Mon Jun 30 08:27:00 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Sun Jun 29 18:15:56 2008 -0500

lz32: Fix a test failure in win9x.

---

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

diff --git a/dlls/lz32/tests/lzexpand_main.c b/dlls/lz32/tests/lzexpand_main.c
index c67883a..a296b28 100644
--- a/dlls/lz32/tests/lzexpand_main.c
+++ b/dlls/lz32/tests/lzexpand_main.c
@@ -369,7 +369,8 @@ static void test_LZOpenFileA(void)
   ok(file >= 0, "LZOpenFileA failed on creation\n");
   ok(test.cBytes == sizeof(OFSTRUCT),
      "LZOpenFileA set test.cBytes to %d\n", test.cBytes);
-  ok(test.nErrCode == ERROR_SUCCESS,
+  ok(test.nErrCode == ERROR_SUCCESS ||
+     test.nErrCode == ERROR_FILE_NOT_FOUND, /* 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