eric pouech (@epo) commented about dlls/ntdll/tests/directory.c:
+ + todo_wine + ok( status == expected_status, "unexpected status : 0x%lx Test settings: file mask: '%s', restart: %d, expected status: 0x%lx\n", + status, wine_dbgstr_wn(mask_value, mask_len), restart_scan, expected_status ); + + /* Verify the results if required */ + if (status == 0 && check_name_and_length) + { + dir_info = (FILE_DIRECTORY_INFORMATION *)data; + name = dir_info->FileName; + name_len = dir_info->FileNameLength / sizeof(WCHAR); + + todo_wine + ok( name_len == mask_len, "unexpected filename length %lu, expected %lu\n", name_len, mask_len ); + todo_wine + ok( !memcmp(name, mask_value, mask_len), "unexpected filename %s, expected %s\n", any reason to test half of the string?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6904#note_92913