| /freebsd-11-stable/lib/libc/tests/nss/ |
| HD | getusershell_test.c | 137 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 156 if (snapshot_file != NULL) { in run_tests() 157 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 162 snapshot_file); in run_tests() 168 rv = TEST_SNAPSHOT_FILE_READ(usershell, snapshot_file, in run_tests() 183 if (snapshot_file != NULL) { in run_tests() 184 rv = TEST_SNAPSHOT_FILE_WRITE(usershell, snapshot_file, in run_tests()
|
| HD | getaddrinfo_test.c | 413 run_tests(char *hostlist_file, const char *snapshot_file, int ai_family) in run_tests() argument 419 if (snapshot_file == NULL) in run_tests() 422 snapshot_file_copy = strdup(snapshot_file); in run_tests() 430 if (snapshot_file != NULL) in run_tests() 446 if (snapshot_file != NULL) { in run_tests() 447 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 452 "file %s\n", snapshot_file); in run_tests() 458 rv = TEST_SNAPSHOT_FILE_READ(addrinfo, snapshot_file, in run_tests() 470 if (snapshot_file != NULL) in run_tests() 475 if (snapshot_file != NULL) { in run_tests() [all …]
|
| HD | getrpc_test.c | 402 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 409 if (snapshot_file != NULL) { in run_tests() 410 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 415 snapshot_file); in run_tests() 426 TEST_SNAPSHOT_FILE_READ(rpcent, snapshot_file, in run_tests() 436 if (snapshot_file == NULL) in run_tests() 444 if (snapshot_file == NULL) in run_tests() 452 if (snapshot_file == NULL) in run_tests() 468 if (snapshot_file != NULL) in run_tests() 469 rv = TEST_SNAPSHOT_FILE_WRITE(rpcent, snapshot_file, &td, in run_tests()
|
| HD | getgr_test.c | 396 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 403 if (snapshot_file != NULL) { in run_tests() 404 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 409 snapshot_file); in run_tests() 420 TEST_SNAPSHOT_FILE_READ(group, snapshot_file, in run_tests() 430 if (snapshot_file == NULL) in run_tests() 438 if (snapshot_file == NULL) in run_tests() 446 if (snapshot_file == NULL) in run_tests() 462 if (snapshot_file != NULL) in run_tests() 463 rv = TEST_SNAPSHOT_FILE_WRITE(group, snapshot_file, &td, in run_tests()
|
| HD | getproto_test.c | 399 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 406 if (snapshot_file != NULL) { in run_tests() 407 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 412 snapshot_file); in run_tests() 423 TEST_SNAPSHOT_FILE_READ(protoent, snapshot_file, in run_tests() 433 if (snapshot_file == NULL) in run_tests() 441 if (snapshot_file == NULL) in run_tests() 449 if (snapshot_file == NULL) in run_tests() 466 if (snapshot_file != NULL) in run_tests() 467 rv = TEST_SNAPSHOT_FILE_WRITE(protoent, snapshot_file, in run_tests()
|
| HD | getserv_test.c | 414 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 421 if (snapshot_file != NULL) { in run_tests() 422 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 427 snapshot_file); in run_tests() 438 TEST_SNAPSHOT_FILE_READ(servent, snapshot_file, in run_tests() 448 if (snapshot_file == NULL) in run_tests() 456 if (snapshot_file == NULL) in run_tests() 464 if (snapshot_file == NULL) in run_tests() 480 if (snapshot_file != NULL) in run_tests() 481 rv = TEST_SNAPSHOT_FILE_WRITE(servent, snapshot_file, &td, in run_tests()
|
| HD | getpw_test.c | 376 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 383 if (snapshot_file != NULL) { in run_tests() 384 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 389 snapshot_file); in run_tests() 399 TEST_SNAPSHOT_FILE_READ(passwd, snapshot_file, in run_tests() 410 if (snapshot_file == NULL) in run_tests() 418 if (snapshot_file == NULL) in run_tests() 426 if (snapshot_file == NULL) in run_tests() 442 if (snapshot_file != NULL) in run_tests() 443 rv = TEST_SNAPSHOT_FILE_WRITE(passwd, snapshot_file, in run_tests()
|
| HD | gethostby_test.c | 926 run_tests(const char *hostlist_file, const char *snapshot_file, int _af_type, in run_tests() argument 934 if (snapshot_file == NULL) in run_tests() 937 snapshot_file_copy = strdup(snapshot_file); in run_tests() 940 snapshot_file = snapshot_file_copy; in run_tests() 992 if (snapshot_file != NULL) { in run_tests() 993 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 1001 snapshot_file); in run_tests() 1006 rv = TEST_SNAPSHOT_FILE_READ(hostent, snapshot_file, in run_tests() 1017 if (snapshot_file != NULL) in run_tests() 1027 if (snapshot_file != NULL) in run_tests() [all …]
|