Home
last modified time | relevance | path

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

/freebsd/contrib/atf/atf-c/detail/
H A Dtest_helpers.c125 atf_fs_path_t outpath, errpath; in run_h_tc() local
131 RE(atf_fs_path_init_fmt(&errpath, errname)); in run_h_tc()
136 RE(atf_process_stream_init_redirect_path(&errb, &errpath)); in run_h_tc()
145 atf_fs_path_fini(&errpath); in run_h_tc()
/freebsd/tests/sys/audit/
H A Dfile-delete.c38 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
75 ATF_REQUIRE_EQ(-1, rmdir(errpath)); in ATF_TC_BODY()
204 ATF_REQUIRE_EQ(-1, unlink(errpath)); in ATF_TC_BODY()
246 ATF_REQUIRE_EQ(-1, unlinkat(AT_FDCWD, errpath, AT_REMOVEDIR)); in ATF_TC_BODY()
H A Dfile-attribute-modify.c52 static const char *errpath = "adirhasnoname/fileforaudit"; variable
235 ATF_REQUIRE_ERRNO(ENOENT, chmod(errpath, mode) == -1); in ATF_TC_BODY()
326 ATF_REQUIRE_ERRNO(ENOENT, lchmod(errpath, mode) == -1); in ATF_TC_BODY()
370 ATF_REQUIRE_ERRNO(ENOENT, fchmodat(AT_FDCWD, errpath, mode, 0) == -1); in ATF_TC_BODY()
414 ATF_REQUIRE_ERRNO(ENOENT, chown(errpath, uid, gid) == -1); in ATF_TC_BODY()
505 ATF_REQUIRE_ERRNO(ENOENT, lchown(errpath, uid, gid) == -1); in ATF_TC_BODY()
550 fchownat(AT_FDCWD, errpath, uid, gid, 0) == -1); in ATF_TC_BODY()
594 ATF_REQUIRE_ERRNO(ENOENT, chflags(errpath, UF_OFFLINE) == -1); in ATF_TC_BODY()
685 ATF_REQUIRE_ERRNO(ENOENT, lchflags(errpath, UF_OFFLINE) == -1); in ATF_TC_BODY()
730 chflagsat(AT_FDCWD, errpath, UF_OFFLINE, 0) == -1); in ATF_TC_BODY()
[all …]
H A Dopen.c56 static const char *errpath = "adirhasnoname/fileforaudit"; variable
94 ATF_REQUIRE_EQ(-1, syscall(SYS_open, errpath, flag)); \
135 ATF_REQUIRE_EQ(-1, openat(AT_FDCWD, errpath, flag)); \
H A Dfile-attribute-access.c53 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
92 ATF_REQUIRE_ERRNO(ENOENT, stat(errpath, &statbuff) == -1); in ATF_TC_BODY()
135 ATF_REQUIRE_ERRNO(ENOENT, lstat(errpath, &statbuff) == -1); in ATF_TC_BODY()
272 ATF_REQUIRE_ERRNO(ENOENT, statfs(errpath, &statfsbuff) == -1); in ATF_TC_BODY()
412 ATF_REQUIRE_ERRNO(ENOENT, lgetfh(errpath, &fht) == -1); in ATF_TC_BODY()
614 ATF_REQUIRE_ERRNO(ENOENT, access(errpath, F_OK) == -1); in ATF_TC_BODY()
658 ATF_REQUIRE_ERRNO(ENOENT, eaccess(errpath, F_OK) == -1); in ATF_TC_BODY()
703 faccessat(AT_FDCWD, errpath, F_OK, AT_EACCESS) == -1); in ATF_TC_BODY()
748 ATF_REQUIRE_ERRNO(ENOENT, pathconf(errpath, _PC_NAME_MAX) == -1); in ATF_TC_BODY()
792 ATF_REQUIRE_ERRNO(ENOENT, lpathconf(errpath, _PC_SYMLINK_MAX) == -1); in ATF_TC_BODY()
H A Dfile-write.c36 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
75 ATF_REQUIRE_EQ(-1, truncate(errpath, offlen)); in ATF_TC_BODY()
H A Dfile-close.c46 static const char *errpath = "dirdoesnotexist/fileforaudit"; variable
210 ATF_REQUIRE_EQ(-1, revoke(errpath)); in ATF_TC_BODY()