提交 37017f92 编写于 作者: O openharmony_ci 提交者: Gitee

!228 【内核子系统集成测试】修改失败用例:net_posix:ActsNetTest.cpp#testDnCompExpandAbnormal

Merge pull request !228 from 是蕊蕊呀/kernel_lite_20210520
...@@ -1345,10 +1345,10 @@ HWTEST_F(ActsNetTest, testDnCompExpandAbnormal, Function | MediumTest | Level3) ...@@ -1345,10 +1345,10 @@ HWTEST_F(ActsNetTest, testDnCompExpandAbnormal, Function | MediumTest | Level3)
printf("dn_expand ret=%d, expandDn is '%s'\n", ret, destExpand); printf("dn_expand ret=%d, expandDn is '%s'\n", ret, destExpand);
// compress info is 0 // compress info is 0
unsigned char destCompError[20]; unsigned char destCompError[20] = {0};
eomorig = destCompError + 20; eomorig = destCompError + 20;
ret = dn_expand(destCompError, eomorig, destCompError, destExpand, MAXDNAME); ret = dn_expand(destCompError, eomorig, destCompError, destExpand, MAXDNAME);
EXPECT_EQ(-1, ret); EXPECT_EQ(1, ret);
printf("dn_expand ret=%d, expandDn is '%s'\n", ret, destExpand); printf("dn_expand ret=%d, expandDn is '%s'\n", ret, destExpand);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册