提交 8d51f2a1 编写于 作者: C chuaizhzh

fix the testTruncateEacces cast in release

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