Re: [PATCH v10 0/5] MR7540: kernel32/tests: Add tests for maximum path length limitation.
Zhiyi Zhang (@zhiyi) commented about dlls/kernel32/tests/file.c:
+ + wcscpy(long_path_1, L"\\\\?\\"); + wcscat(long_path_1, temp_path); + wcscat(long_path_1, a); + SetLastError(0xdeadbeef); + ret = DeleteFileW(long_path_1); + todo_wine ok(ret, "DeleteFileW: error %ld\n", GetLastError()); + wcscpy(long_path_2, L"\\\\?\\"); + wcscat(long_path_2, temp_path); + wcscat(long_path_2, b); + SetLastError(0xdeadbeef); + ret = DeleteFileW(long_path_2); + todo_wine ok(ret, "DeleteFileW: error %ld\n", GetLastError()); + } + + ret = DeleteFileW(NULL); This test doesn't belong here. Move it to test_DeleteFileW() and another patch.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7540#note_106694
participants (1)
-
Zhiyi Zhang (@zhiyi)