Lines Matching defs:resfile
64 const char *resfile;
106 context_init(struct context *ctx, const atf_tc_t *tc, const char *resfile)
109 ctx->resfile = resfile;
205 create_resfile(const char *resfile, const char *result, const int arg,
210 if (strcmp("/dev/stdout", resfile) == 0) {
212 } else if (strcmp("/dev/stderr", resfile) == 0) {
215 const int fd = open(resfile, O_WRONLY | O_CREAT | O_TRUNC,
219 resfile);
283 create_resfile(ctx->resfile, "expected_failure", -1, reason);
293 create_resfile(ctx->resfile, "failed", -1, reason);
328 create_resfile(ctx->resfile, "passed", -1, NULL);
341 create_resfile(ctx->resfile, "skipped", -1, reason);
945 create_resfile(ctx->resfile, "expected_exit", exitcode, &formatted);
962 create_resfile(ctx->resfile, "expected_signal", signo, &formatted);
978 create_resfile(ctx->resfile, "expected_death", -1, &formatted);
994 create_resfile(ctx->resfile, "expected_timeout", -1, &formatted);
1004 atf_tc_run(const atf_tc_t *tc, const char *resfile)
1006 context_init(&Current, tc, resfile);