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
Guy Albertelli
c1f161a678
kernel32: Fix GetVolumeNameForVolumeMountPointW to match Mountmgr.
2009-05-26 15:36:53 +02:00
Paul Vriens
bb4168ab73
kernel32/tests: Fix comment.
2009-05-25 11:24:03 +02:00
Paul Vriens
43ccb8abd8
kernel32/tests: Fix test failure on older W2K boxes.
2009-05-22 15:22:54 +02:00
Guy Albertelli
7d4bbe9e79
kernel32/tests: Add more tests for GetVolumeNameForVolumeMountPointA.
2009-05-11 14:51:27 +02:00
Guy Albertelli
1016bd7ec4
kernel32/tests: Fix new problems with volume tests.
2009-04-30 12:47:14 +02:00
Guy Albertelli
fce0f9ab8a
kernel32/tests: Add tests to verify GetVolumeNameForVolumeMountPointA returns correct string.
2009-04-29 13:39:21 +02:00
Guy Albertelli
f7e6777e6e
kernel32: Fix GetVolumeInformation[AW] to require trailing \.
2009-04-29 13:38:56 +02:00
Guy Albertelli
6f1390646c
kernel32/tests: Add tests for GetVolumeInformationA and QueryDosDevice.
2009-04-29 13:38:51 +02:00
Alexandre Julliard
6dee4c6e63
kernel32: Return the Windows symlink in QueryDosDevice instead of the Unix one.
2008-10-24 14:24:58 +02:00
Paul Vriens
61b84b0862
kernel32/tests: Skip a test if needed.
2008-10-22 13:54:54 +02:00