diff --git a/kernel_lite/net_posix/src/ActsNetTest.cpp b/kernel_lite/net_posix/src/ActsNetTest.cpp index b769b054cc229f2af3d3fe170c9d0d67f236d32e..e486e762222ca92fad88f50433644a3f44b27413 100755 --- a/kernel_lite/net_posix/src/ActsNetTest.cpp +++ b/kernel_lite/net_posix/src/ActsNetTest.cpp @@ -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); diff --git a/kernel_lite/sys_posix/src/SysApiTest.cpp b/kernel_lite/sys_posix/src/SysApiTest.cpp index 349d32fdd642d18f1c48cb2328e41eead0937e7e..cc5cbc2928ff05331e46ca30497bcc8b76d7b61d 100755 --- a/kernel_lite/sys_posix/src/SysApiTest.cpp +++ b/kernel_lite/sys_posix/src/SysApiTest.cpp @@ -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"); } /**