/tools/testing/selftests/kselftest/ |
D | runner.sh | 46 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 in "$@"; do [all …]
|
/tools/testing/ktest/examples/include/ |
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}
|
D | min-config.conf | 47 TEST_START IF ${TEST} == min-config 52 TEST = ${SSH} echo hi 55 TEST_START IF ${TEST} == min-config && ${MULTI}
|
D | bisect.conf | 19 TEST_START IF ${TEST} == bisect 32 TEST = ${RUN_TEST} 82 TEST_START IF ${TEST} == config-bisect
|
D | patchcheck.conf | 91 TEST_START IF ${TEST} == patchcheck 94 TEST = ${PATCH_TEST} 101 TEST_START IF ${TEST} == patchcheck && ${MULTI} 104 TEST = ${PATCH_TEST}
|
/tools/testing/selftests/x86/ |
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)
|
/tools/testing/selftests/bpf/ |
D | test_tc_redirect.sh | 129 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="ICMPv6 connectivity test" [all …]
|
/tools/testing/selftests/android/ |
D | Makefile | 16 TEST=$$DIR"_test.sh"; \ 17 if [ -e $$DIR/$$TEST ]; then \ 18 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 93 #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(op, op, stdx, XFORM, 31, 31) [all …]
|
/tools/testing/selftests/sparc64/ |
D | Makefile | 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sk_assign.c | 256 #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()
|
D | sockmap_listen.c | 1416 #define TEST(fn, ...) \ macro 1488 TEST(test_insert_invalid), in test_ops() 1489 TEST(test_insert_opened), in test_ops() 1490 TEST(test_insert_bound, SOCK_STREAM), in test_ops() 1491 TEST(test_insert), in test_ops() 1493 TEST(test_delete_after_insert), in test_ops() 1494 TEST(test_delete_after_close), in test_ops() 1496 TEST(test_lookup_after_insert), in test_ops() 1497 TEST(test_lookup_after_delete), in test_ops() 1498 TEST(test_lookup_32_bit_value), in test_ops() [all …]
|
/tools/testing/selftests/filesystems/incfs/ |
D | incfs_test.c | 78 #define TEST(statement, condition) \ macro 2019 TEST(filename = concat_file_name(mount_dir, file->name), filename); in validate_hash_tree() 2020 TEST(fd = open(filename, O_RDONLY | O_CLOEXEC), fd != -1); in validate_hash_tree() 2021 TEST(buf = malloc(INCFS_DATA_FILE_BLOCK_SIZE * 8), buf); in validate_hash_tree() 2032 TEST(err = ioctl(fd, FS_IOC_READ_VERITY_METADATA, &args), in validate_hash_tree() 2188 TEST(filename = concat_file_name(mount_dir, file->name), filename); in validate_logs() 2189 TEST(fd = open(filename, O_RDONLY | O_CLOEXEC), fd != -1); in validate_logs() 2277 TEST(backing_dir = create_backing_dir(mount_dir), backing_dir); in read_log_test() 2281 TEST(cmd_fd = open_commands_file(mount_dir), cmd_fd != -1); in read_log_test() 2292 TEST(log_fd = open_log_file(mount_dir), log_fd != -1); in read_log_test() [all …]
|
/tools/testing/selftests/ |
D | run_kselftest.sh | 24 -t | --test COLLECTION:TEST Run TEST from COLLECTION
|
/tools/testing/selftests/arm64/pauth/ |
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
|
/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 148 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(epoll10) in TEST() function [all …]
|
/tools/testing/selftests/net/ |
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
|
/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 31 TEST(basic_interface) in TEST() function 84 TEST(check_anonymous_locked_pages) in TEST() function 140 TEST(check_huge_pages) in TEST() function 188 TEST(check_file_mmap) in TEST() function 293 TEST(check_tmpfs_mmap) in TEST() function
|
/tools/testing/selftests/ptrace/ |
D | vmaccess.c | 24 TEST(vmaccess) in TEST() function 46 TEST(attach) in TEST() function
|
/tools/testing/selftests/pid_namespace/ |
D | regression_enomem.c | 22 TEST(regression_enomem) in TEST() function
|
/tools/testing/selftests/kexec/ |
D | test_kexec_load.sh | 7 TEST="$0"
|
/tools/testing/selftests/core/ |
D | close_range_test.c | 36 TEST(core_close_range) in TEST() function 95 TEST(close_range_unshare) in TEST() function 184 TEST(close_range_unshare_capped) in TEST() function
|
/tools/testing/ktest/examples/ |
D | test.conf | 28 TEST := patchcheck
|
D | kvm.conf | 28 TEST := patchcheck
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 311 TEST(kcmp) in TEST() function 321 TEST(mode_strict_support) in TEST() function 348 TEST(no_new_privs_support) in TEST() function 359 TEST(mode_filter_support) in TEST() function 374 TEST(mode_filter_without_nnp) in TEST() function 403 TEST(filter_size_limits) in TEST() function 440 TEST(filter_chain_limits) in TEST() function 480 TEST(mode_filter_cannot_move_to_strict) in TEST() function 503 TEST(mode_filter_get_seccomp) in TEST() function 528 TEST(ALLOW_all) in TEST() function [all …]
|