Home
last modified time | relevance | path

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

/xnu-11215/tests/vfs/
H A Do_search.c44 const char *tmpdir = dt_tmpdir(); variable
57 T_ASSERT_POSIX_ZERO(chdir(tmpdir),
58 "Setup: changing to tmpdir: %s", tmpdir);
60 snprintf(g_testfile, MAXPATHLEN, "%s/%s", tmpdir, TEST_FILE);
69 tmpdir_fd = open(tmpdir, O_EXEC);
73 T_ASSERT_POSIX_SUCCESS(tmpdir_fd = open(tmpdir, O_RDONLY), NULL);
77 T_ASSERT_POSIX_SUCCESS(tmpdir_fd = open(tmpdir, O_SEARCH), NULL);
81 tmpdir, retval, errno);
86 tmpdir, retval, errno);
93 tmpdir, retval, errno);
H A Dgetattrlist_fstype.c55 const char *tmpdir = dt_tmpdir(); variable
61 T_ASSERT_POSIX_ZERO(statfs(tmpdir, &sfs),
62 "Setup: statfs'ing tmpdir: %s", tmpdir);
68 T_ASSERT_POSIX_ZERO(getattrlist(tmpdir, &attrs, &attrbuf,
70 "Calling getattrlist on tmpdir: %s", tmpdir);
/xnu-11215/tests/
H A Dposix_spawn_filtering.c46 const char *tmpdir = dt_tmpdir(); variable
47 T_LOG("tmpdir: %s\n", tmpdir);
49 strlcat(tmp_path_filter_rules, tmpdir ? tmpdir : "/tmp", sizeof(tmp_path_filter_rules));
61 strlcat(tmp_path_env_output, tmpdir ? tmpdir : "/tmp", sizeof(tmp_path_env_output));
H A Diopolicy.c51 const char *tmpdir = dt_tmpdir(); variable
59 T_ASSERT_POSIX_ZERO(chdir(tmpdir),
60 "Setup: changing to tmpdir: %s", tmpdir);
62 snprintf(g_testfile, MAXPATHLEN, "%s/%s", tmpdir, TEST_FILE);
H A Dtime.c60 const char *tmpdir = dt_tmpdir(); in create_tmpfile() local
61 strlcat(tmppath, tmpdir ? tmpdir : "/tmp", sizeof(tmppath)); in create_tmpfile()
H A Drename_excl.c54 const char *tmpdir = dt_tmpdir(); variable
63 T_ASSERT_POSIX_ZERO(chdir(tmpdir),
64 "Setup: changing to tmpdir: %s", tmpdir);
H A Dlockf_basic.c249 const char *tmpdir = dt_tmpdir(); variable
266 T_ASSERT_POSIX_SUCCESS(chdir(tmpdir), "chdir(%s)", tmpdir);
H A Dfile_leases.c60 const char *tmpdir = dt_tmpdir(); in create_test_file() local
78 snprintf(g_testdir, MAXPATHLEN, "%s/%s", tmpdir, TEST_LEASE_DIR); in create_test_file()