[Unit Test] Complete FUSE unit tests #22
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2024-12-29 07:09:49 -06:00
parent 96c2f8ee1e
commit f01daa4296

View File

@ -185,7 +185,7 @@ TYPED_TEST(fuse_test, rdrw_can_append_to_file) {
handle = open(file_path.c_str(), O_WRONLY | O_APPEND); handle = open(file_path.c_str(), O_WRONLY | O_APPEND);
ASSERT_GT(handle, -1); ASSERT_GT(handle, -1);
bytes_written = write(handle, "cow_", 4U); bytes_written = write(handle, "cow_", 4U);
EXPECT_EQ(3U, bytes_written); EXPECT_EQ(4U, bytes_written);
close(handle); close(handle);
handle = open(file_path.c_str(), O_WRONLY | O_APPEND); handle = open(file_path.c_str(), O_WRONLY | O_APPEND);