Searched refs:testhost (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.2-release/lib/libutil/tests/ |
H A D | trimdomain-nodomain_test.c | 39 #define TESTHOST "testhost" 40 #define TESTFQDN "testhost" TESTDOMAIN 63 char *testhost; local 66 testhost = strdup(input); 67 trimdomain(testhost, hostsize < 0 ? (int)strlen(testhost) : hostsize); 69 if (strcmp(testhost, expected) != 0) { 71 printf("# %s -> %s (expected %s)\n", input, testhost, expected); 74 free(testhost);
|
H A D | trimdomain_test.c | 39 #define TESTHOST "testhost" 40 #define TESTFQDN "testhost" TESTDOMAIN 63 char *testhost; local 66 testhost = strdup(input); 67 trimdomain(testhost, hostsize < 0 ? (int)strlen(testhost) : hostsize); 69 if (strcmp(testhost, expected) != 0) { 71 printf("# %s -> %s (expected %s)\n", input, testhost, expected); 74 free(testhost);
|
/freebsd-10.2-release/contrib/amd/wire-test/ |
H A D | wire-test.c | 59 char *testhost, *proto, *tmp_buf; local 90 testhost = argv[1]; 92 testhost = "localhost"; 93 hp = gethostbyname(testhost); 95 fprintf(stderr, "NFS vers/proto failed: no such hostname \"%s\"\n", testhost); 106 fprintf(stderr, "NFS Version and protocol tests to host \"%s\"...\n", testhost); 110 ret = get_nfs_version(testhost, ip, nv, proto); 120 ret = get_nfs_version(testhost, ip, nv, proto);
|
Completed in 80 milliseconds