提交 6bdba30b 编写于 作者: O openharmony_ci 提交者: Gitee

!724 【kernel_lite】【master】修改用例中出现的敏感字符

Merge pull request !724 from limeng/kernel_lite_20210924_01_Master
......@@ -1324,7 +1324,7 @@ HWTEST_F(ActsNetTest, testGetSocketNameInvalidInput, Function | MediumTest | Lev
*/
HWTEST_F(ActsNetTest, testDnCompExpandNormal, Function | MediumTest | Level2)
{
const char* domain1 = "www.huawei.com";
const char* domain1 = "www.testohos.com";
unsigned char buf[MAXDNAME] = {0};
unsigned char* bufPtr = buf;
int ret = dn_comp(domain1, bufPtr, MAXDNAME, nullptr, nullptr);
......
......@@ -320,7 +320,7 @@ HWTEST_F(SysApiTest, testRegcompIcase, Function | MediumTest | Level2)
HWTEST_F(SysApiTest, testRegcompNewline, Function | MediumTest | Level2)
{
TestRegcomp(REG_EXTENDED|REG_NEWLINE, "^addr=([^&]*)",
"huawei123&sex=girl&age=18\r\naddr=bantian&hobby=movie", "addr=bantian");
"testohos&sex=girl&age=18\r\naddr=bantian&hobby=movie", "addr=bantian");
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册