提交 1d8c331a 编写于 作者: O openharmony_ci 提交者: Gitee

!918 cherry -pick主干修改

Merge pull request !918 from 余明星/cherry-pick-1634610489
......@@ -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.
先完成此消息的编辑!
想要评论请 注册