提交 072cae9d 编写于 作者: C chuaizhzh

fix failed testcases

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