Home
last modified time | relevance | path

Searched full:fail (Results 1 – 25 of 3724) sorted by relevance

12345678910>>...149

/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_offload.py82 def fail(cond, msg): function
85 print("FAIL: " + msg)
88 log("FAIL: " + msg, tb, level=1)
96 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True): argument
109 return cmd_result(proc, include_stderr=include_stderr, fail=fail)
111 def cmd_result(proc, include_stderr=False, fail=False): argument
128 if proc.returncode != 0 and fail:
143 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument
153 fail=fail, include_stderr=True)
156 fail=fail, include_stderr=False)
[all …]
Dwith_addr.sh16 fail() { function
22 ip -6 addr add "${V6_INNER}" dev lo || fail 'failed to setup v6 address'
23 ip -4 addr add "${V4_INNER}" dev lo || fail 'failed to setup v4 address'
27 || fail 'failed to add sit'
29 || fail 'failed to bring sit device up'
31 || fail 'failed to setup v6 SIT address'
33 || fail 'failed to setup v4 SIT address'
36 sleep 2 # avoid race causing bind to fail
/Linux-v5.10/tools/testing/selftests/exec/
Dexecveat.c54 printf("[FAIL] (unexpected success from execveat(2))\n"); in _check_execveat_fail()
58 printf("[FAIL] (expected errno %d (%s) not %d (%s)\n", in _check_execveat_fail()
83 printf("[FAIL] (fork() failed)\n"); in check_execveat_invoked_rc()
89 printf("[FAIL]: execveat() failed, rc=%d errno=%d (%s)\n", in check_execveat_invoked_rc()
96 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); in check_execveat_invoked_rc()
100 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n", in check_execveat_invoked_rc()
106 printf("[FAIL] (child %d exited with %d not %d nor %d)\n", in check_execveat_invoked_rc()
155 int fail = 0; in check_execveat_pathmax() local
198 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
202 fail++; in check_execveat_pathmax()
[all …]
/Linux-v5.10/tools/testing/selftests/ftrace/test.d/preemptirq/
Dirqsoff_tracer.tc8 fail() {
36 modprobe $MOD test_mode=preempt delay=500000 || fail
37 rmmod $MOD || fail
38 modprobe $MOD test_mode=preempt delay=500000 || fail
39 rmmod $MOD || fail
40 modprobe $MOD test_mode=preempt delay=500000 || fail
41 rmmod $MOD || fail
46 grep -q "tracer: preemptoff" trace || fail
49 egrep -q "5.....us : <stack trace>" trace || fail
52 egrep -q "latency: 5..... us" trace || fail
[all …]
/Linux-v5.10/tools/testing/selftests/vm/
Dkhugepaged.c117 static void fail(const char *msg) in fail() function
522 fail("Fail"); in alloc_at_fault()
531 fail("Fail"); in alloc_at_fault()
542 fail("Timeout"); in collapse_full()
546 fail("Fail"); in collapse_full()
557 fail("Timeout"); in collapse_empty()
559 fail("Fail"); in collapse_empty()
572 fail("Timeout"); in collapse_single_pte_entry()
576 fail("Fail"); in collapse_single_pte_entry()
594 fail("Timeout"); in collapse_max_ptes_none()
[all …]
Drun_vmtests77 echo "[FAIL]"
92 echo "[FAIL]"
105 echo "[FAIL]"
120 echo "[FAIL]"
131 echo "[FAIL]"
142 echo "[FAIL]"
153 echo "[FAIL]"
166 echo "[FAIL]"
178 echo "[FAIL]"
194 echo "[FAIL]"
[all …]
/Linux-v5.10/drivers/gpu/drm/selftests/
Dtest-drm_rect.c27 FAIL(visible, "Destination not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
28 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
34 FAIL(visible, "Destination not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
35 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero()
52 FAIL(src.x1 != 0 || src.x2 != 1 << 16 || in igt_drm_rect_clip_scaled_not_clipped()
55 FAIL(dst.x1 != 0 || dst.x2 != 1 || in igt_drm_rect_clip_scaled_not_clipped()
58 FAIL(!visible, "Destination should be visible\n"); in igt_drm_rect_clip_scaled_not_clipped()
59 FAIL(!drm_rect_visible(&src), "Source should be visible\n"); in igt_drm_rect_clip_scaled_not_clipped()
68 FAIL(src.x1 != 0 || src.x2 != 2 << 16 || in igt_drm_rect_clip_scaled_not_clipped()
71 FAIL(dst.x1 != 0 || dst.x2 != 1 || in igt_drm_rect_clip_scaled_not_clipped()
[all …]
/Linux-v5.10/drivers/media/dvb-frontends/
Dlg2160.c133 goto fail; in lg216x_set_reg_bit()
140 fail: in lg216x_set_reg_bit()
171 goto fail; in lg216x_soft_reset()
176 goto fail; in lg216x_soft_reset()
179 fail: in lg216x_soft_reset()
226 goto fail; in lg216x_initialize()
230 fail: in lg216x_initialize()
245 goto fail; in lg216x_set_if()
254 fail: in lg216x_set_if()
268 goto fail; in lg2160_agc_fix()
[all …]
/Linux-v5.10/security/apparmor/
Dpolicy_unpack.c228 goto fail; in unpack_u16_chunk()
232 goto fail; in unpack_u16_chunk()
237 fail: in unpack_u16_chunk()
284 goto fail; in unpack_nameX()
286 /* if a name is specified and there is no name tag fail */ in unpack_nameX()
287 goto fail; in unpack_nameX()
294 fail: in unpack_nameX()
305 goto fail; in unpack_u8()
312 fail: in unpack_u8()
323 goto fail; in unpack_u32()
[all …]
Dcrypto.c39 goto fail; in aa_calc_hash()
45 goto fail; in aa_calc_hash()
48 goto fail; in aa_calc_hash()
51 goto fail; in aa_calc_hash()
55 fail: in aa_calc_hash()
76 goto fail; in aa_calc_profile_hash()
82 goto fail; in aa_calc_profile_hash()
85 goto fail; in aa_calc_profile_hash()
88 goto fail; in aa_calc_profile_hash()
91 goto fail; in aa_calc_profile_hash()
[all …]
/Linux-v5.10/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc16 fail() { # mesg
35 fail "Found junk in trace"
48 fail "Nothing found in trace"
77 fail "Did not find traceoff trigger"
85 fail "Tracing is not stopped"
90 fail "Tracing is not off"
98 fail "Tracing file is still changing"
105 fail "Tracing is still happeing"
112 fail "traceoff trigger still exists"
117 fail "Tracing is started again"
[all …]
Dfunc_set_ftrace_file.tc15 fail() { # mesg
68 fail "Expected only $ALL_FUNCS"
73 fail "Expected $ALL_FUNCS and $FUNC1:traceoff:unlimited"
78 fail "Expected $FUNC1 and $FUNC1:traceoff:unlimited"
83 fail "Expected $FUNC1 $FUNC2 and $FUNC1:traceoff:unlimited"
88 fail "Expected $FUNC1 $FUNC2 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
93 fail "Expected $FUNC1 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
98 fail "Expected $ALL_FUNCS $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
104 fail "Expected $ALL_FUNCS"
109 fail "Expected $FUNC1"
[all …]
/Linux-v5.10/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c68 goto fail; in mxl1x1sf_demod_get_tps_code_rate()
87 fail: in mxl1x1sf_demod_get_tps_code_rate()
99 goto fail; in mxl1x1sf_demod_get_tps_modulation()
112 fail: in mxl1x1sf_demod_get_tps_modulation()
124 goto fail; in mxl1x1sf_demod_get_tps_guard_fft_mode()
137 fail: in mxl1x1sf_demod_get_tps_guard_fft_mode()
149 goto fail; in mxl1x1sf_demod_get_tps_guard_interval()
165 fail: in mxl1x1sf_demod_get_tps_guard_interval()
177 goto fail; in mxl1x1sf_demod_get_tps_hierarchy()
193 fail: in mxl1x1sf_demod_get_tps_hierarchy()
[all …]
Dmxl111sf-gpio.c32 goto fail; in mxl111sf_set_gpo_state()
37 goto fail; in mxl111sf_set_gpo_state()
43 goto fail; in mxl111sf_set_gpo_state()
48 goto fail; in mxl111sf_set_gpo_state()
51 fail: in mxl111sf_set_gpo_state()
71 goto fail; in mxl111sf_get_gpi_state()
80 goto fail; in mxl111sf_get_gpi_state()
88 goto fail; in mxl111sf_get_gpi_state()
94 fail: in mxl111sf_get_gpi_state()
119 goto fail; in mxl111sf_config_gpio_pins()
[all …]
/Linux-v5.10/lib/
Dtest_string.c24 goto fail; in memset16_selftest()
27 goto fail; in memset16_selftest()
30 goto fail; in memset16_selftest()
36 fail: in memset16_selftest()
60 goto fail; in memset32_selftest()
63 goto fail; in memset32_selftest()
66 goto fail; in memset32_selftest()
72 fail: in memset32_selftest()
96 goto fail; in memset64_selftest()
99 goto fail; in memset64_selftest()
[all …]
Dtest_siphash.c125 pr_info("siphash self-test aligned %u: FAIL\n", i + 1); in siphash_test_init()
130 pr_info("siphash self-test unaligned %u: FAIL\n", i + 1); in siphash_test_init()
135 pr_info("hsiphash self-test aligned %u: FAIL\n", i + 1); in siphash_test_init()
140 pr_info("hsiphash self-test unaligned %u: FAIL\n", i + 1); in siphash_test_init()
146 pr_info("siphash self-test 1u64: FAIL\n"); in siphash_test_init()
151 pr_info("siphash self-test 2u64: FAIL\n"); in siphash_test_init()
157 pr_info("siphash self-test 3u64: FAIL\n"); in siphash_test_init()
163 pr_info("siphash self-test 4u64: FAIL\n"); in siphash_test_init()
168 pr_info("siphash self-test 1u32: FAIL\n"); in siphash_test_init()
173 pr_info("siphash self-test 2u32: FAIL\n"); in siphash_test_init()
[all …]
/Linux-v5.10/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.c105 dev_err(afe->dev, "%s(), devm_clk_get %s fail, ret %ld\n", in mt8183_init_clock()
122 dev_err(afe->dev, "%s(), clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
129 dev_err(afe->dev, "%s(), clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
137 dev_err(afe->dev, "%s(), clk_set_parent %s-%s fail %d\n", in mt8183_afe_enable_clock()
145 dev_err(afe->dev, "%s(), clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
153 dev_err(afe->dev, "%s(), clk_set_parent %s-%s fail %d\n", in mt8183_afe_enable_clock()
161 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
168 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
175 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
182 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
[all …]
/Linux-v5.10/arch/arm/vdso/
Dvdsomunge.c83 static void fail(const char *fmt, ...) in fail() function
133 fail("Usage: %s [infile] [outfile]\n", argv[0]); in main()
140 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
143 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
147 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
154 fail("Not an ELF file\n"); in main()
157 fail("Unsupported ELF class\n"); in main()
162 fail("Not a shared object\n"); in main()
165 fail("Unsupported architecture %#x\n", inhdr->e_machine); in main()
170 fail("Unsupported EABI version %#x\n", in main()
[all …]
/Linux-v5.10/tools/testing/selftests/proc/
Dproc-self-map-files-001.c36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() function
66 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
67 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
68 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
69 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
70 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
71 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
73 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
74 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
76 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
Dproc-self-map-files-002.c36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() function
78 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
79 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
80 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
81 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
82 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
83 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
85 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
86 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
88 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
/Linux-v5.10/tools/testing/selftests/powerpc/signal/
Dsignal_tm.c26 static sig_atomic_t fail; variable
31 fail = 2; in signal_handler()
38 fail = 1; in signal_handler()
62 * If anything bad happens in ASM and we fail to set ret in test_signal_tm()
87 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx ret=0x%lx\n", in test_signal_tm()
88 i, fail, rc, ret); in test_signal_tm()
91 while(!signaled && !fail) in test_signal_tm()
94 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx ret=0x%lx\n", in test_signal_tm()
95 i, fail, rc, ret); in test_signal_tm()
96 FAIL_IF(fail); /* For the line number */ in test_signal_tm()
Dsignal.c26 static sig_atomic_t fail; variable
33 fail = 1; in signal_handler()
68 while (!signaled && !fail) in test_signal()
74 /* Otherwise we'll loop too fast and fork() will eventually fail */ in test_signal()
87 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx", in test_signal()
88 i, fail, rc); in test_signal()
91 while (!signaled && !fail) in test_signal()
94 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx", in test_signal()
95 i, fail, rc); in test_signal()
/Linux-v5.10/tools/testing/selftests/powerpc/pmu/ebb/
Devent_attributes_test.c30 /* Expected to fail, no PMC specified */ in event_attributes()
37 /* Expected to fail, not exclusive */ in event_attributes()
44 /* Expected to fail, sets freq */ in event_attributes()
51 /* Expected to fail, sets sample_period */ in event_attributes()
58 /* Expected to fail, sets enable_on_exec */ in event_attributes()
65 /* Expected to fail, sets inherit */ in event_attributes()
88 /* Expected to fail, event doesn't request EBB, leader does */ in event_attributes()
103 /* Expected to fail, leader doesn't request EBB */ in event_attributes()
111 /* Expected to fail, leader isn't exclusive */ in event_attributes()
118 /* Expected to fail, leader isn't pinned */ in event_attributes()
[all …]
/Linux-v5.10/tools/testing/selftests/sysctl/
Dsysctl.sh67 echo "FAIL, but skip in case of old kernel" >&2
73 echo "FAIL, strict value is 0 but force to 1 to continue" >&2
230 echo "FAIL" >&2
238 echo "FAIL" >&2
247 echo "FAIL" >&2
256 echo "FAIL" >&2
270 echo "FAIL" >&2
280 echo "FAIL" >&2
290 echo "FAIL" >&2
301 echo "FAIL" >&2
[all …]
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c263 goto fail; in wilc_init_fw_config()
267 goto fail; in wilc_init_fw_config()
271 goto fail; in wilc_init_fw_config()
275 goto fail; in wilc_init_fw_config()
279 goto fail; in wilc_init_fw_config()
283 goto fail; in wilc_init_fw_config()
287 goto fail; in wilc_init_fw_config()
291 goto fail; in wilc_init_fw_config()
296 goto fail; in wilc_init_fw_config()
301 goto fail; in wilc_init_fw_config()
[all …]

12345678910>>...149