Zebediah Figura
7c6222838c
kernel32/tests: Remove a test for Unix-style paths.
...
Wine intentionally treats these specially, so there is no point in testing them.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 20:36:07 +01:00
Zebediah Figura
5885c70b18
kernel32/tests: Add some tests for mounted folders.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 20:36:04 +01:00
Zebediah Figura
3641983714
kernel32: Reimplement DefineDosDevice() on top of NT symbolic links.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Zebediah Figura
4ab43e28d0
kernel32/tests: Add more tests for DefineDosDevice().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Francois Gouget
d504332b1c
kernel32/tests: Avoid unneeded strlen*() calls.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-04 17:11:29 +02:00
Zhiyi Zhang
33de7fb7a8
mountmgr: Add IOCTL_STORAGE_QUERY_PROPERTY stub.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 16:26:04 +01:00
Michael Stefaniuc
80be3a460b
kernel32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:02:48 +02:00
Marcus Meissner
d3057eef31
kernel32: GetVolumePathNamesForVolumeNameW gets character as buffer size.
...
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:39:59 +02:00
Mark White
d37d9860a1
kernel32: Fix forward slash path handling to GetVolumePathNameW.
...
Signed-off-by: Mark White <chopinbig2@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-26 12:13:15 +02:00
Andrey Gusev
c49e306cac
kernel32/tests: Fix a typo in ok() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-22 16:29:33 +01:00
Alexandre Julliard
9ae90b354c
kernel32/tests: Avoid testing the D: drive which may not exist.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 00:25:02 +09:00
Michael Stefaniuc
c50f6a304c
kernel32/tests: The result of a comparison is already a BOOL.
2015-06-30 17:40:27 +09:00
Sebastian Lackner
b80bbd5986
kernel32/tests: Add GetVolumePathNameW tests.
2015-06-23 20:46:09 +09:00
Sebastian Lackner
d01c135aed
kernel32/tests: Add a lot of picky GetVolumePathName tests.
2015-06-23 20:46:08 +09:00
Erich E. Hoover
ed151a5efc
kernel32: Handle device paths in GetVolumePathName.
...
NT-style paths that have a device prefix (\??\) also return the drive
of the current working directory (even if they're valid devices).
2015-06-23 20:46:08 +09:00
Erich E. Hoover
5a84969f39
kernel32: Handle bogus DOS paths in GetVolumePathName.
...
Paths that are not NT and not even close to DOS don't actually fail
catastrophically. Even though MSDN suggests that it returns the boot
drive in this case, tests indicate that it returns the drive of the
current working directory.
2015-06-23 20:46:07 +09:00
Erich E. Hoover
e8e13308ea
kernel32: Handle semi-DOS paths in GetVolumePathName.
...
Add support for "semi-DOS" paths, these paths revert to the drive
letter specified in the first character.
2015-06-23 20:46:03 +09:00
Erich E. Hoover
62279b7f4d
kernel32/tests: Add a bunch more GetVolumePathName tests.
2015-06-23 20:44:25 +09:00
Erich E. Hoover
b29b0d2cff
kernel32/tests: Convert GetVolumePathName tests into a list.
2015-06-23 20:44:25 +09:00
Erich E. Hoover
f6c7e247ad
kernel32: Implement GetVolumePathName.
...
The purpose of this function is to return the most fundamental path
without leaving a filesystem. Steam uses this so that it can use inode
searches, without this functionality some installations/validations will
fail if the Steam Library is not on the same drive as Steam
itself (symlink'd to another location).
2015-06-23 20:44:21 +09:00
Francois Gouget
f505e6fb4a
Assorted spelling fixes.
2015-03-19 21:54:14 +09:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Dmitry Timoshkov
3fa1b837cf
kernel32/tests: Fix volume tests compilation with __WINESRC__ defined.
2013-10-22 16:37:40 +02:00
Bruno Jesus
3465646d44
kernel32: Fix parameters checking for GetVolumePathName().
2013-09-09 22:09:59 +02:00
Bruno Jesus
95d01f1751
kernel32/tests: Add tests for GetVolumePathNameA().
2013-07-29 14:28:00 +02:00
Detlef Riekenberg
71cbd277e7
kernel32/tests: Avoid IOCTL_DVD_READ_STRUCTURE test failures.
2013-04-30 11:49:37 +02:00
Francois Gouget
b8050f0571
Assorted spelling fixes.
2012-09-04 16:15:52 +02:00
Alexandre Goujon
5feea8ce1a
kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdManufacturerDescriptor) test.
2012-07-17 11:55:52 +02:00
Alexandre Goujon
9fce6a37ec
kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdCopyrightDescriptor) test.
2012-07-12 16:13:49 -05:00
Alexandre Goujon
a3b5dd2dff
kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) test.
2012-07-12 16:13:35 -05:00
Alexandre Goujon
7c27a96997
kernel32/tests: Add a helper to test CDROM ioctl.
2012-07-12 16:12:47 -05:00
Francois Gouget
db882bfb5d
kernel32/tests: Check what happens if QueryDosDeviceA() is given an insufficient buffer.
2011-10-03 16:56:30 -05:00
Francois Gouget
1e93108641
kernel32/tests: Make test_define_dos_deviceA() static.
2011-08-01 18:26:26 +02:00
Francois Gouget
287a5e25d2
kernel32/tests: Remove a space before a '\n' in an ok() call.
2011-08-01 18:26:26 +02:00
Dan Kegel
c63d085d1f
kernel32: Add initial test for DefineDosDevice.
2011-07-25 11:59:20 +02:00
Hans Leidekker
552715f0c1
kernel32: Implement and test GetVolumePathNamesForVolumeName.
2011-03-29 15:41:11 +02:00
Austin English
d385435876
kernel32/tests: Remove win9x hacks.
2011-02-28 13:12:30 +01:00
André Hentschel
008cf3c18c
kernel32: Use define instead of hardcoded value.
2011-02-01 18:14:09 +01:00
Hans Leidekker
541c116368
kernel32/tests: Add a test for ioctl 0x560000.
2011-01-31 13:01:10 +01:00
Alexandre Julliard
1455604704
kernel32: Fix last error code in GetVolumeInformationW when an explicit subdir is requested.
2010-10-20 12:29:45 +02:00
Alexandre Julliard
732534f954
kernel32: Use the NT name to open the device in GetVolumeInformationW.
2010-10-20 12:23:00 +02:00
Alexandre Julliard
ee0f0da69b
kernel32: Use RtlDosPathNameToNtPathName_U to validate the path in GetVolumeInformationW.
2010-10-20 12:19:59 +02:00
Jörg Höhle
fc872628d9
kernel32/tests: GetVolumeInformationA X: succeeds iff drive's default dir is root.
2010-08-18 17:45:02 +02:00
Jörg Höhle
cdc120d5e5
kernel32/tests: Skip fewer tests on Win9x.
2010-07-08 17:33:37 +02:00
André Hentschel
2d956be11d
kernel32/tests: Fix header comments.
2010-01-25 12:46:00 +01:00
Austin Lund
f5271ce1e3
kernel32/tests: Fixed test for GetVolumeNameForVolumeMountPoint on directory.
2009-11-16 12:43:07 +01:00
Nicolas Le Cam
5e58b29cfe
kernel32/tests: Skip GetVolumeInformation test on current directory when running on a root directory.
2009-08-03 15:04:21 +02:00
Nicolas Le Cam
1975ba276f
kernel32/tests: Test GetVolumeInformation when current directory is a root directory.
2009-08-03 15:04:17 +02:00
Francois Gouget
03584b4ff6
Assorted spelling fixes.
2009-06-22 13:32:01 +02:00
Paul Vriens
7750e36be5
kernel32/tests: Fix some test failures on Vista.
2009-05-27 11:10:25 +02:00