D | main.c | 18 char host[80]; in ZTEST_USER() local 26 host, sizeof(host), serv, sizeof(serv), 0); in ZTEST_USER() 29 printk("%s %s\n", host, serv); in ZTEST_USER() 30 zassert_equal(strcmp(host, "0.0.0.0"), 0, ""); in ZTEST_USER() 37 host, sizeof(host), serv, sizeof(serv), 0); in ZTEST_USER() 40 printk("%s %s\n", host, serv); in ZTEST_USER() 41 zassert_equal(strcmp(host, "127.0.0.1"), 0, ""); in ZTEST_USER() 48 char host[80]; in ZTEST_USER() local 56 host, sizeof(host), serv, sizeof(serv), 0); in ZTEST_USER() 59 printk("%s %s\n", host, serv); in ZTEST_USER() [all …]
|