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

/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetusershell_test.c137 run_tests(const char *snapshot_file, enum test_methods method) argument
156 if (snapshot_file != NULL) {
157 if (access(snapshot_file, W_OK | R_OK) != 0) {
162 snapshot_file);
168 rv = TEST_SNAPSHOT_FILE_READ(usershell, snapshot_file,
183 if (snapshot_file != NULL) {
184 rv = TEST_SNAPSHOT_FILE_WRITE(usershell, snapshot_file,
H A Dgetaddrinfo_test.c413 run_tests(char *hostlist_file, const char *snapshot_file, int ai_family) argument
419 if (snapshot_file == NULL)
422 snapshot_file_copy = strdup(snapshot_file);
430 if (snapshot_file != NULL)
446 if (snapshot_file != NULL) {
447 if (access(snapshot_file, W_OK | R_OK) != 0) {
452 "file %s\n", snapshot_file);
458 rv = TEST_SNAPSHOT_FILE_READ(addrinfo, snapshot_file,
470 if (snapshot_file != NULL)
475 if (snapshot_file !
[all...]
H A Dgetpw_test.c376 run_tests(const char *snapshot_file, enum test_methods method) argument
383 if (snapshot_file != NULL) {
384 if (access(snapshot_file, W_OK | R_OK) != 0) {
389 snapshot_file);
399 TEST_SNAPSHOT_FILE_READ(passwd, snapshot_file,
410 if (snapshot_file == NULL)
418 if (snapshot_file == NULL)
426 if (snapshot_file == NULL)
442 if (snapshot_file != NULL)
443 rv = TEST_SNAPSHOT_FILE_WRITE(passwd, snapshot_file,
[all...]
H A Dgetserv_test.c414 run_tests(const char *snapshot_file, enum test_methods method) argument
421 if (snapshot_file != NULL) {
422 if (access(snapshot_file, W_OK | R_OK) != 0) {
427 snapshot_file);
438 TEST_SNAPSHOT_FILE_READ(servent, snapshot_file,
448 if (snapshot_file == NULL)
456 if (snapshot_file == NULL)
464 if (snapshot_file == NULL)
480 if (snapshot_file != NULL)
481 rv = TEST_SNAPSHOT_FILE_WRITE(servent, snapshot_file,
[all...]
H A Dgetproto_test.c399 run_tests(const char *snapshot_file, enum test_methods method) argument
406 if (snapshot_file != NULL) {
407 if (access(snapshot_file, W_OK | R_OK) != 0) {
412 snapshot_file);
423 TEST_SNAPSHOT_FILE_READ(protoent, snapshot_file,
433 if (snapshot_file == NULL)
441 if (snapshot_file == NULL)
449 if (snapshot_file == NULL)
466 if (snapshot_file != NULL)
467 rv = TEST_SNAPSHOT_FILE_WRITE(protoent, snapshot_file,
[all...]
H A Dgetrpc_test.c402 run_tests(const char *snapshot_file, enum test_methods method) argument
409 if (snapshot_file != NULL) {
410 if (access(snapshot_file, W_OK | R_OK) != 0) {
415 snapshot_file);
426 TEST_SNAPSHOT_FILE_READ(rpcent, snapshot_file,
436 if (snapshot_file == NULL)
444 if (snapshot_file == NULL)
452 if (snapshot_file == NULL)
468 if (snapshot_file != NULL)
469 rv = TEST_SNAPSHOT_FILE_WRITE(rpcent, snapshot_file,
[all...]
H A Dgetgr_test.c396 run_tests(const char *snapshot_file, enum test_methods method) argument
403 if (snapshot_file != NULL) {
404 if (access(snapshot_file, W_OK | R_OK) != 0) {
409 snapshot_file);
420 TEST_SNAPSHOT_FILE_READ(group, snapshot_file,
430 if (snapshot_file == NULL)
438 if (snapshot_file == NULL)
446 if (snapshot_file == NULL)
462 if (snapshot_file != NULL)
463 rv = TEST_SNAPSHOT_FILE_WRITE(group, snapshot_file,
[all...]
H A Dgethostby_test.c926 run_tests(const char *hostlist_file, const char *snapshot_file, int _af_type, argument
934 if (snapshot_file == NULL)
937 snapshot_file_copy = strdup(snapshot_file);
940 snapshot_file = snapshot_file_copy;
992 if (snapshot_file != NULL) {
993 if (access(snapshot_file, W_OK | R_OK) != 0) {
1001 snapshot_file);
1006 rv = TEST_SNAPSHOT_FILE_READ(hostent, snapshot_file,
1017 if (snapshot_file != NULL)
1027 if (snapshot_file !
[all...]

Completed in 69 milliseconds