提交 9489377d 编写于 作者: O openharmony_ci 提交者: Gitee

!131 修改testTruncateEacces错误码的问题

Merge pull request !131 from chuaizhzh/kernel_lite_20210412_1
......@@ -349,7 +349,7 @@ HWTEST_F(FileSystemTest, testTruncateEinval, Function | MediumTest | Level3)
HWTEST_F(FileSystemTest, testTruncateEacces, Function | MediumTest | Level3)
{
EXPECT_EQ(truncate("/", 10), -1);
printf("errno = %d\n" ,errno);
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.
先完成此消息的编辑!
想要评论请 注册