Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 61) sorted by relevance

123

/tools/testing/selftests/exec/
Dexecveat.c152 int fail = 0; in check_execveat_pathmax() local
185 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
189 fail++; in check_execveat_pathmax()
203 fail += check_execveat_invoked_rc(dot_dfd, longpath, 0, in check_execveat_pathmax()
206 fail += check_execveat(dot_dfd, longpath, 0); in check_execveat_pathmax()
208 return fail; in check_execveat_pathmax()
213 int fail = 0; in run_tests() local
250 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests()
251 fail += check_execveat(dot_dfd, "execveat", 0); in run_tests()
252 fail += check_execveat(dot_dfd_path, "execveat", 0); in run_tests()
[all …]
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc27 fail() { # mesg
49 fail "Found junk in trace"
62 fail "Nothing found in trace"
91 fail "Did not find traceoff trigger"
99 fail "Tracing is not stopped"
104 fail "Tracing is not off"
112 fail "Tracing file is still changing"
119 fail "Tracing is still happeing"
126 fail "traceoff trigger still exists"
131 fail "Tracing is started again"
[all …]
Dfunc_set_ftrace_file.tc26 fail() { # mesg
82 fail "Expected only $ALL_FUNCS"
87 fail "Expected $ALL_FUNCS and $FUNC1:traceoff:unlimited"
92 fail "Expected $FUNC1 and $FUNC1:traceoff:unlimited"
97 fail "Expected $FUNC1 $FUNC2 and $FUNC1:traceoff:unlimited"
102 fail "Expected $FUNC1 $FUNC2 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
107 fail "Expected $FUNC1 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
112 fail "Expected $ALL_FUNCS $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
118 fail "Expected $ALL_FUNCS"
123 fail "Expected $FUNC1"
[all …]
Dfgraph-filter-stack.tc28 fail() { # msg
41 fail "can not enable schedule filter"
65 fail "Graph filtering not working with stack tracer?"
71 fail "No schedule traces found?"
82 fail "Graph filtering not working after stack tracer disabled?"
87 fail "No schedule traces found?"
Dfgraph-filter.tc18 fail() { # msg
31 fail "can not enable schedule filter"
42 fail "Graph filtering not working by itself?"
48 fail "No schedule traces found?"
Dfunc_profiler.tc31 fail() { # mesg
59 fail "more than schedule was found"
65 fail "can not find schedule in trace"
76 fail "no other functions besides schedule was found"
Dfunc-filter-pid.tc51 fail() { # msg
83 fail "PID filtering not working?"
104 fail "PID filtering not following fork?"
/tools/testing/selftests/powerpc/signal/
Dsignal_tm.c30 static sig_atomic_t fail; variable
35 fail = 2; in signal_handler()
42 fail = 1; in signal_handler()
92 i, fail, rc, ret); in test_signal_tm()
95 while(!signaled && !fail) in test_signal_tm()
99 i, fail, rc, ret); in test_signal_tm()
100 FAIL_IF(fail); /* For the line number */ in test_signal_tm()
Dsignal.c30 static sig_atomic_t fail; variable
37 fail = 1; in signal_handler()
72 while (!signaled && !fail) in test_signal()
92 i, fail, rc); in test_signal()
95 while (!signaled && !fail) in test_signal()
99 i, fail, rc); in test_signal()
/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-chk-gpr.c40 static sig_atomic_t fail; variable
51 for (i = 0; i < NV_GPR_REGS && !fail; i++) { in signal_usr1()
52 fail = (ucp->uc_mcontext.gp_regs[i + 14] != gps[i]); in signal_usr1()
53 fail |= (tm_ucp->uc_mcontext.gp_regs[i + 14] != gps[i + NV_GPR_REGS]); in signal_usr1()
54 if (fail) in signal_usr1()
78 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk_gpr()
84 return fail; in tm_signal_context_chk_gpr()
Dtm-signal-context-chk-fpu.c46 static sig_atomic_t fail; variable
54 for (i = 0; i < NV_FPU_REGS && !fail; i++) { in signal_usr1()
55 fail = (ucp->uc_mcontext.fp_regs[i + 14] != fps[i]); in signal_usr1()
56 fail |= (tm_ucp->uc_mcontext.fp_regs[i + 14] != fps[i + NV_FPU_REGS]); in signal_usr1()
57 if (fail) in signal_usr1()
80 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk_fpu()
86 return fail; in tm_signal_context_chk_fpu()
Dtm-signal-context-chk-vmx.c41 static sig_atomic_t fail; variable
60 for (i = 0; i < NV_VMX_REGS && !fail; i++) { in signal_usr1()
61 fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[i + 20], in signal_usr1()
63 fail |= memcmp(tm_ucp->uc_mcontext.v_regs->vrregs[i + 20], in signal_usr1()
66 if (fail) { in signal_usr1()
98 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk()
104 return fail; in tm_signal_context_chk()
Dtm-signal-context-chk-vsx.c41 static sig_atomic_t fail; variable
73 for (i = 0; i < NV_VSX_REGS && !fail; i++) { in signal_usr1()
76 fail = memcmp(vsc, &vss[i], sizeof(vector int)); in signal_usr1()
79 fail |= memcmp(vst, &vss[i + NV_VSX_REGS], sizeof(vector int)); in signal_usr1()
81 if (fail) { in signal_usr1()
113 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk()
119 return fail; in tm_signal_context_chk()
/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-multihist.tc12 fail() { #msg
44 fail "hist trigger on sched_process_fork did not work"
46 fail "hist trigger on sched_process_fork did not work"
49 fail "string key on sched_process_fork did not work"
58 fail "named event on sched_process_fork did not work"
65 fail "named event on sched_process_fork did not work"
68 test $diffs -eq 0 || fail "Same name histograms are not same"
Dtrigger-hist.tc12 fail() { #msg
41 fail "hist trigger on sched_process_fork did not work"
43 fail "hist trigger on sched_process_fork did not work"
52 fail "compound keys on sched_process_fork did not work"
62 fail "string key on sched_process_fork did not work"
80 fail "sort param on sched_process_fork did not work"
Dtrigger-hist-mod.tc12 fail() { #msg
42 fail "execname modifier on sched_process_fork did not work"
53 fail "hex modifier on sched_process_fork did not work"
62 fail "syscall modifier on raw_syscalls/sys_exit did not work"
72 fail "log2 modifier on kmem/kmalloc did not work"
Dtrigger-traceonoff.tc11 fail() { #msg
35 fail "traceoff trigger on sched_process_fork did not work"
45 fail "traceoff trigger on sched_process_fork did not work"
Dtrigger-eventonoff.tc12 fail() { #msg
42 fail "enable_event trigger on sched_process_fork did not work"
52 fail "disable_event trigger on sched_process_fork did not work"
/tools/testing/selftests/ftrace/test.d/event/
Dsubsystem-enable.tc11 fail() { #msg
35 fail "at least fork, exec and exit events should be recorded"
46 fail "at least fork, exec and exit events should be recorded"
57 fail "any of scheduler events should not be recorded"
Dtoplevel-enable.tc10 fail() { #msg
36 fail "none of events are recorded"
49 fail "none of events are recorded"
60 fail "any of events should not be recorded"
Devent-enable.tc11 fail() { #msg
35 fail "sched_switch events are not recorded"
46 fail "sched_switch events are not recorded"
57 fail "sched_switch events should not be recorded"
Devent-pid.tc13 fail() { #msg
42 fail "sched_switch events are not recorded"
56 fail "sched_switch events from other task are recorded"
69 fail "sched_switch events from other task are not recorded"
/tools/testing/selftests/ftrace/test.d/instances/
Dinstance-event.tc10 fail() { # mesg
77 fail "foo still exists"
84 fail "foo still exists"
140 fail "instance $d still exists"
/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c79 goto fail; in dscr_default()
108 goto fail; in dscr_default()
114 goto fail; in dscr_default()
119 fail: in dscr_default()
/tools/testing/selftests/powerpc/ptrace/
Dptrace.h123 goto fail; in show_tar_registers()
131 goto fail; in show_tar_registers()
139 goto fail; in show_tar_registers()
146 fail: in show_tar_registers()
171 goto fail; in write_tar_registers()
178 goto fail; in write_tar_registers()
185 goto fail; in write_tar_registers()
190 fail: in write_tar_registers()
213 goto fail; in show_tm_checkpointed_state()
221 goto fail; in show_tm_checkpointed_state()
[all …]

123