Searched refs:errpath (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/atf/atf-c/detail/
H A Dtest_helpers.c125 atf_fs_path_t outpath, errpath; local
131 RE(atf_fs_path_init_fmt(&errpath, errname));
136 RE(atf_process_stream_init_redirect_path(&errb, &errpath));
145 atf_fs_path_fini(&errpath);
/freebsd-11-stable/tests/sys/audit/
H A Dfile-write.c38 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
77 ATF_REQUIRE_EQ(-1, truncate(errpath, offlen));
H A Dopen.c58 static const char *errpath = "adirhasnoname/fileforaudit"; variable
96 ATF_REQUIRE_EQ(-1, syscall(SYS_open, errpath, flag)); \
137 ATF_REQUIRE_EQ(-1, openat(AT_FDCWD, errpath, flag)); \
H A Dfile-delete.c40 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
77 ATF_REQUIRE_EQ(-1, rmdir(errpath));
206 ATF_REQUIRE_EQ(-1, unlink(errpath));
248 ATF_REQUIRE_EQ(-1, unlinkat(AT_FDCWD, errpath, AT_REMOVEDIR));
H A Dfile-attribute-modify.c53 static const char *errpath = "adirhasnoname/fileforaudit"; variable
236 ATF_REQUIRE_EQ(-1, chmod(errpath, mode));
327 ATF_REQUIRE_EQ(-1, lchmod(errpath, mode));
371 ATF_REQUIRE_EQ(-1, fchmodat(AT_FDCWD, errpath, mode, 0));
415 ATF_REQUIRE_EQ(-1, chown(errpath, uid, gid));
506 ATF_REQUIRE_EQ(-1, lchown(errpath, uid, gid));
550 ATF_REQUIRE_EQ(-1, fchownat(AT_FDCWD, errpath, uid, gid, 0));
594 ATF_REQUIRE_EQ(-1, chflags(errpath, UF_OFFLINE));
685 ATF_REQUIRE_EQ(-1, lchflags(errpath, UF_OFFLINE));
729 ATF_REQUIRE_EQ(-1, utimes(errpath, NUL
[all...]
H A Dfile-close.c48 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
210 ATF_REQUIRE_EQ(-1, revoke(errpath));
H A Dfile-attribute-access.c53 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
92 ATF_REQUIRE_EQ(-1, stat(errpath, &statbuff));
135 ATF_REQUIRE_EQ(-1, lstat(errpath, &statbuff));
272 ATF_REQUIRE_EQ(-1, statfs(errpath, &statfsbuff));
569 ATF_REQUIRE_EQ(-1, access(errpath, F_OK));
613 ATF_REQUIRE_EQ(-1, eaccess(errpath, F_OK));
657 ATF_REQUIRE_EQ(-1, faccessat(AT_FDCWD, errpath, F_OK, AT_EACCESS));
702 ATF_REQUIRE_EQ(-1, pathconf(errpath, _PC_NAME_MAX));
746 ATF_REQUIRE_EQ(-1, lpathconf(errpath, _PC_SYMLINK_MAX));

Completed in 217 milliseconds