Lines Matching defs:scenario
54 * Description of a scenario.
56 struct scenario {
91 static const struct scenario scenarios[] = {
139 int scenarios_count = sizeof(scenarios) / sizeof(struct scenario);
262 * Enact a scenario by looping through the four test cases for the scenario,
267 enact_scenario(int scenario)
283 error = cred_set(scenarios[scenario].sc_cred2);
316 error = cred_set(scenarios[scenario].sc_cred1);
328 * by extracting it from the scenario table.
339 scenarios[scenario].sc_canptrace_errno;
353 scenarios[scenario].sc_canktrace_errno;
361 scenarios[scenario].sc_cansighup_errno;
368 scenarios[scenario].sc_cansigsegv_errno;
375 scenarios[scenario].sc_cansee_errno;
383 scenarios[scenario].sc_cansched_errno;
392 scenarios[scenario].sc_name, name,
396 scenarios[scenario].sc_cred1);
398 scenarios[scenario].sc_cred2);