提交 d4be5944 编写于 作者: C chuaizhzh

fix failed testcase

Change-Id: I7bec1b510a480fee724205f94e14518f2b23106f
上级 072cae9d
...@@ -349,7 +349,7 @@ HWTEST_F(FileSystemTest, testTruncateEinval, Function | MediumTest | Level3) ...@@ -349,7 +349,7 @@ HWTEST_F(FileSystemTest, testTruncateEinval, Function | MediumTest | Level3)
HWTEST_F(FileSystemTest, testTruncateEacces, Function | MediumTest | Level3) HWTEST_F(FileSystemTest, testTruncateEacces, Function | MediumTest | Level3)
{ {
EXPECT_EQ(truncate("/", 10), -1); EXPECT_EQ(truncate("/", 10), -1);
printf("errno = %d\n" ,errno); printf("errno = %d\n", errno);
EXPECT_EQ(errno, EISDIR); EXPECT_EQ(errno, EISDIR);
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册