/freebsd/lib/libc/tests/nss/ |
H A D | getusershell_test.c | 134 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 153 if (snapshot_file != NULL) { in run_tests() 154 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 159 snapshot_file); in run_tests() 165 rv = TEST_SNAPSHOT_FILE_READ(usershell, snapshot_file, in run_tests() 180 if (snapshot_file != NULL) { in run_tests() 181 rv = TEST_SNAPSHOT_FILE_WRITE(usershell, snapshot_file, in run_tests()
|
H A D | getaddrinfo_test.c | 410 run_tests(char *hostlist_file, const char *snapshot_file, int ai_family) in run_tests() argument 416 if (snapshot_file == NULL) in run_tests() 419 snapshot_file_copy = strdup(snapshot_file); in run_tests() 427 if (snapshot_file != NULL) in run_tests() 443 if (snapshot_file != NULL) { in run_tests() 444 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 449 "file %s\n", snapshot_file); in run_tests() 455 rv = TEST_SNAPSHOT_FILE_READ(addrinfo, snapshot_file, in run_tests() 467 if (snapshot_file != NULL) in run_tests() 472 if (snapshot_file != NULL) { in run_tests() [all …]
|
H A D | getproto_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(protoent, 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() 463 if (snapshot_file != NULL) in run_tests() 464 rv = TEST_SNAPSHOT_FILE_WRITE(protoent, snapshot_file, in run_tests()
|
H A D | getrpc_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(rpcent, 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() 465 if (snapshot_file != NULL) in run_tests() 466 rv = TEST_SNAPSHOT_FILE_WRITE(rpcent, snapshot_file, &td, in run_tests()
|
H A D | getserv_test.c | 415 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 422 if (snapshot_file != NULL) { in run_tests() 423 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 428 snapshot_file); in run_tests() 439 TEST_SNAPSHOT_FILE_READ(servent, snapshot_file, in run_tests() 449 if (snapshot_file == NULL) in run_tests() 457 if (snapshot_file == NULL) in run_tests() 465 if (snapshot_file == NULL) in run_tests() 481 if (snapshot_file != NULL) in run_tests() 482 rv = TEST_SNAPSHOT_FILE_WRITE(servent, snapshot_file, &td, in run_tests()
|
H A D | getpw_test.c | 385 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 392 if (snapshot_file != NULL) { in run_tests() 393 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 398 snapshot_file); in run_tests() 408 TEST_SNAPSHOT_FILE_READ(passwd, snapshot_file, in run_tests() 419 if (snapshot_file == NULL) in run_tests() 427 if (snapshot_file == NULL) in run_tests() 435 if (snapshot_file == NULL) in run_tests() 467 if (snapshot_file != NULL) in run_tests() 468 rv = TEST_SNAPSHOT_FILE_WRITE(passwd, snapshot_file, in run_tests()
|
H A D | getgr_test.c | 404 run_tests(const char *snapshot_file, enum test_methods method) in run_tests() argument 411 if (snapshot_file != NULL) { in run_tests() 412 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 417 snapshot_file); in run_tests() 428 TEST_SNAPSHOT_FILE_READ(group, snapshot_file, in run_tests() 438 if (snapshot_file == NULL) in run_tests() 446 if (snapshot_file == NULL) in run_tests() 454 if (snapshot_file == NULL) in run_tests() 486 if (snapshot_file != NULL) in run_tests() 487 rv = TEST_SNAPSHOT_FILE_WRITE(group, snapshot_file, &td, in run_tests()
|
H A D | gethostby_test.c | 923 run_tests(const char *hostlist_file, const char *snapshot_file, int _af_type, in run_tests() argument 931 if (snapshot_file == NULL) in run_tests() 934 snapshot_file_copy = strdup(snapshot_file); in run_tests() 937 snapshot_file = snapshot_file_copy; in run_tests() 989 if (snapshot_file != NULL) { in run_tests() 990 if (access(snapshot_file, W_OK | R_OK) != 0) { in run_tests() 998 snapshot_file); in run_tests() 1003 rv = TEST_SNAPSHOT_FILE_READ(hostent, snapshot_file, in run_tests() 1014 if (snapshot_file != NULL) in run_tests() 1024 if (snapshot_file != NULL) in run_tests() [all …]
|