Home
last modified time | relevance | path

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

12345

/linux-6.1.9/tools/testing/selftests/kselftest/
Drunner.sh47 TEST="$2"
50 BASENAME_TEST=$(basename $TEST)
95 if [ ! -e "$TEST" ]; then
96 echo "# Warning: file $TEST is missing!"
101 if [ ! -x "$TEST" ]; then
102 echo "# Warning: file $TEST is not executable"
104 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
106 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
113 cd `dirname $TEST` > /dev/null
138 for TEST in "$@"; do
[all …]
/linux-6.1.9/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.1.9/tools/testing/selftests/bpf/progs/
Dmap_kptr.c146 #define TEST(map) \ in test_map_kptr() macro
152 TEST(array_map); in test_map_kptr()
153 TEST(hash_map); in test_map_kptr()
154 TEST(hash_malloc_map); in test_map_kptr()
155 TEST(lru_hash_map); in test_map_kptr()
157 #undef TEST in test_map_kptr()
168 #define TEST(map_in_map) \ in test_map_in_map_kptr() macro
177 TEST(array_of_array_maps); in test_map_in_map_kptr()
178 TEST(array_of_hash_maps); in test_map_in_map_kptr()
179 TEST(array_of_hash_malloc_maps); in test_map_in_map_kptr()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/tools/testing/selftests/vm/
Dkhugepaged.c1491 #define TEST(t, c, o) do { \ in main() macro
1498 TEST(collapse_full, khugepaged_context, anon_ops); in main()
1499 TEST(collapse_full, khugepaged_context, file_ops); in main()
1500 TEST(collapse_full, khugepaged_context, shmem_ops); in main()
1501 TEST(collapse_full, madvise_context, anon_ops); in main()
1502 TEST(collapse_full, madvise_context, file_ops); in main()
1503 TEST(collapse_full, madvise_context, shmem_ops); in main()
1505 TEST(collapse_empty, khugepaged_context, anon_ops); in main()
1506 TEST(collapse_empty, madvise_context, anon_ops); in main()
1508 TEST(collapse_single_pte_entry, khugepaged_context, anon_ops); in main()
[all …]
/linux-6.1.9/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.1.9/tools/testing/selftests/bpf/prog_tests/
Dsk_assign.c243 #define TEST(NAME, FAMILY, TYPE, REWRITE) \ macro
259 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign()
260 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign()
261 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign()
262 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign()
263 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign()
264 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign()
265 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign()
266 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
/linux-6.1.9/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh516 TEST=$1
520 eval CNT="\${#$TEST[@]}"
530 eval set -- "\${$TEST[$I]}"
556 echo "Test $TEST[$I] failed result check!"
557 eval echo \"\${$TEST[$I]}\"
566 echo "Test $TEST[$I] failed effective CPU check!"
567 eval echo \"\${$TEST[$I]}\"
578 echo "FAILED: Test $TEST[$I] failed states check!"
579 eval echo \"\${$TEST[$I]}\"
600 echo "All $I tests of $TEST PASSED."
/linux-6.1.9/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"
Dunroll_loop_thread_10.sh7 TEST="unroll_loop_thread"
11 DATA="$DATD/perf-$TEST-$DATV.data"
Dmemcpy_thread_16k_10.sh7 TEST="memcpy_thread"
11 DATA="$DATD/perf-$TEST-$DATV.data"
/linux-6.1.9/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.1.9/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.1.9/tools/testing/selftests/sparc64/
DMakefile26 TEST=$$DIR"_test.sh"; \
27 if [ -e $$DIR/$$TEST ]; then \
28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
/linux-6.1.9/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.1.9/tools/perf/tests/shell/lib/
Dcoresight.sh16 DIR="$TOOLS/$TEST"
17 BIN="$DIR/$TEST"
76 STATF="$STATD/stats-$TEST-$DATV.csv"

12345