Home
last modified time | relevance | path

Searched refs:snapshot_file (Results 1 – 8 of 8) sorted by relevance

/freebsd/lib/libc/tests/nss/
H A Dgetusershell_test.c134 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 Dgetaddrinfo_test.c410 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 Dgetproto_test.c396 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 Dgetrpc_test.c399 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 Dgetserv_test.c415 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 Dgetpw_test.c385 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 Dgetgr_test.c404 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 Dgethostby_test.c923 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 …]