From: Francois Gouget fgouget@codeweavers.com
The test would fail if other processes allocate or free disk space in between the FileFsFullSizeInformation and FileFsSizeInformation calls.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55365 --- dlls/ntdll/tests/file.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index 556ba351809..f2d17598fc4 100644 --- a/dlls/ntdll/tests/file.c +++ b/dlls/ntdll/tests/file.c @@ -1317,7 +1317,8 @@ static void test_file_full_size_information(void) "[ffsi] TotalAllocationUnits error fsi:0x%s, ffsi:0x%s\n", wine_dbgstr_longlong(fsi.TotalAllocationUnits.QuadPart), wine_dbgstr_longlong(ffsi.TotalAllocationUnits.QuadPart)); - ok(ffsi.CallerAvailableAllocationUnits.QuadPart == fsi.AvailableAllocationUnits.QuadPart, + /* Other processes may have allocated or freed disk space */ + tryok(ffsi.CallerAvailableAllocationUnits.QuadPart == fsi.AvailableAllocationUnits.QuadPart, "[ffsi] CallerAvailableAllocationUnits error fsi:0x%s, ffsi: 0x%s\n", wine_dbgstr_longlong(fsi.AvailableAllocationUnits.QuadPart), wine_dbgstr_longlong(ffsi.CallerAvailableAllocationUnits.QuadPart)); @@ -5666,7 +5667,7 @@ START_TEST(file) test_file_all_information(); test_file_both_information(); test_file_name_information(); - test_file_full_size_information(); + LOOP_ON_FLAKY_TESTS(3) test_file_full_size_information(); test_file_all_name_information(); test_file_rename_information(); test_file_link_information();