Index: apitests/kernel32/GetDriveType.c =================================================================== --- apitests/kernel32/GetDriveType.c (revision 66053) +++ apitests/kernel32/GetDriveType.c (working copy) @@ -34,6 +34,9 @@ i = GetCurrentDirectoryW(sizeof(Path)/sizeof(Path[0]), Path); if (i) { + /* Test should not be ran from root path */ + ok((Path[(wcslen(Path)-1)] != L'\\'), "The path should NOT contain a bachslash: Path=%ls\n", Path); + /* Note: there is no backslash at the end of Path */ SetLastError(0xdeadbeaf); Type2 = GetDriveTypeW(Path);