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

!5630 修复zlib xts失败合入3.2Beta3

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