/linux/tools/testing/selftests/kselftest/ |
A D | runner.sh | 45 TEST="$2" 48 BASENAME_TEST=$(basename $TEST) 68 if [ ! -e "$TEST" ]; then 69 echo "# Warning: file $TEST is missing!" 73 if [ ! -x "$TEST" ]; then 74 echo "# Warning: file $TEST is not executable" 78 interpreter=$(head -n 1 "$TEST" | cut -c 3-) 85 cd `dirname $TEST` > /dev/null 110 for TEST in "$@"; do 111 BASENAME_TEST=$(basename $TEST) [all …]
|
/linux/arch/arm/probes/kprobes/ |
A D | test-thumb.c | 251 TEST("push {r0}") in kprobe_thumb16_test_cases() 252 TEST("push {r7}") in kprobe_thumb16_test_cases() 253 TEST("push {r14}") in kprobe_thumb16_test_cases() 257 TEST("pop {r0}") in kprobe_thumb16_test_cases() 258 TEST("pop {r7}") in kprobe_thumb16_test_cases() 270 TEST("sev") in kprobe_thumb16_test_cases() 271 TEST("nop") in kprobe_thumb16_test_cases() 272 TEST("wfi") in kprobe_thumb16_test_cases() 763 TEST("sev.w") in kprobe_thumb32_test_cases() 764 TEST("nop.w") in kprobe_thumb32_test_cases() [all …]
|
A D | test-arm.c | 176 TEST("add sp, sp, #16") in kprobe_arm_test_cases() 177 TEST("sub sp, sp, #8") in kprobe_arm_test_cases() 178 TEST("bic sp, sp, #0x20") in kprobe_arm_test_cases() 179 TEST("orr sp, sp, #0x20") in kprobe_arm_test_cases() 226 TEST( "clz r4, sp") in kprobe_arm_test_cases() 619 TEST("movw r0, #0") in kprobe_arm_test_cases() 635 TEST("sev") in kprobe_arm_test_cases() 636 TEST("nop") in kprobe_arm_test_cases() 637 TEST("wfi") in kprobe_arm_test_cases() 1336 TEST( "pli [pc, #0]") in kprobe_arm_test_cases() [all …]
|
/linux/tools/testing/selftests/x86/ |
A D | test_FCMOV.c | 16 #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/lib/ |
A D | atomic64_test.c | 115 TEST(, add, +=, -one); 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() 167 TEST(64, add, +=, -one); in test_atomic64() 169 TEST(64, sub, -=, -one); in test_atomic64() 170 TEST(64, or, |=, v1); in test_atomic64() 171 TEST(64, and, &=, v1); in test_atomic64() [all …]
|
/linux/tools/testing/ktest/examples/include/ |
A D | tests.conf | 33 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}
|
A D | patchcheck.conf | 91 TEST_START IF ${TEST} == patchcheck 94 TEST = ${PATCH_TEST} 101 TEST_START IF ${TEST} == patchcheck && ${MULTI} 104 TEST = ${PATCH_TEST}
|
A D | bisect.conf | 19 TEST_START IF ${TEST} == bisect 32 TEST = ${RUN_TEST} 82 TEST_START IF ${TEST} == config-bisect
|
A D | min-config.conf | 47 TEST_START IF ${TEST} == min-config 52 TEST = ${SSH} echo hi 55 TEST_START IF ${TEST} == min-config && ${MULTI}
|
A D | bootconfig.conf | 43 TEST = ${DO_TEST} 55 TEST = ${DO_TEST} 67 TEST = ${DO_TEST}
|
/linux/tools/testing/selftests/powerpc/alignment/ |
A D | alignment_handler.c | 84 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro 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) 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) 116 #define STORE_XFORM_TEST(op) TEST(op, ldx, op, XFORM, 31, 31) 117 #define LOAD_DFORM_TEST(op) TEST(op, op, std, DFORM, 31, 31) 118 #define STORE_DFORM_TEST(op) TEST(op, ld, op, DFORM, 31, 31) 120 #define LOAD_FLOAT_DFORM_TEST(op) TEST(op, op, stfd, DFORM, 0, 0) [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sk_assign.c | 243 #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()
|
A D | sockmap_listen.c | 1483 TEST(test_insert_invalid), in test_ops() 1484 TEST(test_insert_opened), in test_ops() 1486 TEST(test_insert), in test_ops() 1488 TEST(test_delete_after_insert), in test_ops() 1489 TEST(test_delete_after_close), in test_ops() 1491 TEST(test_lookup_after_insert), in test_ops() 1492 TEST(test_lookup_after_delete), in test_ops() 1493 TEST(test_lookup_32_bit_value), in test_ops() 1495 TEST(test_update_existing), in test_ops() 1538 TEST(test_skb_redir_to_connected), in test_redir() [all …]
|
/linux/tools/testing/selftests/landlock/ |
A D | base_test.c | 24 TEST(inconsistent_attr) { in TEST() function 66 TEST(abi_version) { in TEST() function 91 TEST(inval_create_ruleset_flags) { in TEST() function 113 TEST(empty_path_beneath_attr) { in TEST() function 129 TEST(inval_fd_enforce) { in TEST() function 136 TEST(unpriv_enforce_without_no_new_privs) { in TEST() function 145 TEST(ruleset_fd_io) in TEST() function 167 TEST(ruleset_fd_transfer) in TEST() function
|
/linux/tools/testing/selftests/filesystems/epoll/ |
A D | epoll_wakeup_test.c | 163 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/tools/testing/selftests/arm64/pauth/ |
A D | pac.c | 196 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/tools/testing/selftests/sparc64/ |
A D | Makefile | 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
/linux/tools/testing/selftests/mincore/ |
A D | mincore_selftest.c | 30 TEST(basic_interface) in TEST() function 83 TEST(check_anonymous_locked_pages) in TEST() function 139 TEST(check_huge_pages) in TEST() function 187 TEST(check_file_mmap) in TEST() function 284 TEST(check_tmpfs_mmap) in TEST() function
|
/linux/tools/testing/selftests/syscall_user_dispatch/ |
A D | sud_test.c | 82 TEST(bad_prctl_param) in TEST() function 163 TEST(dispatch_and_return) in TEST() function 261 TEST(disable_dispatch) in TEST() function 289 TEST(direct_dispatch_range) in TEST() function
|
/linux/tools/testing/selftests/core/ |
A D | close_range_test.c | 57 TEST(core_close_range) in TEST() function 116 TEST(close_range_unshare) in TEST() function 205 TEST(close_range_unshare_capped) in TEST() function 248 TEST(close_range_cloexec) in TEST() function 316 TEST(close_range_cloexec_unshare) in TEST() function 390 TEST(close_range_cloexec_syzbot) in TEST() function 472 TEST(close_range_cloexec_unshare_syzbot) in TEST() function
|
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 315 TEST(kcmp) in TEST() function 532 TEST(ALLOW_all) in TEST() function 550 TEST(empty_prog) in TEST() function 568 TEST(log_all) in TEST() function 851 TEST(KILL_thread) in TEST() function 870 TEST(KILL_process) in TEST() function 889 TEST(KILL_unknown) in TEST() function 945 TEST(ERRNO_valid) in TEST() function 963 TEST(ERRNO_zero) in TEST() function 985 TEST(ERRNO_capped) in TEST() function [all …]
|
/linux/tools/testing/selftests/net/ |
A D | reuseaddr_ports_exhausted.c | 81 TEST(reuseaddr_ports_exhausted_unreusable) in TEST() function 101 TEST(reuseaddr_ports_exhausted_reusable_same_euid) in TEST() function 126 TEST(reuseaddr_ports_exhausted_reusable_different_euid) in TEST() function
|
/linux/tools/testing/selftests/ |
A D | run_kselftest.sh | 24 -t | --test COLLECTION:TEST Run TEST from COLLECTION
|
/linux/arch/um/os-Linux/ |
A D | execvp.c | 29 #ifndef TEST 132 #ifdef TEST
|
/linux/tools/testing/selftests/ptrace/ |
A D | vmaccess.c | 24 TEST(vmaccess) in TEST() function 46 TEST(attach) in TEST() function
|