sys/dev/misc/tbridge/tbridge.c
104
testcase_set_stdout_buf(prop_dictionary_t testcase, const char *buf)
sys/dev/misc/tbridge/tbridge.c
106
prop_dictionary_t dict = testcase_get_result_dict(testcase);
sys/dev/misc/tbridge/tbridge.c
112
testcase_set_result(prop_dictionary_t testcase, int result)
sys/dev/misc/tbridge/tbridge.c
114
prop_dictionary_t dict = testcase_get_result_dict(testcase);
sys/dev/misc/tbridge/tbridge.c
120
testcase_get_name(prop_dictionary_t testcase)
sys/dev/misc/tbridge/tbridge.c
125
r = prop_dictionary_get_cstring_nocopy(testcase, "name", &str);
sys/dev/misc/tbridge/tbridge.c
66
testcase_get_result_dict(prop_dictionary_t testcase)
sys/dev/misc/tbridge/tbridge.c
71
result_dict = prop_dictionary_get(testcase, "result");
sys/dev/misc/tbridge/tbridge.c
79
r = prop_dictionary_set(testcase, "result", result_dict);
sys/dev/misc/tbridge/tbridge.c
90
testcase_get_timeout(prop_dictionary_t testcase)
sys/dev/misc/tbridge/tbridge.c
95
r = prop_dictionary_get_int32(prop_dictionary_get(testcase, "opts"),
sys/sys/tbridge.h
80
#define TBRIDGE_TESTCASE_MODULE(name, testcase) \
sys/sys/tbridge.h
84
testcase \
test/stress/stress2/testcases/openat/doat.c
60
struct testcase tests[10]; // no more than 10 tests
usr.bin/dfregress/fe/text/fe_text.c
137
runlist_parse_summary(void *arg __unused, prop_dictionary_t testcase)
usr.bin/dfregress/fe/text/fe_text.c
142
++count_by_result[testcase_get_result(testcase)];
usr.bin/dfregress/fe/text/fe_text.c
143
args = get_arg_string(testcase);
usr.bin/dfregress/fe/text/fe_text.c
145
i = printf("%s", testcase_get_name(testcase));
usr.bin/dfregress/fe/text/fe_text.c
152
printf("%s\n", testcase_get_result_desc(testcase));
usr.bin/dfregress/fe/text/fe_text.c
158
runlist_parse_detail(void *arg __unused, prop_dictionary_t testcase)
usr.bin/dfregress/fe/text/fe_text.c
162
args = get_arg_string(testcase);
usr.bin/dfregress/fe/text/fe_text.c
167
printf("Test: %s\n", testcase_get_name(testcase));
usr.bin/dfregress/fe/text/fe_text.c
171
printf("Type: %s\n", testcase_get_type_desc(testcase));
usr.bin/dfregress/fe/text/fe_text.c
172
printf("Result: %s\n", testcase_get_result_desc(testcase));
usr.bin/dfregress/fe/text/fe_text.c
174
switch (testcase_get_result(testcase)) {
usr.bin/dfregress/fe/text/fe_text.c
176
printf("Exit code: %d\n", testcase_get_exit_value(testcase));
usr.bin/dfregress/fe/text/fe_text.c
180
printf("Signal: %d\n", testcase_get_signal(testcase));
usr.bin/dfregress/fe/text/fe_text.c
185
printf("driver sysbuf:\n%s\n", testcase_get_sys_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
187
printf("build log:\n%s\n", testcase_get_build_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
189
printf("'pre' log:\n%s\n", testcase_get_precmd_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
191
printf("testcase stdout:\n%s\n", testcase_get_stdout_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
193
printf("testcase stderr:\n%s\n", testcase_get_stderr_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
195
printf("'post' log:\n%s\n", testcase_get_postcmd_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
197
printf("cleanup log:\n%s\n", testcase_get_cleanup_buf(testcase));
usr.bin/dfregress/fe/text/fe_text.c
77
static char *get_arg_string(prop_dictionary_t testcase)
usr.bin/dfregress/fe/text/fe_text.c
85
argv = testcase_get_args(testcase);
usr.bin/dfregress/kernel.c
103
r = prop_dictionary_send_ioctl(testcase, fd, TBRIDGE_LOADTEST);
usr.bin/dfregress/kernel.c
107
testcase_set_sys_buf(testcase, errmsg);
usr.bin/dfregress/kernel.c
108
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/kernel.c
119
testcase_set_sys_buf(testcase, errmsg);
usr.bin/dfregress/kernel.c
120
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/kernel.c
127
testcase_set_result(testcase, testcase_get_result(tkcase));
usr.bin/dfregress/kernel.c
128
testcase_set_stdout_buf(testcase, testcase_get_stdout_buf(tkcase));
usr.bin/dfregress/kernel.c
138
testcase_set_sys_buf(testcase, errmsg);
usr.bin/dfregress/kernel.c
63
run_kernel(const char *kmod, prop_dictionary_t testcase)
usr.bin/dfregress/kernel.c
73
testcase_set_sys_buf(testcase, errmsg);
usr.bin/dfregress/kernel.c
74
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/kernel.c
84
testcase_set_sys_buf(testcase, errmsg);
usr.bin/dfregress/kernel.c
85
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/kernel.c
95
testcase_set_sys_buf(testcase, errmsg);
usr.bin/dfregress/kernel.c
96
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/kernel.h
30
int run_kernel(const char *kmod, prop_dictionary_t testcase);
usr.bin/dfregress/runlist.c
107
runlist_run_test(void *arg, prop_dictionary_t testcase)
usr.bin/dfregress/runlist.c
119
testcase_get_name(testcase));
usr.bin/dfregress/runlist.c
125
printf("Running testcase %s... ", testcase_get_name(testcase));
usr.bin/dfregress/runlist.c
133
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/runlist.c
134
testcase_set_sys_buf(testcase, errbuf);
usr.bin/dfregress/runlist.c
139
if ((testcase_get_flags(testcase) & TESTCASE_NOBUILD) == 0) {
usr.bin/dfregress/runlist.c
140
r = run_simple_cmd(testcase_get_make_cmd(testcase), NULL,
usr.bin/dfregress/runlist.c
143
testcase_set_sys_buf(testcase, errbuf);
usr.bin/dfregress/runlist.c
144
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/runlist.c
149
testcase_set_build_buf(testcase, tr.stdout_buf);
usr.bin/dfregress/runlist.c
154
if (testcase_get_type(testcase)
usr.bin/dfregress/runlist.c
156
testcase_set_result(testcase, tr.result);
usr.bin/dfregress/runlist.c
158
testcase_set_result(testcase, RESULT_BUILDFAIL);
usr.bin/dfregress/runlist.c
160
testcase_set_exit_value(testcase, tr.exit_value);
usr.bin/dfregress/runlist.c
161
testcase_set_signal(testcase, tr.signal);
usr.bin/dfregress/runlist.c
169
switch (testcase_get_precmd_type(testcase)) {
usr.bin/dfregress/runlist.c
180
testcase_get_custom_precmd(testcase));
usr.bin/dfregress/runlist.c
195
testcase_set_sys_buf(testcase, errbuf);
usr.bin/dfregress/runlist.c
196
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/runlist.c
201
testcase_set_precmd_buf(testcase, tr.stdout_buf);
usr.bin/dfregress/runlist.c
206
testcase_set_result(testcase, RESULT_PREFAIL);
usr.bin/dfregress/runlist.c
211
switch (testcase_get_type(testcase)) {
usr.bin/dfregress/runlist.c
213
testcase_set_result(testcase, RESULT_PASS);
usr.bin/dfregress/runlist.c
214
testcase_set_exit_value(testcase, 0);
usr.bin/dfregress/runlist.c
220
testcase_get_argc(testcase),
usr.bin/dfregress/runlist.c
221
testcase_get_args(testcase),
usr.bin/dfregress/runlist.c
222
testcase_get_interpreter_noexit(testcase),
usr.bin/dfregress/runlist.c
223
testcase_needs_setuid(testcase),
usr.bin/dfregress/runlist.c
224
testcase_get_runas_uid(testcase),
usr.bin/dfregress/runlist.c
225
testcase_get_timeout(testcase),
usr.bin/dfregress/runlist.c
226
testcase_get_rc(testcase),
usr.bin/dfregress/runlist.c
230
testcase_set_result(testcase, tr.result);
usr.bin/dfregress/runlist.c
231
testcase_set_exit_value(testcase, tr.exit_value);
usr.bin/dfregress/runlist.c
232
testcase_set_signal(testcase, tr.signal);
usr.bin/dfregress/runlist.c
235
testcase_set_stdout_buf(testcase, tr.stdout_buf);
usr.bin/dfregress/runlist.c
240
testcase_set_stderr_buf(testcase, tr.stderr_buf);
usr.bin/dfregress/runlist.c
245
testcase_set_sys_buf(testcase, errbuf);
usr.bin/dfregress/runlist.c
251
run_kernel(testcase_path, testcase);
usr.bin/dfregress/runlist.c
257
switch (testcase_get_postcmd_type(testcase)) {
usr.bin/dfregress/runlist.c
268
testcase_get_custom_postcmd(testcase));
usr.bin/dfregress/runlist.c
283
testcase_set_sys_buf(testcase, errbuf);
usr.bin/dfregress/runlist.c
284
testcase_set_result(testcase, RESULT_POSTFAIL);
usr.bin/dfregress/runlist.c
289
testcase_set_postcmd_buf(testcase, tr.stdout_buf);
usr.bin/dfregress/runlist.c
294
testcase_set_result(testcase, RESULT_POSTFAIL);
usr.bin/dfregress/runlist.c
303
if ((testcase_get_flags(testcase) & TESTCASE_NOBUILD) == 0) {
usr.bin/dfregress/runlist.c
304
r = run_simple_cmd(testcase_get_make_cmd(testcase), "clean",
usr.bin/dfregress/runlist.c
308
testcase_set_cleanup_buf(testcase, tr.stdout_buf);
usr.bin/dfregress/runlist.c
313
testcase_set_cleanup_buf(testcase, errbuf);
usr.bin/dfregress/runlist.c
89
prop_dictionary_t testcase;
usr.bin/dfregress/runlist.c
96
while ((testcase = prop_object_iterator_next(it)) != NULL) {
usr.bin/dfregress/runlist.c
97
r = iterator(arg, testcase);
usr.bin/dfregress/runlist.h
40
int runlist_run_test(void *arg, prop_dictionary_t testcase);
usr.bin/dfregress/testcase.c
101
(int32_t)testcase->opts.timeout_in_secs);
usr.bin/dfregress/testcase.c
106
(int32_t)testcase->opts.rc);
usr.bin/dfregress/testcase.c
110
r = prop_dictionary_set_uint32(dict, "flags", testcase->opts.flags);
usr.bin/dfregress/testcase.c
114
if (testcase->opts.pre_cmd != NULL) {
usr.bin/dfregress/testcase.c
116
testcase->opts.pre_cmd);
usr.bin/dfregress/testcase.c
121
if (testcase->opts.post_cmd != NULL) {
usr.bin/dfregress/testcase.c
123
testcase->opts.post_cmd);
usr.bin/dfregress/testcase.c
128
if (testcase->opts.interpreter != NULL) {
usr.bin/dfregress/testcase.c
130
testcase->opts.interpreter);
usr.bin/dfregress/testcase.c
136
(uint32_t)testcase->opts.runas_uid);
usr.bin/dfregress/testcase.c
141
(testcase->opts.make_cmd != NULL) ? testcase->opts.make_cmd : "make");
usr.bin/dfregress/testcase.c
153
testcase_get_timeout(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
159
r = prop_dictionary_get_int32(prop_dictionary_get(testcase, "opts"),
usr.bin/dfregress/testcase.c
171
testcase_get_type(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
176
r = prop_dictionary_get_cstring_nocopy(testcase, "type", &type);
usr.bin/dfregress/testcase.c
191
testcase_get_type_desc(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
196
r = prop_dictionary_get_cstring_nocopy(testcase, "type", &str);
usr.bin/dfregress/testcase.c
204
testcase_get_name(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
209
r = prop_dictionary_get_cstring_nocopy(testcase, "name", &str);
usr.bin/dfregress/testcase.c
217
testcase_get_argc(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
222
r = prop_dictionary_get_int32(testcase, "argc", &argc);
usr.bin/dfregress/testcase.c
230
testcase_get_args(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
238
a = prop_dictionary_get(testcase, "args");
usr.bin/dfregress/testcase.c
256
testcase_get_flags(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
261
r = prop_dictionary_get_uint32(prop_dictionary_get(testcase, "opts"),
usr.bin/dfregress/testcase.c
270
testcase_get_precmd_type(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
272
uint32_t flags = testcase_get_flags(testcase);
usr.bin/dfregress/testcase.c
278
testcase_get_rc(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
283
r = prop_dictionary_get_int32(prop_dictionary_get(testcase, "opts"),
usr.bin/dfregress/testcase.c
292
testcase_get_postcmd_type(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
294
uint32_t flags = testcase_get_flags(testcase);
usr.bin/dfregress/testcase.c
300
testcase_needs_setuid(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
302
uint32_t flags = testcase_get_flags(testcase);
usr.bin/dfregress/testcase.c
308
testcase_get_runas_uid(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
314
prop_dictionary_get(testcase, "opts"), "runas_uid", &uid);
usr.bin/dfregress/testcase.c
322
testcase_get_custom_precmd(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
328
prop_dictionary_get(testcase, "opts"), "pre_cmd", &str);
usr.bin/dfregress/testcase.c
336
testcase_get_custom_postcmd(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
342
prop_dictionary_get(testcase, "opts"), "pre_cmd", &str);
usr.bin/dfregress/testcase.c
350
_testcase_get_interpreter(prop_dictionary_t testcase, bool fatal)
usr.bin/dfregress/testcase.c
356
prop_dictionary_get(testcase, "opts"), "interpreter", &str);
usr.bin/dfregress/testcase.c
368
testcase_get_interpreter(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
370
return _testcase_get_interpreter(testcase, true);
usr.bin/dfregress/testcase.c
374
testcase_get_interpreter_noexit(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
376
return _testcase_get_interpreter(testcase, false);
usr.bin/dfregress/testcase.c
380
testcase_get_make_cmd(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
386
prop_dictionary_get(testcase, "opts"), "make_cmd", &str);
usr.bin/dfregress/testcase.c
394
testcase_get_result_dict(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
399
result_dict = prop_dictionary_get(testcase, "result");
usr.bin/dfregress/testcase.c
405
r = prop_dictionary_set(testcase, "result", result_dict);
usr.bin/dfregress/testcase.c
414
testcase_set_build_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
416
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
422
testcase_set_cleanup_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
424
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
430
testcase_set_sys_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
432
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
438
testcase_set_precmd_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
440
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
446
testcase_set_postcmd_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
448
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
454
testcase_set_stdout_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
456
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
462
testcase_set_stderr_buf(prop_dictionary_t testcase, const char *buf)
usr.bin/dfregress/testcase.c
464
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
470
testcase_set_result(prop_dictionary_t testcase, int result)
usr.bin/dfregress/testcase.c
472
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
478
testcase_set_exit_value(prop_dictionary_t testcase, int exitval)
usr.bin/dfregress/testcase.c
480
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
486
testcase_set_signal(prop_dictionary_t testcase, int sig)
usr.bin/dfregress/testcase.c
488
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
494
testcase_get_build_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
498
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
505
testcase_get_cleanup_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
509
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
516
testcase_get_sys_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
520
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
527
testcase_get_precmd_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
531
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
538
testcase_get_postcmd_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
542
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
549
testcase_get_stdout_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
55
testcase_from_struct(struct testcase *testcase)
usr.bin/dfregress/testcase.c
553
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
560
testcase_get_stderr_buf(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
564
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
571
testcase_get_result(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
575
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
582
testcase_get_result_desc(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
584
int result = testcase_get_result(testcase);
usr.bin/dfregress/testcase.c
600
testcase_get_exit_value(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
605
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
614
testcase_get_signal(prop_dictionary_t testcase)
usr.bin/dfregress/testcase.c
619
prop_dictionary_t dict = testcase_get_result_dict(testcase);
usr.bin/dfregress/testcase.c
65
r = prop_dictionary_set_cstring(testcase_dict, "name", testcase->name);
usr.bin/dfregress/testcase.c
68
r = prop_dictionary_set_cstring(testcase_dict, "type", testcase->type_str);
usr.bin/dfregress/testcase.c
725
struct testcase *testcase;
usr.bin/dfregress/testcase.c
73
(int32_t)testcase->argc);
usr.bin/dfregress/testcase.c
731
testcase = malloc(sizeof(struct testcase));
usr.bin/dfregress/testcase.c
732
if (testcase == NULL)
usr.bin/dfregress/testcase.c
735
bzero(testcase, sizeof(struct testcase));
usr.bin/dfregress/testcase.c
739
testcase->argv = &tokens[3];
usr.bin/dfregress/testcase.c
740
for (testcase->argc = 0; testcase->argv[testcase->argc] != NULL;
usr.bin/dfregress/testcase.c
741
testcase->argc++)
usr.bin/dfregress/testcase.c
746
testcase->name = tokens[0];
usr.bin/dfregress/testcase.c
749
testcase->type = TESTCASE_TYPE_USERLAND;
usr.bin/dfregress/testcase.c
751
testcase->type = TESTCASE_TYPE_KERNEL;
usr.bin/dfregress/testcase.c
753
testcase->type = TESTCASE_TYPE_BUILDONLY;
usr.bin/dfregress/testcase.c
759
testcase->type_str = tokens[1];
usr.bin/dfregress/testcase.c
761
config_get_defaults(&testcase->opts);
usr.bin/dfregress/testcase.c
764
parse_testcase_option(&testcase->opts, options[i]);
usr.bin/dfregress/testcase.c
766
if ((testcase->type != TESTCASE_TYPE_USERLAND) &&
usr.bin/dfregress/testcase.c
767
(testcase->opts.flags & (TESTCASE_INT_PRE | TESTCASE_INT_POST)))
usr.bin/dfregress/testcase.c
77
a = prop_array_create_with_capacity(testcase->argc+1);
usr.bin/dfregress/testcase.c
771
if ((testcase->type == TESTCASE_TYPE_BUILDONLY) &&
usr.bin/dfregress/testcase.c
772
(testcase->opts.flags & TESTCASE_NOBUILD))
usr.bin/dfregress/testcase.c
776
testcase_dict = testcase_from_struct(testcase);
usr.bin/dfregress/testcase.c
777
if (testcase->opts.pre_cmd != NULL)
usr.bin/dfregress/testcase.c
778
free(testcase->opts.pre_cmd);
usr.bin/dfregress/testcase.c
779
if (testcase->opts.post_cmd != NULL)
usr.bin/dfregress/testcase.c
780
free(testcase->opts.post_cmd);
usr.bin/dfregress/testcase.c
781
if (testcase->opts.interpreter != NULL)
usr.bin/dfregress/testcase.c
782
free(testcase->opts.interpreter);
usr.bin/dfregress/testcase.c
783
if (testcase->opts.make_cmd != NULL)
usr.bin/dfregress/testcase.c
784
free(testcase->opts.make_cmd);
usr.bin/dfregress/testcase.c
785
free(testcase);
usr.bin/dfregress/testcase.c
81
s = strrchr(testcase->name, '/');
usr.bin/dfregress/testcase.c
82
r = prop_array_set_cstring(a, 0, (s == NULL) ? testcase->name : s+1);
usr.bin/dfregress/testcase.c
86
for (i = 1; i <= testcase->argc; i++) {
usr.bin/dfregress/testcase.c
87
r = prop_array_set_cstring(a, i, testcase->argv[i-1]);
usr.bin/dfregress/testcase.h
100
int testcase_set_precmd_buf(prop_dictionary_t testcase, const char *buf);
usr.bin/dfregress/testcase.h
101
int testcase_set_postcmd_buf(prop_dictionary_t testcase, const char *buf);
usr.bin/dfregress/testcase.h
102
int testcase_set_stdout_buf(prop_dictionary_t testcase, const char *buf);
usr.bin/dfregress/testcase.h
103
int testcase_set_stderr_buf(prop_dictionary_t testcase, const char *buf);
usr.bin/dfregress/testcase.h
104
int testcase_set_stdout_buf_from_file(prop_dictionary_t testcase, const char *file);
usr.bin/dfregress/testcase.h
105
int testcase_set_stderr_buf_from_file(prop_dictionary_t testcase, const char *file);
usr.bin/dfregress/testcase.h
106
int testcase_set_result(prop_dictionary_t testcase, int result);
usr.bin/dfregress/testcase.h
107
int testcase_set_exit_value(prop_dictionary_t testcase, int exitval);
usr.bin/dfregress/testcase.h
108
int testcase_set_signal(prop_dictionary_t testcase, int sig);
usr.bin/dfregress/testcase.h
109
const char *testcase_get_build_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
110
const char *testcase_get_cleanup_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
111
const char *testcase_get_sys_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
112
const char *testcase_get_precmd_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
113
const char *testcase_get_postcmd_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
114
const char *testcase_get_stdout_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
115
const char *testcase_get_stderr_buf(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
116
int testcase_get_result(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
117
const char *testcase_get_result_desc(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
118
int testcase_get_exit_value(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
119
int testcase_get_signal(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
77
prop_dictionary_t testcase_from_struct(struct testcase *testcase);
usr.bin/dfregress/testcase.h
79
struct timeval *testcase_get_timeout(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
80
int testcase_get_type(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
81
int testcase_get_rc(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
82
const char *testcase_get_type_desc(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
83
const char *testcase_get_name(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
84
int testcase_get_argc(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
85
const char **testcase_get_args(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
86
uint32_t testcase_get_flags(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
87
int testcase_get_precmd_type(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
88
int testcase_get_postcmd_type(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
89
int testcase_needs_setuid(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
90
uid_t testcase_get_runas_uid(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
91
const char *testcase_get_custom_precmd(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
92
const char *testcase_get_custom_postcmd(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
93
const char *testcase_get_interpreter(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
94
const char *testcase_get_interpreter_noexit(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
95
const char *testcase_get_make_cmd(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
96
prop_dictionary_t testcase_get_result_dict(prop_dictionary_t testcase);
usr.bin/dfregress/testcase.h
97
int testcase_set_build_buf(prop_dictionary_t testcase, const char *buf);
usr.bin/dfregress/testcase.h
98
int testcase_set_cleanup_buf(prop_dictionary_t testcase, const char *buf);
usr.bin/dfregress/testcase.h
99
int testcase_set_sys_buf(prop_dictionary_t testcase, const char *buf);