未验证 提交 a1a4491b 编写于 作者: O openharmony_ci 提交者: Gitee

!5621 修复 zlib xts用例失败

Merge pull request !5621 from longwei/master
......@@ -1245,6 +1245,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestGzUnGetc, Function | MediumTest | Level2)
file = gzopen(TESTFILE, "rb");
ASSERT_TRUE(file != NULL);
ASSERT_FALSE(gzungetc(' ', file) != ' ');
gzclose(file);
#endif
}
......@@ -1264,6 +1265,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestGzVprintf, Function | MediumTest | Level2)
int err = TestGzPrintf(file, ", %s!", "hello");
fprintf(stderr, "gzvprintf result: %d\n", err);
gzclose(file);
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册