Searched refs:odir_fpath (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | odirectory.c | 35 static char odir_fpath[PATH_MAX]; variable 82 (void) snprintf(odir_fpath, sizeof (odir_fpath), in odir_setup() 84 if ((fd = creat(odir_fpath, 0644)) < 0) { in odir_setup() 85 warn("failed to create temp file %s", odir_fpath); in odir_setup() 86 odir_fpath[0] = '\0'; in odir_setup() 206 if (odir_fpath[0] != '\0') { in odir_cleanup() 207 if (unlink(odir_fpath) != 0) { in odir_cleanup() 208 warn("failed to clean up %s", odir_fpath); in odir_cleanup() 221 odir_test_one("regular file", odir_fpath, 0, ENOTDIR); in main() 228 odir_test_one("O_CREAT | O_DIRECTORY on a regular file", odir_fpath, in main() [all …]
|