| /linux/tools/testing/selftests/membarrier/ |
| A D | membarrier_test_impl.h | 22 const char *test_name = in test_membarrier_get_registrations() local 52 test_name, cmd, flags); in test_membarrier_cmd_fail() 75 test_name, flags); in test_membarrier_flags_fail() 114 test_name, flags); in test_membarrier_private_expedited_fail() 142 test_name, flags); in test_membarrier_register_private_expedited_success() 161 test_name, flags); in test_membarrier_private_expedited_success() 173 test_name, flags); in test_membarrier_private_expedited_sync_core_fail() 201 test_name, flags); in test_membarrier_register_private_expedited_sync_core_success() 220 test_name, flags); in test_membarrier_private_expedited_sync_core_success() 237 test_name, flags); in test_membarrier_register_global_expedited_success() [all …]
|
| /linux/tools/testing/selftests/pidfd/ |
| A D | pidfd_test.c | 65 test_name); in test_pidfd_send_signal_simple_success() 73 test_name); in test_pidfd_send_signal_simple_success() 81 test_name); in test_pidfd_send_signal_simple_success() 102 test_name); in test_pidfd_send_signal_exited_fail() 124 test_name); in test_pidfd_send_signal_exited_fail() 132 test_name); in test_pidfd_send_signal_exited_fail() 161 test_name); in test_pidfd_send_signal_recycled_pid_fail() 340 test_name); in test_pidfd_send_signal_recycled_pid_fail() 360 test_name); in test_pidfd_send_signal_syscall_support() 367 test_name); in test_pidfd_send_signal_syscall_support() [all …]
|
| A D | pidfd_fdinfo_test.c | 51 ksft_test_result_error("%s test: %s\n", test_name, err->msg); in error_report() 56 ksft_test_result_skip("%s test: %s\n", test_name, err->msg); in error_report() 61 test_name, err->msg); in error_report() 65 ksft_test_result_pass("%s test: Passed\n", test_name); in error_report() 70 test_name, err->code, err->msg); in error_report() 79 error_report(err, test_name); in error_check() 260 error_check(&err, test_name); in test_pidfd_fdinfo_nspid() 268 error_check(&err, test_name); in test_pidfd_fdinfo_nspid() 282 error_report(&err, test_name); in test_pidfd_fdinfo_nspid() 293 error_check(&err, test_name); in test_pidfd_dead_fdinfo() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| A D | local_termination.sh | 250 true "$test_name" 254 true "$test_name" 263 true "$test_name" 273 true "$test_name" 283 true "$test_name" 287 true "$test_name" 291 true "$test_name" 300 true "$test_name" 304 true "$test_name" 309 true "$test_name" [all …]
|
| A D | no_forwarding.sh | 92 local test_name="$1" 98 echo "$test_name: Sending packets" 128 echo "$test_name: Checking which packets were received" 132 check_rcv $h2 "$test_name: Unicast non-IP untagged" \ 141 check_rcv $h2 "$test_name: Unicast IPv4 untagged" \ 144 check_rcv $h2 "$test_name: Multicast IPv4 untagged" \ 147 check_rcv $h2 "$test_name: Unicast IPv6 untagged" \ 150 check_rcv $h2 "$test_name: Multicast IPv6 untagged" \ 154 check_rcv $h2 "$test_name: Unicast non-IP VID $vid" \ 163 check_rcv $h2 "$test_name: Unicast IPv4 VID $vid" \ [all …]
|
| A D | tc_police.sh | 127 local test_name=$1; shift 149 log_test "$test_name" 182 local test_name=$1; shift 199 log_test "$test_name" 236 local test_name=$1; shift 279 log_test "$test_name" 299 local test_name=$1; shift 321 log_test "$test_name" 354 local test_name=$1; shift 388 log_test "$test_name"
|
| /linux/tools/testing/selftests/ |
| A D | kselftest_harness.h | 152 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument 171 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument 173 #define __TEST_IMPL(test_name, _signal) \ argument 175 static inline void wrapper_##test_name( \ 181 test_name(_metadata); \ 185 { .name = #test_name, \ 186 .fn = &wrapper_##test_name, \ 194 static void test_name( \ 467 object->name = #test_name; \ 1213 char test_name[1024]; in __run_test() local [all …]
|
| /linux/tools/testing/selftests/exec/ |
| A D | execveat.c | 49 char test_name[TEST_NAME_LEN]; in _check_execveat_fail() local 53 snprintf(test_name, sizeof(test_name), in _check_execveat_fail() 60 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail() 67 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail() 70 ksft_test_result_pass("%s\n", test_name); in _check_execveat_fail() 77 char test_name[TEST_NAME_LEN]; in check_execveat_invoked_rc() local 84 snprintf(test_name, sizeof(test_name), in check_execveat_invoked_rc() 88 snprintf(test_name, sizeof(test_name), in check_execveat_invoked_rc() 95 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc() 109 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc() [all …]
|
| /linux/tools/power/x86/amd_pstate_tracer/ |
| A D | amd_pstate_trace.py | 56 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file 75 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti… 119 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_name, datetime.now())) 133 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now())) 148 g_plot('set title "{} : cpu load : {:%F %H:%M}"'.format(test_name, datetime.now())) 256 test_name = "" variable 286 test_name = arg variable 307 if os.path.exists(test_name): 310 os.mkdir(test_name) 311 ipt.fix_ownership(test_name) [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| A D | rif_mac_profiles.sh | 102 local test_name=$@; shift 131 log_test "h1->h2: $test_name" 140 local test_name=$@; shift 164 log_test "h2->h1: $test_name" 173 local test_name=$@; shift 177 h1_to_h2 $test_name 183 h2_to_h1 $test_name
|
| /linux/tools/testing/selftests/futex/include/ |
| A D | logging.h | 106 void print_result(const char *test_name, int ret) in print_result() argument 110 ksft_test_result_pass("%s\n", test_name); in print_result() 114 ksft_test_result_error("%s\n", test_name); in print_result() 118 ksft_test_result_fail("%s\n", test_name); in print_result()
|
| /linux/tools/testing/selftests/drivers/net/virtio_net/ |
| A D | basic_features.sh | 49 local test_name="mac feature filtered" 53 log_test_skip "$test_name" "Device $h1 is missing feature $VIRTIO_NET_F_MAC." 58 log_test_skip "$test_name" "Device $h2 is missing feature $VIRTIO_NET_F_MAC." 83 log_test "$test_name"
|
| /linux/tools/testing/selftests/bpf/ |
| A D | test_progs.c | 156 const char *test_name; member 201 const char *test_name, in match_subtest() argument 225 const char *test_name, in should_run_subtest() argument 296 test_name, subtest_name); in print_subtest_name() 503 test->test_name, in test__start_subtest() 510 test->test_name, in test__start_subtest() 693 test_name = env.test->test_name; in netns_new() 744 .test_name = #name, \ 1730 test->test_name); in worker_main() 1770 test->test_name); in worker_main() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| A D | mremap_test.c | 63 overlaps, should_fail, test_name) \ argument 65 .name = test_name, \ 241 char *test_name = "mremap expand merge"; in mremap_expand_merge() local 268 ksft_test_result_pass("%s\n", test_name); in mremap_expand_merge() 270 ksft_test_result_fail("%s\n", test_name); in mremap_expand_merge() 308 ksft_test_result_pass("%s\n", test_name); in mremap_expand_merge_offset() 310 ksft_test_result_fail("%s\n", test_name); in mremap_expand_merge_offset() 378 ksft_test_result_pass("%s\n", test_name); in mremap_move_within_range() 380 ksft_test_result_fail("%s\n", test_name); in mremap_move_within_range() 632 ksft_test_result_pass("%s\n", test_name); in mremap_move_1mb_from_start() [all …]
|
| A D | ksm_tests.c | 786 int test_name = CHECK_KSM_MERGE; in main() local 849 test_name = CHECK_KSM_UNMERGE; in main() 852 test_name = CHECK_KSM_ZERO_PAGE_MERGE; in main() 855 test_name = CHECK_KSM_NUMA_MERGE; in main() 858 test_name = KSM_MERGE_TIME; in main() 861 test_name = KSM_MERGE_TIME_HUGE_PAGES; in main() 864 test_name = KSM_UNMERGE_TIME; in main() 867 test_name = KSM_COW_TIME; in main() 894 switch (test_name) { in main()
|
| /linux/tools/testing/selftests/tc-testing/ |
| A D | TdcResults.py | 12 def __init__(self, test_id="", test_name=""): argument 14 self.test_name = test_name 97 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name) 116 xunit += 'name=\"{}\">\n'.format(escape(t.test_name))
|
| /linux/tools/testing/selftests/ptp/ |
| A D | phc.sh | 66 local test_name=$1 70 printf "TEST: %-60s [FAIL]\n" "$test_name" 74 printf "TEST: %-60s [ OK ]\n" "$test_name"
|
| /linux/tools/testing/selftests/size/ |
| A D | get_size.c | 89 static const char *test_name = " get runtime memory use\n"; in _start() local 97 print(test_name); in _start() 102 print(test_name); in _start()
|
| /linux/include/kunit/ |
| A D | test.h | 159 #define KUNIT_CASE(test_name) \ argument 160 { .run_case = test_name, .name = #test_name, \ 171 #define KUNIT_CASE_ATTR(test_name, attributes) \ argument 172 { .run_case = test_name, .name = #test_name, \ 182 #define KUNIT_CASE_SLOW(test_name) \ argument 183 { .run_case = test_name, .name = #test_name, \ 203 #define KUNIT_CASE_PARAM(test_name, gen_params) \ argument 204 { .run_case = test_name, .name = #test_name, \ 216 #define KUNIT_CASE_PARAM_ATTR(test_name, gen_params, attributes) \ argument 217 { .run_case = test_name, .name = #test_name, \
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| A D | sk_storage_map.c | 593 const char *test_name, *env_opt; in test_sk_storage_map() local 596 test_name = getenv(BPF_SK_STORAGE_MAP_TEST_NAME); in test_sk_storage_map() 610 if (!test_name || !strcmp(test_name, "basic")) { in test_sk_storage_map() 614 if (!test_name || !strcmp(test_name, "stress_free")) { in test_sk_storage_map() 618 if (!test_name || !strcmp(test_name, "stress_change")) { in test_sk_storage_map() 626 CHECK(1, "Invalid test_name", "%s\n", test_name); in test_sk_storage_map()
|
| /linux/tools/testing/selftests/damon/ |
| A D | damon_nr_regions.py | 66 test_name = 'nr_regions test with %d/%d/%d real/min/max nr_regions' % ( 70 print('fail %s' % test_name) 75 print('pass %s ' % test_name)
|
| /linux/tools/testing/selftests/alsa/ |
| A D | pcm-test.c | 285 const char *test_name, snd_config_t *pcm_cfg) in test_pcm_time() argument 325 test_class_name, test_name, in test_pcm_time() 383 test_name, in test_pcm_time() 461 test_class_name, test_name, in test_pcm_time() 522 test_class_name, test_name, in test_pcm_time() 533 test_class_name, test_name, in test_pcm_time() 539 test_class_name, test_name, in test_pcm_time() 557 const char *test_name, *test_type; in run_time_tests() local 570 if (snd_config_get_id(pcm_cfg, &test_name) < 0) in run_time_tests() 574 test_pcm_time(pcm, class, test_name, pcm_cfg); in run_time_tests()
|
| /linux/tools/testing/selftests/powerpc/alignment/ |
| A D | alignment_handler.c | 182 void dumpdata(char *s1, char *s2, int n, char *test_name) in dumpdata() argument 186 printf(" %s: unexpected result:\n", test_name); in dumpdata() 197 int test_memcmp(void *s1, void *s2, int n, int offset, char *test_name) in test_memcmp() argument 210 dumpdata(s1c, s2c, n, test_name); in test_memcmp() 221 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() argument 226 printf("\tDoing %s:\t", test_name); in do_test() 276 test_memcmp(mem0, ci0, width, offset, test_name); in do_test() 286 r |= test_memcmp(mem1, ci1, width, offset, test_name); in do_test()
|
| /linux/samples/bpf/ |
| A D | map_perf_test_user.c | 125 const char *test_name; in do_test_lru() local 172 test_name = "lru_hash_map_perf"; in do_test_lru() 175 test_name = "nocommon_lru_hash_map_perf"; in do_test_lru() 178 test_name = "inner_lru_hash_map_perf"; in do_test_lru() 181 test_name = "lru_hash_lookup_perf"; in do_test_lru() 199 cpu, test_name, in do_test_lru()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | sockmap_ktls.c | 140 static char test_name[MAX_TEST_NAME]; in fmt_test_name() local 142 snprintf(test_name, MAX_TEST_NAME, in fmt_test_name() 146 return test_name; in fmt_test_name()
|