kernel32: Return correct drive type for empty drives

Alexandre Julliard julliard at winehq.org
Wed Aug 29 14:35:52 CDT 2012


Alexandre Goujon <ale.goujon at gmail.com> writes:

> Should fix bug #17037
> I followed your advice and now, I only ask the mountmgr when needed.
> ---
>  dlls/kernel32/volume.c |   10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)

This is failing here when the drive is empty:

../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p kernel32_test.exe.so volume.c && touch volume.ok
volume.c:132: Tests skipped: can't test removing fake drive
volume.c:785: Test failed: IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) failed, last error = 87
make: *** [volume.ok] Error 1

If I put a DVD in I get:

volume.c:813: Test failed: IOCTL_DVD_READ_STRUCTURE should have failed

Probably the tests need some fixing.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list