/external/ltp/testcases/lib/ |
D | tst_test.sh | 91 *) tst_brk TBROK "Invalid res type '$1'";; 110 tst_brk() function 129 tst_brk TBROK "$@ failed" 137 tst_brk TBROK "$@ failed" 179 _tst_expect_pass tst_brk "$@" 189 _tst_expect_fail tst_brk "$@" 202 tst_brk TBROK "TST_RETRY_FN_EXP_BACKOFF expects 3 parameters" 206 tst_brk TBROK "TST_RETRY_FN_EXP_BACKOFF: tst_sec must be integer ('$tst_sec')" 219 tst_brk TBROK "\"$tst_fun\" timed out" 229 tst_brk TBROK "TST_RETRY_FUNC expects 2 parameters" [all …]
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate04.c | 76 tst_brk(TFAIL, "not expected file data"); in check_file_data() 86 tst_brk(TCONF, "fallocate() not supported"); in test01() 87 tst_brk(TFAIL | TERRNO, "fallocate() failed"); in test01() 107 tst_brk(TCONF, in test02() 114 tst_brk(TCONF, in test02() 117 tst_brk(TFAIL | TERRNO, "fallocate() failed"); in test02() 126 tst_brk(TFAIL | TERRNO, in test02() 133 tst_brk(TBROK | TERRNO, in test02() 145 tst_brk(TFAIL, "not expected allocated size"); in test02() 162 tst_brk(TCONF, in test03() [all …]
|
/external/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 41 tst_brk(TCONF, "libc sigpending() is not implemented"); in tested_sigpending() 75 tst_brk(TBROK, "sigprocmask failed"); in test_sigpending() 86 tst_brk(TFAIL, in test_sigpending() 91 tst_brk(TBROK, "raising SIGUSR1 failed"); in test_sigpending() 93 tst_brk(TFAIL, in test_sigpending() 101 tst_brk(TFAIL, "only SIGUSR1 should be pending by now"); in test_sigpending() 105 tst_brk(TBROK, "raising SIGUSR2 failed"); in test_sigpending() 107 tst_brk(TFAIL, in test_sigpending() 115 tst_brk(TFAIL, in test_sigpending() 122 tst_brk(TBROK, "sigprocmask failed"); in test_sigpending() [all …]
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
D | request_key04.c | 29 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in do_test() 34 tst_brk(TBROK | TTERRNO, in do_test() 41 tst_brk(TBROK | TTERRNO, in do_test() 48 tst_brk(TBROK | TTERRNO, "failed to read from session keyring"); in do_test() 50 tst_brk(TBROK, "session keyring is not empty"); in do_test() 54 tst_brk(TBROK, "request_key() unexpectedly succeeded"); in do_test() 60 tst_brk(TBROK | TTERRNO, "failed to read from session keyring"); in do_test() 62 tst_brk(TFAIL, "added key to keyring without permission"); in do_test()
|
D | request_key03.c | 58 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in test_with_key_type() 68 tst_brk(TBROK | TTERRNO, in test_with_key_type() 101 tst_brk(TBROK | TTERRNO, in test_with_key_type() 107 tst_brk(TBROK | TTERRNO, in test_with_key_type() 121 tst_brk(TBROK | TTERRNO, in test_with_key_type() 148 tst_brk(TBROK, "add_key child %s", tst_strstatus(status)); in test_with_key_type() 162 tst_brk(TBROK, "request_key child %s", tst_strstatus(status)); in test_with_key_type()
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl07.c | 41 tst_brk(TBROK, "request_key() unexpectedly succeeded"); in try_to_read_negative_key() 44 tst_brk(TBROK | TTERRNO, in try_to_read_negative_key() 52 tst_brk(TBROK | TTERRNO, "KEYCTL_READ unexpectedly failed"); in try_to_read_negative_key() 54 tst_brk(TBROK, "KEYCTL_READ returned %ld but expected %zu", in try_to_read_negative_key() 65 tst_brk(TFAIL, in try_to_read_negative_key() 69 tst_brk(TFAIL | TTERRNO, in try_to_read_negative_key() 98 tst_brk(TCONF, "syscall not implemented"); in do_test() 100 tst_brk(TBROK, "Child %s", tst_strstatus(status)); in do_test()
|
/external/ltp/lib/ |
D | tst_test.c | 97 tst_brk(TBROK | TERRNO, "open(%s)", shm_path); in setup_ipc() 144 tst_brk(TBROK, IPC_ENV_VAR" is not defined"); in tst_reinit() 147 tst_brk(TBROK, "File %s does not exist!", path); in tst_reinit() 208 tst_brk(TBROK, "Invalid ttype value %i", ttype); in print_result() 344 tst_brk(TBROK, "Child (%i) killed by signal %s", in check_child_status() 349 tst_brk(TBROK, "Child (%i) exited abnormaly", pid); in check_child_status() 357 tst_brk(ret, "Reported by child (%i)", pid); in check_child_status() 360 tst_brk(TBROK, "Invalid child (%i) exit value %i", pid, ret); in check_child_status() 383 tst_brk(TBROK | TERRNO, "wait() failed"); in tst_reap_children() 393 tst_brk(TBROK, "test.forks_child must be set!"); in safe_fork() [all …]
|
D | tst_af_alg.c | 20 tst_brk(TCONF, "kernel doesn't support AF_ALG"); in tst_alg_create() 21 tst_brk(TBROK | TTERRNO, "unexpected error creating AF_ALG socket"); in tst_alg_create() 31 tst_brk(TCONF, "kernel doesn't support %s algorithm '%s'", in tst_alg_bind_addr() 34 tst_brk(TBROK | TTERRNO, in tst_alg_bind_addr() 48 tst_brk(TBROK, "algorithm type too long: '%s'", algtype); in init_sockaddr_alg() 52 tst_brk(TBROK, "algorithm name too long: '%s'", algname); in init_sockaddr_alg() 77 tst_brk(TBROK | TTERRNO, in tst_have_alg() 111 tst_brk(TBROK | TTERRNO, in tst_alg_setkey() 121 tst_brk(TBROK | TTERRNO, in tst_alg_accept()
|
D | tst_safe_sysv_ipc.c | 38 tst_brk(TBROK | TERRNO, "%s:%d: msgget(%i, %x) failed", in safe_msgget() 52 tst_brk(TBROK | TERRNO, in safe_msgsnd() 67 tst_brk(TBROK | TERRNO, in safe_msgrcv() 82 tst_brk(TBROK | TERRNO, in safe_msgctl() 98 tst_brk(TBROK | TERRNO, "%s:%d: shmget(%i, %zu, %x) failed", in safe_shmget() 112 tst_brk(TBROK | TERRNO, "%s:%d: shmat(%i, %p, %x) failed", in safe_shmat() 125 tst_brk(TBROK | TERRNO, "%s:%d: shmdt(%p) failed", in safe_shmdt() 139 tst_brk(TBROK | TERRNO, in safe_shmctl()
|
D | tst_wallclock.c | 26 tst_brk(TBROK | TERRNO, "tst_clock_gettime() realtime failed"); in tst_wallclock_save() 30 tst_brk(TCONF | TERRNO, in tst_wallclock_save() 34 tst_brk(TBROK | TERRNO, "tst_clock_gettime() monotonic failed"); in tst_wallclock_save() 50 tst_brk(TBROK | TERRNO, "tst_clock_gettime() monotonic failed"); in tst_wallclock_restore() 59 tst_brk(TBROK | TERRNO, "tst_clock_settime() realtime failed"); in tst_wallclock_restore()
|
D | tst_crypto.c | 19 tst_brk(TCONF | TTERRNO, "NETLINK_CRYPTO is probably disabled"); in tst_crypto_open() 22 tst_brk(TBROK | TTERRNO, in tst_crypto_open() 47 tst_brk(TBROK, in tst_crypto_recv_ack() 58 tst_brk(TBROK, "Unexpected message type; type=0x%hx, seq_num=%u", in tst_crypto_recv_ack() 62 tst_brk(TBROK, "Empty message from netlink socket?"); in tst_crypto_recv_ack() 104 tst_brk(TBROK | TERRNO, "usleep(1)"); in tst_crypto_del_alg()
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
D | libnewipc.c | 41 tst_brk(TBROK | TERRNO, in getipckey() 56 tst_brk(TBROK | TERRNO, in get_used_queues() 66 tst_brk(TBROK, "can't read /proc/sysvipc/msg to get " in get_used_queues() 83 tst_brk(TBROK, "probe: shmget() failed at %s:%d", file, lineno); in probe_free_addr() 87 tst_brk(TBROK, "probe: shmat() failed at %s:%d", file, lineno); in probe_free_addr() 90 tst_brk(TBROK, "probe: shmdt() failed at %s:%d", file, lineno); in probe_free_addr() 93 tst_brk(TBROK, "probe: shmctl() failed at %s:%d", file, lineno); in probe_free_addr()
|
/external/ltp/testcases/network/tcp_cmds/ipneigh/ |
D | ipneigh01.sh | 27 tst_brk TCONF "'arp' doesn't support IPv6" 33 tst_brk TBROK "unknown or missing command, use -c [ arp | ip ]" 62 tst_brk TFAIL "cannot ping $(tst_ipaddr rhost)" 76 tst_brk TFAIL "$entry_name entry '$(tst_ipaddr rhost)' not listed" 78 $DEL_CMD || tst_brk TFAIL "fail to delete entry" 81 tst_brk TFAIL "'$DEL_CMD' failed, entry has " \
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 162 tst_brk(TBROK | TERRNO, "Cannot allocate hugepage"); in do_test() 171 tst_brk(TBROK, "Failed to mmap at desired addr"); in do_test() 213 tst_brk(TCONF, "Cannot allocate huge pages"); in alloc_free_huge_on_node() 215 tst_brk(TBROK | TERRNO, "mmap(..., MAP_HUGETLB, ...) failed"); in alloc_free_huge_on_node() 220 tst_brk(TBROK | TERRNO, "numa_bitmask_alloc() failed"); in alloc_free_huge_on_node() 227 tst_brk(TCONF, "Cannot mbind huge pages"); in alloc_free_huge_on_node() 229 tst_brk(TBROK | TERRNO, "mbind() failed"); in alloc_free_huge_on_node() 236 tst_brk(TCONF, "Cannot lock huge pages"); in alloc_free_huge_on_node() 237 tst_brk(TBROK | TTERRNO, "mlock failed"); in alloc_free_huge_on_node() 253 tst_brk(TCONF, "Huge page not supported"); in setup() [all …]
|
/external/ltp/testcases/kernel/syscalls/execle/ |
D | execle01_child.c | 18 tst_brk(TFAIL, "argc is %d, expected 2", argc); in main() 21 tst_brk(TFAIL, "argv[1] is %s, expected 'canary'", argv[1]); in main() 26 tst_brk(TFAIL, "LTP_TEST_ENV_VAR is missing"); in main() 29 tst_brk(TFAIL, "LTP_TEST_ENV_VAR='%s', expected test", env); in main() 32 tst_brk(TFAIL, "PATH is in environment"); in main()
|
/external/ltp/testcases/kernel/syscalls/execve/ |
D | execve01_child.c | 18 tst_brk(TFAIL, "argc is %d, expected 2", argc); in main() 21 tst_brk(TFAIL, "argv[1] is %s, expected 'canary'", argv[1]); in main() 26 tst_brk(TFAIL, "LTP_TEST_ENV_VAR is missing"); in main() 29 tst_brk(TFAIL, "LTP_TEST_ENV_VAR='%s', expected test", env); in main() 32 tst_brk(TFAIL, "PATH is in environment"); in main()
|
/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 89 tst_brk(TCONF | TERRNO, in perf_event_open() 92 tst_brk(TBROK | TERRNO, "perf_event_open failed"); in perf_event_open() 101 tst_brk(TBROK | TERRNO, "prctl(%d) failed", state); in all_counters_set() 126 tst_brk(TBROK | TERRNO, "setitimer"); in bench_work() 169 tst_brk(TBROK | TERRNO, "error reading counter(s) #1"); in count_hardware_counters() 173 tst_brk(TBROK | TERRNO, "error reading counter(s) #2"); in count_hardware_counters() 216 tst_brk(TBROK | TERRNO, "sched_getcpu() failed"); in bind_to_current_cpu() 223 tst_brk(TBROK | TERRNO, "sched_setaffinity() failed"); in bind_to_current_cpu() 246 tst_brk(TCONF, "Kernel doesn't have perf_event support"); in setup() 308 tst_brk(TBROK | TERRNO, in verify() [all …]
|
/external/ltp/testcases/kernel/syscalls/statx/ |
D | statx04.c | 47 tst_brk(TFAIL | TTERRNO, in test_flagged() 81 tst_brk(TFAIL | TTERRNO, in test_unflagged() 127 tst_brk(TCONF | TERRNO, "FS_IOC_GETFLAGS not supported"); in caid_flags_setup() 131 tst_brk(TCONF | TERRNO, in caid_flags_setup() 135 tst_brk(TBROK | TERRNO, "ioctl(%i, FS_IOC_GETFLAGS, ...)", fd); in caid_flags_setup() 143 tst_brk(TCONF, "Flags not supported"); in caid_flags_setup() 144 tst_brk(TBROK | TERRNO, "ioctl(%i, FS_IOC_SETFLAGS, %i)", fd, attr); in caid_flags_setup() 156 tst_brk(TCONF, "Btrfs statx() supported since 4.13"); in setup()
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace07.c | 105 tst_brk(TBROK | TTERRNO, "PTRACE_ATTACH failed"); in do_test() 111 tst_brk(TCONF, "GETREGSET/SETREGSET is unsupported"); in do_test() 114 tst_brk(TCONF, "NT_X86_XSTATE is unsupported"); in do_test() 117 tst_brk(TCONF, "CPU doesn't support XSAVE instruction"); in do_test() 119 tst_brk(TBROK | TTERRNO, in do_test() 140 tst_brk(TBROK | TTERRNO, in do_test() 155 tst_brk(TBROK | TTERRNO, "PTRACE_DETACH failed"); in do_test()
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
D | zram_lib.sh | 37 tst_brk TBROK "failed to insert zram module" 42 tst_brk TFAIL "unexpected num of devices: $dev_num_created" 63 tst_brk TFAIL "failed to set '$max_s' to $sys_path" 67 tst_brk TFAIL "can't set max_streams '$max_s', get $max_stream" 94 tst_brk TFAIL "can't set '$alg' to $sys_path" 111 tst_brk TFAIL "can't set '$ds' to $sys_path" 137 tst_brk TFAIL "can't set '$ds' to $sys_path" 188 tst_brk TFAIL "failed to make $fs on /dev/zram$i" 212 tst_brk TCONF "zram not configured in kernel"
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap06.c | 61 tst_brk(TCONF, "System RAM is not enough to test."); in setup() 102 tst_brk(TCONF, in do_mmap() 106 tst_brk(TBROK | TERRNO, "Cannot allocate hugepage"); in do_mmap() 115 tst_brk(TBROK | TRERRNO, in do_mmap() 124 tst_brk(TFAIL | TERRNO, "mmap failed"); in do_mmap() 132 tst_brk(TBROK | TRERRNO, in do_mmap() 137 tst_brk(TFAIL | TERRNO, "huge munmap failed"); in do_mmap()
|
/external/ltp/testcases/network/dhcp/ |
D | dhcp_lib.sh | 56 tst_brk TBROK "failed to add veth $iface0" 59 ip li set up $iface0 || tst_brk TBROK "failed to bring $iface0 up" 60 ip li set up $iface1 || tst_brk TBROK "failed to bring $iface1 up" 62 stop_dhcp || tst_brk TBROK "Failed to stop dhcp server" 73 tst_brk TBROK "failed to add ip address" 122 tst_brk TBROK "Failed to start $dhcp_name" 129 tst_brk TBROK "Failed to start $dhcp_name" 151 dhclient -$TST_IPVER $iface1 || tst_brk TBROK "dhclient failed"
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 261 tst_brk(TFAIL, "too many pmtu errors %d", in client_recv() 281 tst_brk(TFAIL, "client requests timeout %d times, last timeout %dms", in client_recv() 290 tst_brk(TFAIL, "too many zero-length msgs"); in client_recv() 317 tst_brk(TFAIL, "port not zero after bind(): %d", port); in bind_before_connect() 451 tst_brk(TBROK, "getaddrinfo failed, %s", gai_strerror(err)); in setup_addrinfo() 454 tst_brk(TBROK, "failed to get the address"); in setup_addrinfo() 460 tst_brk(TBROK, "Unexpected num of clients '%d'", in client_init() 496 tst_brk(TBROK, "client[%d] failed: %s", in client_run() 644 tst_brk(TBROK, "Server closed"); in server_fn() 759 tst_brk(TBROK | TERRNO, "setdetachstate failed"); in server_run() [all …]
|
/external/ltp/testcases/kernel/mem/swapping/ |
D | swapping01.c | 68 tst_brk(TCONF, "test is not designed for 32-bit system."); in test_swapping() 95 tst_brk(TCONF, "Not enough available mem to test."); in init_meminfo() 98 tst_brk(TCONF, "Not enough swap space to test."); in init_meminfo() 114 tst_brk(TBROK | TERRNO, "kill"); in do_alloc() 126 tst_brk(TBROK, "child was not stopped."); in check_swapping() 143 tst_brk(TFAIL, "heavy swapping detected: " in check_swapping()
|
/external/ltp/testcases/kernel/crypto/ |
D | crypto_user02.c | 52 tst_brk(TCONF, "%s not supported", alg.cru_driver_name); in run() 54 tst_brk(TBROK | TRERRNO, in run() 72 tst_brk(TBROK | TRERRNO, in run() 87 tst_brk(TBROK, "child %s", tst_strstatus(status)); in run() 90 tst_brk(TBROK | TRERRNO, in run()
|