Home
last modified time | relevance | path

Searched refs:current_test (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh11 current_test=""
16 if [ ! -z $current_test ]; then
17 ${current_test}_cleanup
26 for current_test in ${TESTS:-$ALL_TESTS}; do
28 source ${current_test}_scale.sh
30 num_netifs_var=${current_test^^}_NUM_NETIFS
37 log_test "'$current_test' [$profile] setting"
43 target=$(${current_test}_get_target "$should_fail")
44 ${current_test}_setup_prepare
46 ${current_test}_test "$target" "$should_fail"
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh14 current_test=""
19 if [ ! -z $current_test ]; then
20 ${current_test}_cleanup
29 for current_test in ${TESTS:-$ALL_TESTS}; do
31 source ${current_test}_scale.sh
33 num_netifs_var=${current_test^^}_NUM_NETIFS
38 target=$(${current_test}_get_target "$should_fail")
39 ${current_test}_setup_prepare
41 ${current_test}_test "$target" "$should_fail"
42 ${current_test}_cleanup
[all …]
/linux-5.19.10/lib/
Dtest_kprobes.c18 static struct kunit *current_test; variable
32 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
40 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
41 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor)); in kp_post_handler()
53 current_test = test; in test_kprobe()
102 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2()
116 current_test = test; in test_kprobes()
144 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
153 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler()
154 KUNIT_EXPECT_EQ(current_test, ret, rand1 / div_factor); in return_handler()
[all …]
Dtest_fprobe.c13 static struct kunit *current_test; variable
35 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
38 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_entry_handler()
46 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
48 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_exit_handler()
49 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in fp_exit_handler()
51 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
52 KUNIT_EXPECT_EQ(current_test, entry_val, (rand1 / div_factor)); in fp_exit_handler()
63 current_test = test; in test_fprobe_entry()
91 current_test = test; in test_fprobe()
[all …]
/linux-5.19.10/arch/s390/lib/
Dtest_unwind.c20 static struct kunit *current_test; variable
39 kunit_err(current_test, "%s\n", p); in print_backtrace()
59 kunit_err(current_test, "failed to allocate backtrace buffer\n"); in test_unwind()
74 kunit_err(current_test, "unwind state reliable but addr is 0\n"); in test_unwind()
86 kunit_err(current_test, "backtrace buffer is too small\n"); in test_unwind()
98 kunit_err(current_test, "unwind error\n"); in test_unwind()
102 kunit_err(current_test, "unwindme_func2 and unwindme_func1 not found\n"); in test_unwind()
106 kunit_err(current_test, "Maximum number of frames exceeded\n"); in test_unwind()
110 kunit_err(current_test, "__kretprobe_trampoline+0x0 in unwinding results\n"); in test_unwind()
194 kunit_skip(current_test, "requires CONFIG_KPROBES"); in test_unwind_kretprobe()
[all …]
/linux-5.19.10/tools/testing/selftests/ptp/
Dphc.sh80 local current_test
82 for current_test in ${TESTS:-$ALL_TESTS}; do
83 $current_test
/linux-5.19.10/tools/testing/selftests/drivers/net/dsa/
Dlib.sh1118 $current_test
/linux-5.19.10/tools/testing/selftests/net/forwarding/
Dlib.sh1118 $current_test