summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libappfuse/tests')
-rw-r--r--libappfuse/tests/FuseBufferTest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappfuse/tests/FuseBufferTest.cc b/libappfuse/tests/FuseBufferTest.cc
index 17f1306fe..c82213513 100644
--- a/libappfuse/tests/FuseBufferTest.cc
+++ b/libappfuse/tests/FuseBufferTest.cc
@@ -164,7 +164,7 @@ TEST(FuseBufferTest, HandleInit) {
164 164
165 buffer.HandleInit(); 165 buffer.HandleInit();
166 166
167 ASSERT_EQ(sizeof(fuse_out_header) + sizeof(fuse_init_out), 167 ASSERT_EQ(sizeof(fuse_out_header) + FUSE_COMPAT_22_INIT_OUT_SIZE,
168 buffer.response.header.len); 168 buffer.response.header.len);
169 EXPECT_EQ(kFuseSuccess, buffer.response.header.error); 169 EXPECT_EQ(kFuseSuccess, buffer.response.header.error);
170 EXPECT_EQ(static_cast<unsigned int>(FUSE_KERNEL_VERSION), 170 EXPECT_EQ(static_cast<unsigned int>(FUSE_KERNEL_VERSION),