Zhiyi Zhang (@zhiyi) commented about dlls/kernel32/tests/file.c:
SetLastError(0xdeadbeef);
ret = CopyFileExW(source, long_path_1, NULL, NULL, NULL, 0);
ok(ret, "Expected CopyFileExW successed, but got %ld, copy %s -> %s\n", GetLastError(), wine_dbgstr_w(source), wine_dbgstr_w(long_path_1));
DeleteFileW(dest);
SetLastError(0xdeadbeef);
ret = CopyFileExW(long_path_1, dest, NULL, NULL, NULL, 0);
ok(ret, "Expected CopyFileExW successed, but got %ld, copy %s -> %s\n", GetLastError(), wine_dbgstr_w(long_path_1), wine_dbgstr_w(dest));
wcscpy(long_path_2, temp_path);
wcscat(long_path_2, b);
SetLastError(0xdeadbeef);
ret = CopyFileExW(long_path_1, long_path_2, NULL, NULL, NULL, 0);
ok(ret, "Expected CopyFileExW successed, but got %ld, copy %s -> %s\n", GetLastError(), wine_dbgstr_w(long_path_1), wine_dbgstr_w(long_path_2));
ret = DeleteFileW(long_path_1);
ok(ret, "Unexpected DeleteFileW successed\n");
Same here.