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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index 4d3a3fc0395..d27c0611d13 100644 --- a/dlls/ntdll/tests/file.c +++ b/dlls/ntdll/tests/file.c @@ -1317,7 +1317,7 @@ 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, + 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)); @@ -5660,7 +5660,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();