http://bugs.winehq.org/show_bug.cgi?id=14901
--- Comment #20 from Dmitry Timoshkov dmitry@codeweavers.com 2009-03-16 00:24:14 --- (In reply to comment #16)
Created an attachment (id=19866)
--> (http://bugs.winehq.org/attachment.cgi?id=19866) [details]
testcase Passes on Wine/2K/XP. Does that test what you want?
There is no need for such a complicated test, to create an uppercased version of source it's enough to do LCMapString(LCMAP_UPPERCASE, source, dest); and call MoveFile() once again. But you still don't test the result of the the MoveFile() call, that's not just a return value, that's also a file name of the target. That could be accomplished by calling FindFirstFile(source) and comparing the returned buffer with dest (in a case insensitive way).