Home
last modified time | relevance | path

Searched refs:TEST (Results 1 - 25 of 142) sorted by relevance

123456

/kernel/linux/linux-5.10/tools/testing/selftests/kselftest/
H A Drunner.sh46 TEST="$2"
49 BASENAME_TEST=$(basename $TEST)
69 if [ ! -e "$TEST" ]; then
70 echo "# Warning: file $TEST is missing!"
74 if [ ! -x "$TEST" ]; then
75 echo "# Warning: file $TEST is not executable"
77 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
79 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
86 cd `dirname $TEST` > /dev/null
111 for TEST i
[all...]
/kernel/linux/linux-5.10/arch/s390/lib/
H A Dtest_unwind.c306 #define TEST(flags) \ in test_unwind_init() macro
317 TEST(UWM_DEFAULT); in test_unwind_init()
318 TEST(UWM_SP); in test_unwind_init()
319 TEST(UWM_REGS); in test_unwind_init()
320 TEST(UWM_SWITCH_STACK); in test_unwind_init()
321 TEST(UWM_SP | UWM_REGS); in test_unwind_init()
322 TEST(UWM_CALLER | UWM_SP); in test_unwind_init()
323 TEST(UWM_CALLER | UWM_SP | UWM_REGS); in test_unwind_init()
324 TEST(UWM_CALLER | UWM_SP | UWM_REGS | UWM_SWITCH_STACK); in test_unwind_init()
325 TEST(UWM_THREA in test_unwind_init()
342 #undef TEST test_unwind_init() macro
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kselftest/
H A Drunner.sh49 TEST="$2"
52 BASENAME_TEST=$(basename $TEST)
105 if [ ! -e "$TEST" ]; then
106 echo "# Warning: file $TEST is missing!"
114 if [ ! -x "$TEST" ]; then
115 echo "# Warning: file $TEST is not executable"
117 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
119 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
126 cd `dirname $TEST` > /dev/null
151 for TEST i
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c197 #define TEST(map) \ in test_map_kptr() macro
203 TEST(array_map); in test_map_kptr()
204 TEST(hash_map); in test_map_kptr()
205 TEST(hash_malloc_map); in test_map_kptr()
206 TEST(lru_hash_map); in test_map_kptr()
208 #undef TEST in test_map_kptr() macro
271 #define TEST(map_in_map) \ in test_map_in_map_kptr() macro
280 TEST(array_of_array_maps); in test_map_in_map_kptr()
281 TEST(array_of_hash_maps); in test_map_in_map_kptr()
282 TEST(array_of_hash_malloc_map in test_map_in_map_kptr()
289 #undef TEST test_map_in_map_kptr() macro
377 #define TEST global() macro
420 #undef TEST global() macro
423 #define TEST global() macro
458 #undef TEST global() macro
[all...]
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
H A Dtest-thumb.c79 TEST( "movs.n r0, #0x5f") in kprobe_thumb16_test_cases()
80 TEST( "movs.n r7, #0xa0") in kprobe_thumb16_test_cases()
131 TEST( "mov lr, pc") in kprobe_thumb16_test_cases()
198 TEST( "ldr r0, [sp, #0]") in kprobe_thumb16_test_cases()
199 TEST( "ldr r7, [sp, #160]") in kprobe_thumb16_test_cases()
206 TEST("add r0, pc, #4") in kprobe_thumb16_test_cases()
207 TEST("add r7, pc, #1020") in kprobe_thumb16_test_cases()
208 TEST("add r0, sp, #4") in kprobe_thumb16_test_cases()
209 TEST("add r7, sp, #1020") in kprobe_thumb16_test_cases()
218 TEST("ad in kprobe_thumb16_test_cases()
[all...]
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
H A Dtest-thumb.c79 TEST( "movs.n r0, #0x5f") in kprobe_thumb16_test_cases()
80 TEST( "movs.n r7, #0xa0") in kprobe_thumb16_test_cases()
131 TEST( "mov lr, pc") in kprobe_thumb16_test_cases()
198 TEST( "ldr r0, [sp, #0]") in kprobe_thumb16_test_cases()
199 TEST( "ldr r7, [sp, #160]") in kprobe_thumb16_test_cases()
206 TEST("add r0, pc, #4") in kprobe_thumb16_test_cases()
207 TEST("add r7, pc, #1020") in kprobe_thumb16_test_cases()
208 TEST("add r0, sp, #4") in kprobe_thumb16_test_cases()
209 TEST("add r7, sp, #1020") in kprobe_thumb16_test_cases()
218 TEST("ad in kprobe_thumb16_test_cases()
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dtest_cgrp2_sock.sh7 TEST=$MY_DIR/test_cgrp2_sock
24 out=$($TEST)
38 out=$($TEST -6)
66 $TEST -d ${CGRP_MNT}/sockopts
103 $TEST -b cgrp2_sock ${CGRP_MNT}/sockopts
112 $TEST -m 666 ${CGRP_MNT}/sockopts
121 $TEST -p 123 ${CGRP_MNT}/sockopts
130 $TEST -b cgrp2_sock -m 666 -p 123 ${CGRP_MNT}/sockopts
/kernel/linux/linux-5.10/lib/
H A Datomic64_test.c20 #define TEST(bit, op, c_op, val) \ macro
114 TEST(, add, +=, onestwos); in test_atomic()
115 TEST(, add, +=, -one); in test_atomic()
116 TEST(, sub, -=, onestwos); in test_atomic()
117 TEST(, sub, -=, -one); in test_atomic()
118 TEST(, or, |=, v1); in test_atomic()
119 TEST(, and, &=, v1); in test_atomic()
120 TEST(, xor, ^=, v1); in test_atomic()
121 TEST(, andnot, &= ~, v1); in test_atomic()
166 TEST(6 in test_atomic64()
[all...]
/kernel/linux/linux-6.6/lib/
H A Datomic64_test.c20 #define TEST(bit, op, c_op, val) \ macro
114 TEST(, add, +=, onestwos); in test_atomic()
115 TEST(, add, +=, -one); in test_atomic()
116 TEST(, sub, -=, onestwos); in test_atomic()
117 TEST(, sub, -=, -one); in test_atomic()
118 TEST(, or, |=, v1); in test_atomic()
119 TEST(, and, &=, v1); in test_atomic()
120 TEST(, xor, ^=, v1); in test_atomic()
121 TEST(, andnot, &= ~, v1); in test_atomic()
166 TEST(6 in test_atomic64()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
H A Dtest_FCMOV.c16 #define TEST(insn) \ macro
33 TEST(fcmovb) in TEST() function
34 TEST(fcmove) in TEST()
35 TEST(fcmovbe) in TEST()
36 TEST(fcmovu) in TEST()
37 TEST(fcmovnb) in TEST()
38 TEST(fcmovne) in TEST()
39 TEST(fcmovnbe) in TEST()
40 TEST(fcmovnu) in TEST()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dtest_FCMOV.c16 #define TEST(insn) \ macro
33 TEST(fcmovb) in TEST() function
34 TEST(fcmove) in TEST()
35 TEST(fcmovbe) in TEST()
36 TEST(fcmovu) in TEST()
37 TEST(fcmovnb) in TEST()
38 TEST(fcmovne) in TEST()
39 TEST(fcmovnbe) in TEST()
40 TEST(fcmovnu) in TEST()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dkhugepaged.c1486 #define TEST(t, c, o) do { \ in main() macro
1493 TEST(collapse_full, khugepaged_context, anon_ops); in main()
1494 TEST(collapse_full, khugepaged_context, file_ops); in main()
1495 TEST(collapse_full, khugepaged_context, shmem_ops); in main()
1496 TEST(collapse_full, madvise_context, anon_ops); in main()
1497 TEST(collapse_full, madvise_context, file_ops); in main()
1498 TEST(collapse_full, madvise_context, shmem_ops); in main()
1500 TEST(collapse_empty, khugepaged_context, anon_ops); in main()
1501 TEST(collapse_empty, madvise_context, anon_ops); in main()
1503 TEST(collapse_single_pte_entr in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dlinked_list.c17 #define TEST(test, off) \ macro
26 TEST(kptr, 40)
27 TEST(global, 16)
28 TEST(map, 0)
29 TEST(inner_map, 0)
30 #undef TEST macro
31 #define TEST(test, op) \ macro
44 TEST(kptr, push_front)
45 TEST(kptr, push_back)
46 TEST(kpt
60 #undef TEST global() macro
[all...]
H A Dsk_assign.c256 #define TEST(NAME, FAMILY, TYPE, REWRITE) \ macro
272 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign()
273 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign()
274 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign()
275 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign()
276 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign()
277 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign()
278 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign()
279 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c93 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro
115 #define LOAD_VSX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 32, 32)
116 #define STORE_VSX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 32)
117 #define LOAD_VSX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 32, 32)
118 #define STORE_VSX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 32)
119 #define LOAD_VMX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 0, 32)
120 #define STORE_VMX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 0)
121 #define LOAD_VMX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 0, 32)
122 #define STORE_VMX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 0)
124 #define LOAD_XFORM_TEST(op) TEST(o
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c84 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro
106 #define LOAD_VSX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 32, 32)
107 #define STORE_VSX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 32)
108 #define LOAD_VSX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 32, 32)
109 #define STORE_VSX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 32)
110 #define LOAD_VMX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 0, 32)
111 #define STORE_VMX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 0)
112 #define LOAD_VMX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 0, 32)
113 #define STORE_VMX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 0)
115 #define LOAD_XFORM_TEST(op) TEST(o
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_tc_redirect.sh129 TEST="TCPv4 connectivity test"
132 echo -e "${TEST}: ${RED}FAIL${NC}"
135 echo -e "${TEST}: ${GREEN}PASS${NC}"
137 TEST="TCPv6 connectivity test"
140 echo -e "${TEST}: ${RED}FAIL${NC}"
143 echo -e "${TEST}: ${GREEN}PASS${NC}"
145 TEST="ICMPv4 connectivity test"
148 echo -e "${TEST}: ${RED}FAIL${NC}"
151 echo -e "${TEST}: ${GREEN}PASS${NC}"
153 TEST
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dsk_assign.c256 #define TEST(NAME, FAMILY, TYPE, REWRITE) \ macro
272 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign()
273 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign()
274 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign()
275 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign()
276 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign()
277 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign()
278 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign()
279 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c163 TEST(epoll1) in TEST() function
194 TEST(epoll2) in TEST() function
225 TEST(epoll3) in TEST() function
263 TEST(epoll4) in TEST() function
301 TEST(epoll5) in TEST() function
340 TEST(epoll6) in TEST() function
380 TEST(epoll7) in TEST() function
426 TEST(epoll8) in TEST() function
472 TEST(epoll9) in TEST() function
515 TEST(epoll1 function
558 TEST(epoll11) TEST() function
607 TEST(epoll12) TEST() function
656 TEST(epoll13) TEST() function
699 TEST(epoll14) TEST() function
742 TEST(epoll15) TEST() function
791 TEST(epoll16) TEST() function
842 TEST(epoll17) TEST() function
882 TEST(epoll18) TEST() function
922 TEST(epoll19) TEST() function
962 TEST(epoll20) TEST() function
1002 TEST(epoll21) TEST() function
1050 TEST(epoll22) TEST() function
1098 TEST(epoll23) TEST() function
1146 TEST(epoll24) TEST() function
1194 TEST(epoll25) TEST() function
1246 TEST(epoll26) TEST() function
1298 TEST(epoll27) TEST() function
1350 TEST(epoll28) TEST() function
1402 TEST(epoll29) TEST() function
1453 TEST(epoll30) TEST() function
1504 TEST(epoll31) TEST() function
1555 TEST(epoll32) TEST() function
1606 TEST(epoll33) TEST() function
1658 TEST(epoll34) TEST() function
1710 TEST(epoll35) TEST() function
1762 TEST(epoll36) TEST() function
1814 TEST(epoll37) TEST() function
1871 TEST(epoll38) TEST() function
1928 TEST(epoll39) TEST() function
1985 TEST(epoll40) TEST() function
2042 TEST(epoll41) TEST() function
2094 TEST(epoll42) TEST() function
2146 TEST(epoll43) TEST() function
2198 TEST(epoll44) TEST() function
2250 TEST(epoll45) TEST() function
2307 TEST(epoll46) TEST() function
2359 TEST(epoll47) TEST() function
2416 TEST(epoll48) TEST() function
2468 TEST(epoll49) TEST() function
2522 TEST(epoll50) TEST() function
2576 TEST(epoll51) TEST() function
2638 TEST(epoll52) TEST() function
2700 TEST(epoll53) TEST() function
2765 TEST(epoll54) TEST() function
2830 TEST(epoll55) TEST() function
2895 TEST(epoll56) TEST() function
2960 TEST(epoll57) TEST() function
3030 TEST(epoll58) TEST() function
3118 TEST(epoll59) TEST() function
3229 TEST(epoll60) TEST() function
3343 TEST(epoll61) TEST() function
3396 TEST(epoll62) TEST() function
3421 TEST(epoll63) TEST() function
3459 TEST(epoll64) TEST() function
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c148 TEST(epoll1) in TEST() function
179 TEST(epoll2) in TEST() function
210 TEST(epoll3) in TEST() function
248 TEST(epoll4) in TEST() function
286 TEST(epoll5) in TEST() function
325 TEST(epoll6) in TEST() function
365 TEST(epoll7) in TEST() function
411 TEST(epoll8) in TEST() function
457 TEST(epoll9) in TEST() function
500 TEST(epoll1 function
543 TEST(epoll11) TEST() function
592 TEST(epoll12) TEST() function
641 TEST(epoll13) TEST() function
684 TEST(epoll14) TEST() function
727 TEST(epoll15) TEST() function
776 TEST(epoll16) TEST() function
827 TEST(epoll17) TEST() function
867 TEST(epoll18) TEST() function
907 TEST(epoll19) TEST() function
947 TEST(epoll20) TEST() function
987 TEST(epoll21) TEST() function
1035 TEST(epoll22) TEST() function
1083 TEST(epoll23) TEST() function
1131 TEST(epoll24) TEST() function
1179 TEST(epoll25) TEST() function
1231 TEST(epoll26) TEST() function
1283 TEST(epoll27) TEST() function
1335 TEST(epoll28) TEST() function
1387 TEST(epoll29) TEST() function
1438 TEST(epoll30) TEST() function
1489 TEST(epoll31) TEST() function
1540 TEST(epoll32) TEST() function
1591 TEST(epoll33) TEST() function
1643 TEST(epoll34) TEST() function
1695 TEST(epoll35) TEST() function
1747 TEST(epoll36) TEST() function
1799 TEST(epoll37) TEST() function
1856 TEST(epoll38) TEST() function
1913 TEST(epoll39) TEST() function
1970 TEST(epoll40) TEST() function
2027 TEST(epoll41) TEST() function
2079 TEST(epoll42) TEST() function
2131 TEST(epoll43) TEST() function
2183 TEST(epoll44) TEST() function
2235 TEST(epoll45) TEST() function
2292 TEST(epoll46) TEST() function
2344 TEST(epoll47) TEST() function
2401 TEST(epoll48) TEST() function
2453 TEST(epoll49) TEST() function
2507 TEST(epoll50) TEST() function
2561 TEST(epoll51) TEST() function
2623 TEST(epoll52) TEST() function
2685 TEST(epoll53) TEST() function
2750 TEST(epoll54) TEST() function
2815 TEST(epoll55) TEST() function
2880 TEST(epoll56) TEST() function
2945 TEST(epoll57) TEST() function
3015 TEST(epoll58) TEST() function
3103 TEST(epoll59) TEST() function
3214 TEST(epoll60) TEST() function
3328 TEST(epoll61) TEST() function
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/sparc64/
H A DMakefile26 TEST=$$DIR"_test.sh"; \
27 if [ -e $$DIR/$$TEST ]; then \
28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
/kernel/linux/linux-5.10/tools/testing/selftests/android/
H A DMakefile16 TEST=$$DIR"_test.sh"; \
17 if [ -e $$DIR/$$TEST ]; then \
18 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
/kernel/linux/linux-6.6/tools/testing/selftests/sparc64/
H A DMakefile26 TEST=$$DIR"_test.sh"; \
27 if [ -e $$DIR/$$TEST ]; then \
28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh537 TEST=$1
541 eval CNT="\${#$TEST[@]}"
551 eval set -- "\${$TEST[$I]}"
577 echo "Test $TEST[$I] failed result check!"
578 eval echo \"\${$TEST[$I]}\"
586 echo "Test $TEST[$I] failed effective CPU check!"
587 eval echo \"\${$TEST[$I]}\"
597 echo "FAILED: Test $TEST[$I] failed states check!"
598 eval echo \"\${$TEST[$I]}\"
618 echo "All $I tests of $TEST PASSE
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/
H A Dpac.c196 TEST(corrupt_pac) in TEST() function
218 TEST(pac_instructions_not_nop) in TEST() function
240 TEST(pac_instructions_not_nop_generic) in TEST() function
252 TEST(single_thread_different_keys) in TEST() function
294 TEST(exec_changed_keys) in TEST() function
327 TEST(context_switch_keep_keys) in TEST() function
350 TEST(context_switch_keep_keys_generic) in TEST() function

Completed in 16 milliseconds

123456