Zebediah Figura : kernel32/tests: Remove a test for Unix-style paths.

Alexandre Julliard julliard at winehq.org
Thu Mar 19 16:27:48 CDT 2020


Module: wine
Branch: master
Commit: 7c6222838c40f11e44c6076b1a8c8b019920040f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7c6222838c40f11e44c6076b1a8c8b019920040f

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sun Mar 15 16:56:53 2020 -0500

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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 cb834aa3c3..ded167f3e0 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
         },




More information about the wine-cvs mailing list