提交 1d177425 编写于 作者: L limeng 提交者: 余明星

fixed f12c8eab from https://gitee.com/mingxingyu/xts_acts/pulls/724

修改用例中敏感字符
Signed-off-by: Nlimeng <limeng151@huawei.com>
Change-Id: Ia1219e36fa60643720e6c086d446582dd372fe6f
上级 dc72539a
......@@ -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.
先完成此消息的编辑!
想要评论请 注册