Home
last modified time | relevance | path

Searched refs:atf_tc_t (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/atf/atf-c/
H A Dtc.h65 typedef struct atf_tc atf_tc_t; typedef
68 atf_error_t atf_tc_init(atf_tc_t *, const char *, atf_tc_head_t,
71 atf_error_t atf_tc_init_pack(atf_tc_t *, atf_tc_pack_t *,
73 void atf_tc_fini(atf_tc_t *);
76 const char *atf_tc_get_ident(const atf_tc_t *);
77 const char *atf_tc_get_config_var(const atf_tc_t *, const char *);
78 const char *atf_tc_get_config_var_wd(const atf_tc_t *, const char *,
80 bool atf_tc_get_config_var_as_bool(const atf_tc_t *, const char *);
81 bool atf_tc_get_config_var_as_bool_wd(const atf_tc_t *, const char *,
83 long atf_tc_get_config_var_as_long(const atf_tc_t *, const char *);
[all …]
H A Dtp.c49 const atf_tc_t *
52 const atf_tc_t *tc; in find_tc()
57 const atf_tc_t *tc2; in find_tc()
109 atf_tc_t *tc = atf_list_iter_data(iter); in atf_tp_fini()
130 const atf_tc_t *tc = find_tc(tp, id); in atf_tp_has_tc()
134 const atf_tc_t *
137 const atf_tc_t *tc = find_tc(tp, id); in atf_tp_get_tc()
142 const atf_tc_t *const *
145 const atf_tc_t **array; in atf_tp_get_tcs()
149 array = malloc(sizeof(atf_tc_t *) * in atf_tp_get_tcs()
[all …]
H A Dmacros_h_test.c85 atf_tc_t *test_name_1 = &ATF_TC_NAME(TEST_MACRO_1);
87 void (*head_1)(atf_tc_t *) = ATF_TC_HEAD_NAME(TEST_MACRO_1);
88 void (*body_1)(const atf_tc_t *) = ATF_TC_BODY_NAME(TEST_MACRO_1);
93 atf_tc_t *test_name_2 = &ATF_TC_NAME(TEST_MACRO_2);
95 void (*head_2)(atf_tc_t *) = ATF_TC_HEAD_NAME(TEST_MACRO_2);
96 void (*body_2)(const atf_tc_t *) = ATF_TC_BODY_NAME(TEST_MACRO_2);
97 void (*cleanup_2)(const atf_tc_t *) = ATF_TC_CLEANUP_NAME(TEST_MACRO_2);
100 atf_tc_t *test_name_3 = &ATF_TC_NAME(TEST_MACRO_3);
102 void (*body_3)(const atf_tc_t *) = ATF_TC_BODY_NAME(TEST_MACRO_3);
H A Dmacros.h44 static void atfu_ ## tc ## _body(const atf_tc_t *); \
45 static atf_tc_t atfu_ ## tc ## _tc; \
54 static void atfu_ ## tc ## _head(atf_tc_t *); \
55 static void atfu_ ## tc ## _body(const atf_tc_t *); \
56 static atf_tc_t atfu_ ## tc ## _tc; \
65 static void atfu_ ## tc ## _head(atf_tc_t *); \
66 static void atfu_ ## tc ## _body(const atf_tc_t *); \
67 static void atfu_ ## tc ## _cleanup(const atf_tc_t *); \
68 static atf_tc_t atfu_ ## tc ## _tc; \
79 atfu_ ## tc ## _head(atf_tc_t *tcptr ATF_DEFS_ATTRIBUTE_UNUSED)
[all …]
H A Dmacros_test.c79 init_and_run_h_tc(const char *name, void (*head)(atf_tc_t *), in init_and_run_h_tc() argument
80 void (*body)(const atf_tc_t *)) in init_and_run_h_tc() argument
82 atf_tc_t tc; in init_and_run_h_tc()
241 void (*head)(atf_tc_t *); in ATF_TC_BODY()
242 void (*body)(const atf_tc_t *); in ATF_TC_BODY()
285 void (*head)(atf_tc_t *); in ATF_TC_BODY()
286 void (*body)(const atf_tc_t *); in ATF_TC_BODY()
340 void (*head)(atf_tc_t *); in ATF_TC_BODY()
341 void (*body)(const atf_tc_t *); in ATF_TC_BODY()
383 void (*head)(atf_tc_t *);
[all …]
H A Dtc.c64 const atf_tc_t *tc;
77 static void context_init(struct context *, const atf_tc_t *, const char *);
113 context_init(struct context *ctx, const atf_tc_t *tc, const char *resfile) in context_init()
584 atf_tc_init(atf_tc_t *tc, const char *ident, atf_tc_head_t head, in atf_tc_init()
641 atf_tc_init_pack(atf_tc_t *tc, const atf_tc_pack_t *pack, in atf_tc_init_pack()
649 atf_tc_fini(atf_tc_t *tc) in atf_tc_fini()
660 atf_tc_get_ident(const atf_tc_t *tc) in atf_tc_get_ident()
666 atf_tc_get_config_var(const atf_tc_t *tc, const char *name) in atf_tc_get_config_var()
680 atf_tc_get_config_var_wd(const atf_tc_t *tc, const char *name, in atf_tc_get_config_var_wd()
694 atf_tc_get_config_var_as_bool(const atf_tc_t *tc, const char *name) in atf_tc_get_config_var_as_bool()
[all …]
H A Dtc_test.c63 atf_tc_t tc; in ATF_TC_BODY()
85 atf_tc_t tc; in ATF_TC_BODY()
118 atf_tc_t tc; in ATF_TC_BODY()
138 atf_tc_t tc; in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/fs/common/
H A Dfstest_nfs.c71 donewfs(const atf_tc_t *tc, void **argp, in donewfs()
161 nfs_fstest_newfs(const atf_tc_t *tc, void **argp, in nfs_fstest_newfs()
169 nfsro_fstest_newfs(const atf_tc_t *tc, void **argp, in nfsro_fstest_newfs()
178 domount(const atf_tc_t *tc, void *arg, const char *serverpath, in domount()
213 nfs_fstest_mount(const atf_tc_t *tc, void *arg, const char *path, int flags) in nfs_fstest_mount()
229 nfsro_fstest_mount(const atf_tc_t *tc, void *arg, const char *path, int flags) in nfsro_fstest_mount()
241 dodelfs(const atf_tc_t *tc, void *arg) in dodelfs()
271 nfs_fstest_delfs(const atf_tc_t *tc, void *arg) in nfs_fstest_delfs()
278 nfsro_fstest_delfs(const atf_tc_t *tc, void *arg) in nfsro_fstest_delfs()
285 dounmount(const atf_tc_t *tc, const char *path, int flags) in dounmount()
[all …]
H A Dfstest_rumpfs.c47 rumpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in rumpfs_fstest_newfs()
62 rumpfs_fstest_delfs(const atf_tc_t *tc, void *buf) in rumpfs_fstest_delfs()
69 rumpfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in rumpfs_fstest_mount()
81 rumpfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in rumpfs_fstest_unmount()
H A Dfstest_ffs.c56 ffs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, in ffs_fstest_newfs()
101 ffs_fstest_delfs(const atf_tc_t *tc, void *buf) in ffs_fstest_delfs()
123 ffs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in ffs_fstest_mount()
138 ffslog_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in ffslog_fstest_mount()
145 ffs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in ffs_fstest_unmount()
H A Dfstest_tmpfs.c53 tmpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in tmpfs_fstest_newfs()
77 tmpfs_fstest_delfs(const atf_tc_t *tc, void *buf) in tmpfs_fstest_delfs()
87 tmpfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in tmpfs_fstest_mount()
102 tmpfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in tmpfs_fstest_unmount()
H A Dfstest_zfs.c51 zfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in zfs_fstest_newfs()
92 zfs_fstest_delfs(const atf_tc_t *tc, void *buf) in zfs_fstest_delfs()
100 zfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in zfs_fstest_mount()
127 zfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in zfs_fstest_unmount()
H A Dfstest_ext2fs.c55 ext2fs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in ext2fs_fstest_newfs()
95 ext2fs_fstest_delfs(const atf_tc_t *tc, void *buf) in ext2fs_fstest_delfs()
114 ext2fs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in ext2fs_fstest_mount()
129 ext2fs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in ext2fs_fstest_unmount()
H A Dfstest_v7fs.c55 v7fs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in v7fs_fstest_newfs()
96 v7fs_fstest_delfs(const atf_tc_t *tc, void *buf) in v7fs_fstest_delfs()
115 v7fs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in v7fs_fstest_mount()
130 v7fs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in v7fs_fstest_unmount()
H A Dfstest_sysvbfs.c55 sysvbfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in sysvbfs_fstest_newfs()
95 sysvbfs_fstest_delfs(const atf_tc_t *tc, void *buf) in sysvbfs_fstest_delfs()
114 sysvbfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in sysvbfs_fstest_mount()
129 sysvbfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in sysvbfs_fstest_unmount()
H A Dfstest_msdosfs.c55 msdosfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in msdosfs_fstest_newfs()
96 msdosfs_fstest_delfs(const atf_tc_t *tc, void *buf) in msdosfs_fstest_delfs()
115 msdosfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in msdosfs_fstest_mount()
130 msdosfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in msdosfs_fstest_unmount()
H A Dfstest_udf.c56 udf_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, in udf_fstest_newfs()
105 udf_fstest_delfs(const atf_tc_t *tc, void *buf) in udf_fstest_delfs()
127 udf_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in udf_fstest_mount()
142 udf_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in udf_fstest_unmount()
H A Dfstest_lfs.c62 lfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, in lfs_fstest_newfs()
104 lfs_fstest_delfs(const atf_tc_t *tc, void *buf) in lfs_fstest_delfs()
153 lfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in lfs_fstest_mount()
179 lfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) in lfs_fstest_unmount()
/freebsd/contrib/netbsd-tests/fs/vfs/
H A Dt_ro.c53 nullgen(const atf_tc_t *tc, const char *mp) in nullgen()
60 filegen(const atf_tc_t *tc, const char *mp) in filegen()
78 create(const atf_tc_t *tc, const char *mp) in create()
87 rmfile(const atf_tc_t *tc, const char *mp) in rmfile()
96 fileio(const atf_tc_t *tc, const char *mp) in fileio()
120 attrs(const atf_tc_t *tc, const char *mp) in attrs()
146 createdir(const atf_tc_t *tc, const char *mp) in createdir()
155 createfifo(const atf_tc_t *tc, const char *mp) in createfifo()
164 createsymlink(const atf_tc_t *tc, const char *mp) in createsymlink()
173 createlink(const atf_tc_t *tc, const char *mp) in createlink()
H A Dt_io.c48 holywrite(const atf_tc_t *tc, const char *mp) in holywrite()
80 extendbody(const atf_tc_t *tc, off_t seekcnt) in extendbody()
104 extendfile(const atf_tc_t *tc, const char *mp) in extendfile()
111 extendfile_append(const atf_tc_t *tc, const char *mp) in extendfile_append()
118 overwritebody(const atf_tc_t *tc, off_t count, bool dotrunc) in overwritebody()
138 overwrite512(const atf_tc_t *tc, const char *mp) in overwrite512()
145 overwrite64k(const atf_tc_t *tc, const char *mp) in overwrite64k()
152 overwrite_trunc(const atf_tc_t *tc, const char *mp) in overwrite_trunc()
159 shrinkfile(const atf_tc_t *tc, const char *mp) in shrinkfile()
173 read_after_unlink(const atf_tc_t *tc, const char *mp) in read_after_unlink()
[all …]
H A Dt_rwtoro.c58 remount_ro(const atf_tc_t *tc, const char *mp, int expected_errno) in remount_ro()
129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno, in basic_test()
152 noneopen(const atf_tc_t *tc, const char *mp) in noneopen()
159 readopen(const atf_tc_t *tc, const char *mp) in readopen()
166 writeopen(const atf_tc_t *tc, const char *mp) in writeopen()
173 read_unlinked(const atf_tc_t *tc, const char *mp) in read_unlinked()
180 layer_noneopen(const atf_tc_t *tc, const char *mp) in layer_noneopen()
187 layer_readopen(const atf_tc_t *tc, const char *mp) in layer_readopen()
194 layer_writeopen(const atf_tc_t *tc, const char *mp) in layer_writeopen()
201 layer_read_unlinked(const atf_tc_t *tc, const char *mp) in layer_read_unlinked()
H A Dt_vnops.c67 lookup_simple(const atf_tc_t *tc, const char *mountpath) in lookup_simple()
85 lookup_complex(const atf_tc_t *tc, const char *mountpath) in lookup_complex()
156 dir_simple(const atf_tc_t *tc, const char *mountpath) in dir_simple()
178 dir_notempty(const atf_tc_t *tc, const char *mountpath) in dir_notempty()
208 dir_rmdirdotdot(const atf_tc_t *tc, const char *mp) in dir_rmdirdotdot()
251 rename_dir(const atf_tc_t *tc, const char *mp) in rename_dir()
351 rename_dotdot(const atf_tc_t *tc, const char *mp) in rename_dotdot()
380 rename_reg_nodir(const atf_tc_t *tc, const char *mp) in rename_reg_nodir()
458 create_many(const atf_tc_t *tc, const char *mp) in create_many()
507 create_nonalphanum(const atf_tc_t *tc, const char *mp) in create_nonalphanum()
[all …]
H A Dt_vfsops.c45 tmount(const atf_tc_t *tc, const char *path) in tmount()
52 tstatvfs(const atf_tc_t *tc, const char *path) in tstatvfs()
67 tsync(const atf_tc_t *tc, const char *path) in tsync()
75 tfilehandle(const atf_tc_t *tc, const char *path) in tfilehandle()
126 tfhremove(const atf_tc_t *tc, const char *path) in tfhremove()
164 tfhinval(const atf_tc_t *tc, const char *path) in tfhinval()
/freebsd/contrib/atf/atf-c/detail/
H A Dtest_helpers.c66 build_check_c_o_srcdir(const atf_tc_t *tc, const char *sfile) in build_check_c_o_srcdir()
96 get_process_helpers_path(const atf_tc_t *tc, const bool is_detail, in get_process_helpers_path()
105 atf_tc_t *m_tc;
122 run_h_tc(atf_tc_t *tc, const char *outname, const char *errname, in run_h_tc()
H A Dtest_helpers.h77 bool build_check_c_o_srcdir(const atf_tc_t *, const char *);
79 void get_process_helpers_path(const atf_tc_t *, const bool,
82 void run_h_tc(atf_tc_t *, const char *, const char *, const char *);

12