winfsp unit tests and fixes
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
Scott E. Graves 2024-11-09 12:07:00 -06:00
parent e62477a38e
commit 04daf393d7

View File

@ -392,7 +392,7 @@ static void test_overlapped_file(auto mount_location, auto &&file_path,
ret = ::WriteFile(handle, write_buffer.data(),
2U * sys_info.dwPageSize + bytes_per_sector, &bytes_written,
&overlapped);
EXPECT_EQ(ret || ERROR_IO_PENDING == ::GetLastError());
EXPECT_TRUE(ret || ERROR_IO_PENDING == ::GetLastError());
EXPECT_TRUE(::GetOverlappedResult(handle, &overlapped, &bytes_written, TRUE));
EXPECT_EQ(2U * sys_info.dwPageSize + bytes_per_sector, bytes_written);