From: Yuxuan Shui <yshui(a)codeweavers.com> Related to 57817044b983683f115edea6c5068ed6cddd858b. I believe originally the missing double null terminator caused Windows to take garbage memory as file name resulted in the ERROR_FILE_NOT_FOUND. Now it's fixed we are seeing what Windows actually returns. --- dlls/shell32/tests/shlfileop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c index 6ed64b442ff..74e1d0be554 100644 --- a/dlls/shell32/tests/shlfileop.c +++ b/dlls/shell32/tests/shlfileop.c @@ -1859,7 +1859,7 @@ static void test_move(void) ok(!file_exists("nonexistence"), "Expected nonexistence to not exist.\n"); check_file_operation(FO_MOVE, FOF_NO_UI, "test1.txt\0", "\0", - ERROR_FILE_NOT_FOUND, FALSE, FALSE, FALSE); + ERROR_NO_MORE_SEARCH_HANDLES, FALSE, TRUE, FALSE); check_file_operation(FO_MOVE, FOF_NO_UI, "testdir2\0", "\0", DE_DESTSAMETREE, FALSE, TRUE, FALSE); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8361