[Bug 28216] New: shell32/shlfolder.c test always fails on ubuntu 10.04?

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 28 12:57:54 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28216

           Summary: shell32/shlfolder.c test always fails on ubuntu 10.04?
           Product: Wine
           Version: 1.3.27
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: shell32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


(Not quite the same as bug 27729.)

shell32/shlfolder.ok succeeds for me on my ubuntu 11.04 boxes, but
always fails for me on my one ubuntu 10.04 box,
even after I do 'apt-get install gettext' to get past non bug 28208.  
Log shows:

../../../tools/runtest -q -P wine -M shell32.dll -T ../../.. -p
shell32_test.exe.so shlfolder.c && touch shlfolder.ok
fixme:shdocvw:IEParseDisplayNameWithBCW stub: 0x0 L"http:\\yyy" (nil) 0x32fc78
fixme:shdocvw:IEParseDisplayNameWithBCW stub: 0x0 L"xx:yyy" (nil) 0x32fc78
err:shell:HCR_GetFolderAttributes should be called for simple PIDL's only!
shlfolder.c:2386: Test failed: SHCreateItemFromParsingName returned 0

The test creates the file c:/users/dank/Desktop/testfile,
then looks for it with some arcane shell folder API,
and is unhappy when it actually finds the file.

+shell,+file trace attached.

The test function in question is test_SHCreateShellItem().
I can make the test succeed by inserting the line
SetCurrentDirectoryA("c:\\");
at the top of the function, or by 
editing test_ITEMIDLIST_format()
and inserting a return before it calls SetCurrentDirectoryW().

So there seems to be something fragile in the shlfolder tests
with respect to the current directory.  No idea why this only
shows up on ubuntu 10.04 (on my i7 test box).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list