Home
last modified time | relevance | path

Searched refs:TEST (Results 1 – 25 of 125) sorted by relevance

12345

/linux-6.6.21/tools/testing/selftests/kselftest/
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 in "$@"; do
[all …]
/linux-6.6.21/arch/arm/probes/kprobes/
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("add sp, #"__stringify(TEST_MEMORY_SIZE)) /* Assumes TEST_MEMORY_SIZE < 0x400 */ in kprobe_thumb16_test_cases()
[all …]
Dtest-arm.c78 TEST( op s " r4, pc" ", #0x00005a00") in kprobe_arm_test_cases()
114 TEST( op s "vs r7, pc, lsl #3") \ in kprobe_arm_test_cases()
115 TEST( op s "vs r7, sp, lsr #4") \ in kprobe_arm_test_cases()
122 TEST( op s "eq r0, #0xf5") \ in kprobe_arm_test_cases()
123 TEST( op s "ne r11, #0xf5000000") \ in kprobe_arm_test_cases()
124 TEST( op s " r7, #0x000af000") \ in kprobe_arm_test_cases()
125 TEST( op s " r4, #0x00005a00") in kprobe_arm_test_cases()
148 TEST("mov ip, sp") /* This has special case emulation code */ in kprobe_arm_test_cases()
176 TEST("add sp, sp, #16") in kprobe_arm_test_cases()
177 TEST("sub sp, sp, #8") in kprobe_arm_test_cases()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
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()
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_maps); in test_map_in_map_kptr()
[all …]
/linux-6.6.21/tools/testing/selftests/x86/
Dtest_FCMOV.c16 #define TEST(insn) \ macro
33 TEST(fcmovb)
34 TEST(fcmove)
35 TEST(fcmovbe)
36 TEST(fcmovu)
37 TEST(fcmovnb)
38 TEST(fcmovne)
39 TEST(fcmovnbe)
40 TEST(fcmovnu)
/linux-6.6.21/samples/bpf/
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
/linux-6.6.21/tools/testing/ktest/examples/include/
Dtests.conf33 TEST_START IF ${TEST} == boot
42 TEST_START IF ${TEST} == build
54 TEST_START ITERATE 10 IF ${TEST} == randconfig
58 TEST = ${RUN_TEST}
63 TEST_START ITERATE 10 IF ${TEST} == randconfig && ${MULTI}
70 TEST_START IF ${TEST} == test
73 TEST = ${RUN_TEST}
Dpatchcheck.conf91 TEST_START IF ${TEST} == patchcheck
94 TEST = ${PATCH_TEST}
101 TEST_START IF ${TEST} == patchcheck && ${MULTI}
104 TEST = ${PATCH_TEST}
Dbisect.conf19 TEST_START IF ${TEST} == bisect
32 TEST = ${RUN_TEST}
82 TEST_START IF ${TEST} == config-bisect
Dmin-config.conf47 TEST_START IF ${TEST} == min-config
52 TEST = ${SSH} echo hi
55 TEST_START IF ${TEST} == min-config && ${MULTI}
Dbootconfig.conf43 TEST = ${DO_TEST}
55 TEST = ${DO_TEST}
67 TEST = ${DO_TEST}
/linux-6.6.21/lib/
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(64, add, +=, onestwos); in test_atomic64()
[all …]
/linux-6.6.21/tools/testing/selftests/mm/
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_entry, khugepaged_context, anon_ops); in main()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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
31 #define TEST(test, op) \ macro
44 TEST(kptr, push_front)
45 TEST(kptr, push_back)
46 TEST(kptr, pop_front)
[all …]
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()
/linux-6.6.21/tools/testing/selftests/powerpc/alignment/
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(op, op, stdx, XFORM, 31, 31)
[all …]
/linux-6.6.21/tools/testing/selftests/cgroup/
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 PASSED."
/linux-6.6.21/tools/perf/tests/shell/coresight/
Dthread_loop_check_tid_10.sh7 TEST="thread_loop"
11 DATA="$DATD/perf-$TEST-$DATV.data"
12 STDO="$DATD/perf-$TEST-$DATV.stdout"
Dthread_loop_check_tid_2.sh7 TEST="thread_loop"
11 DATA="$DATD/perf-$TEST-$DATV.data"
12 STDO="$DATD/perf-$TEST-$DATV.stdout"
Dasm_pure_loop.sh7 TEST="asm_pure_loop"
11 DATA="$DATD/perf-$TEST-$DATV.data"
/linux-6.6.21/tools/testing/selftests/filesystems/epoll/
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(epoll10) in TEST() function
[all …]
/linux-6.6.21/tools/testing/selftests/landlock/
Dbase_test.c24 TEST(inconsistent_attr) in TEST() function
73 TEST(abi_version) in TEST() function
101 TEST(create_ruleset_checks_ordering) in TEST() function
144 TEST(add_rule_checks_ordering) in TEST() function
191 TEST(restrict_self_checks_ordering) in TEST() function
235 TEST(ruleset_fd_io) in TEST() function
257 TEST(ruleset_fd_transfer) in TEST() function
/linux-6.6.21/tools/testing/selftests/arm64/pauth/
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
/linux-6.6.21/tools/testing/selftests/sparc64/
DMakefile26 TEST=$$DIR"_test.sh"; \
27 if [ -e $$DIR/$$TEST ]; then \
28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
/linux-6.6.21/tools/perf/tests/shell/lib/
Dcoresight.sh16 DIR="$TOOLS/$TEST"
17 BIN="$DIR/$TEST"
76 STATF="$STATD/stats-$TEST-$DATV.csv"

12345