Home
last modified time | relevance | path

Searched refs:expected_err (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/ublk/
H A Dtest_integrity_02.sh59 local expected_err="REFTAG compare error: LBA: 0 Expected=0, Actual="
75 if ! grep -q "$expected_err" "$fio_err"; then
76 echo "fio corrupted_reftag message not found: $expected_err"
92 local expected_err="Guard compare error: LBA: 0 Expected=0, Actual="
107 if ! grep -q "$expected_err" "$fio_err"; then
108 echo "fio corrupted_data message not found: $expected_err"
115 local expected_err="APPTAG compare error: LBA: [0-9]* Expected=4321, Actual=1234"
123 if ! grep -q "$expected_err" "$fio_err"; then
124 echo "fio bad_apptag message not found: $expected_err"
H A Dtest_integrity_03.sh43 if ! grep -q "$expected_err" "$fio_err"; then
44 echo "fio corrupted_reftag message not found: $expected_err"
74 if ! grep -q "$expected_err" "$fio_err"; then
75 echo "fio corrupted_data message not found: $expected_err"
95 expected_err="Invalid or incomplete multibyte or wide character: read offset=0"
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_rtp_test.c44 int expected_err; member
194 .expected_err = -EINVAL,
200 .expected_err = -EINVAL,
206 .expected_err = -EINVAL,
212 .expected_err = -EINVAL,
218 .expected_err = -EINVAL,
224 .expected_err = -EINVAL,
230 .expected_err = -EINVAL,
236 .expected_err = -EINVAL,
264 .expected_err = -EINVAL,
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlocal_kptr_ownership.c53 static void test_self_cycle(const char *tag, int expected_err) in test_self_cycle() argument
72 ASSERT_EQ(err, expected_err, "check btf"); in test_self_cycle()
149 static void test_acyclic_depth(int depth, bool child_first, bool shared_suffix, int expected_err) in test_acyclic_depth() argument
197 ASSERT_EQ(err, expected_err, "check btf"); in test_acyclic_depth()
202 static void test_graph_depth(bool rbtree, int depth, int expected_err) in test_graph_depth() argument
251 ASSERT_EQ(err, expected_err, "check btf"); in test_graph_depth()
H A Dcgroup_getset_retval.c459 int expected_err; member
465 .expected_err = EXPECTED_ERR, \
494 ASSERT_EQ(err, exposed_hooks[i].expected_err, "expected_err"); in test_exposed_hooks()
/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_getset_retval_hooks.c6 #define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \ argument
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c1513 const char *expected_err; in do_test_single() local
1558 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()
1635 if (expected_ret == VERBOSE_ACCEPT && !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
1643 if (!expected_err || !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
1645 expected_err, bpf_vlog); in do_test_single()