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

This commit is contained in:
2025-09-20 08:54:18 -05:00
parent a837ee6bc9
commit 0158b88807

View File

@@ -160,7 +160,7 @@ TYPED_TEST(fuse_test, ftruncate_fails_if_file_is_read_only) {
errno = 0;
EXPECT_EQ(-1, ::ftruncate(desc, 1));
EXPECT_EQ(EBADF, errno);
EXPECT_TRUE(errno == EBADF || errno == EINVAL);
::close(desc);
this->unlink_file_and_test(src);