提交 d36a36c1 编写于 作者: 是蕊蕊呀~'s avatar 是蕊蕊呀~

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

Change-Id: I4de92483172cd06849a55231ace8f98bf0aafd1b
上级 696a3788
......@@ -1345,10 +1345,10 @@ HWTEST_F(ActsNetTest, testDnCompExpandAbnormal, Function | MediumTest | Level3)
printf("dn_expand ret=%d, expandDn is '%s'\n", ret, destExpand);
// compress info is 0
unsigned char destCompError[20];
unsigned char destCompError[20] = {0};
eomorig = destCompError + 20;
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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册