[PATCH v2 2/6] kernel32/tests: Remove a test for Unix-style paths.
Zebediah Figura
z.figura12 at gmail.com
Sun Mar 15 16:46:19 CDT 2020
Wine intentionally treats these specially, so there is no point in testing them.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
This fixes test failures on Debian reported in v1 of this patch series.
dlls/kernel32/tests/volume.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c
index 25495c9ce1c..9a809249545 100644
--- a/dlls/kernel32/tests/volume.c
+++ b/dlls/kernel32/tests/volume.c
@@ -847,26 +847,22 @@ static void test_GetVolumePathNameA(void)
NO_ERROR, NO_ERROR
},
{ /* test 37 */
- "/unix-style/absolute/path", "%CurrentDrive%\\", sizeof(volume_path),
- NO_ERROR, NO_ERROR
- },
- { /* test 38 */
"\\??\\C:\\NonExistent", "%CurrentDrive%\\", sizeof(volume_path),
NO_ERROR, NO_ERROR
},
- { /* test 39 */
+ { /* test 38 */
"\\??\\M:\\NonExistent", "%CurrentDrive%\\", sizeof(volume_path),
NO_ERROR, NO_ERROR
},
- { /* test 40 */
+ { /* test 39 */
"somefile:def", "%CurrentDrive%\\", sizeof(volume_path),
NO_ERROR, NO_ERROR
},
- { /* test 41 */
+ { /* test 40 */
"s:omefile", "S:\\" /* win2k, winxp */, sizeof(volume_path),
ERROR_FILE_NOT_FOUND, NO_ERROR
},
- { /* test 42: a reasonable forward slash path that is guaranteed to exist */
+ { /* test 41: a reasonable forward slash path that is guaranteed to exist */
"C:/windows/system32", "C:\\", sizeof(volume_path),
NO_ERROR, NO_ERROR
},
--
2.25.1
More information about the wine-devel
mailing list