Paul Vriens : shell32/tests: Fix a test failure on Win98.

Alexandre Julliard julliard at winehq.org
Fri Apr 24 10:00:11 CDT 2009


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Fri Apr 24 09:29:12 2009 +0200

shell32/tests: Fix a test failure on Win98.

---

 dlls/shell32/tests/shlfolder.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 3720340..0536d2e 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -147,8 +147,10 @@ static void test_ParseDisplayName(void)
     ok(SUCCEEDED(hr), "DesktopFolder->ParseDisplayName failed. hr = %08x.\n", hr);
     if (FAILED(hr)) goto finished;
 
-    ok(pILFindLastID(newPIDL)->mkid.abID[0] == 0x31, "Last pidl should be of type "
-       "PT_FOLDER, but is: %02x\n", pILFindLastID(newPIDL)->mkid.abID[0]);
+    ok(pILFindLastID(newPIDL)->mkid.abID[0] == 0x31 ||
+       pILFindLastID(newPIDL)->mkid.abID[0] == 0xb1, /* Win98 */
+       "Last pidl should be of type PT_FOLDER or PT_IESPECIAL2, but is: %02x\n",
+       pILFindLastID(newPIDL)->mkid.abID[0]);
     IMalloc_Free(ppM, newPIDL);
     
 finished:




More information about the wine-cvs mailing list