Home
last modified time | relevance | path

Searched refs:tst_brk (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/external/ltp/testcases/lib/
Dtst_test.sh91 *) 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/
Dfallocate04.c76 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/
Dsigpending02.c41 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/
Drequest_key04.c29 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()
Drequest_key03.c58 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/
Dkeyctl07.c41 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/
Dtst_test.c97 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 …]
Dtst_af_alg.c20 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()
Dtst_safe_sysv_ipc.c38 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()
Dtst_wallclock.c26 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()
Dtst_crypto.c19 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/
Dlibnewipc.c41 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/kernel/syscalls/move_pages/
Dmove_pages12.c162 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/network/tcp_cmds/ipneigh/
Dipneigh01.sh27 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/perf_event_open/
Dperf_event_open02.c89 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/
Dstatx04.c47 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/execve/
Dexecve01_child.c18 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/execle/
Dexecle01_child.c18 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/ptrace/
Dptrace07.c105 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/
Dzram_lib.sh37 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/network/netstress/
Dnetstress.c261 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/hugetlb/hugemmap/
Dhugemmap06.c61 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/
Ddhcp_lib.sh56 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/kernel/mem/swapping/
Dswapping01.c68 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/mem/lib/
Dmem.c177 tst_brk(TBROK|TERRNO, "get_allowed_nodes_arr"); in set_global_mempolicy()
202 tst_brk(TBROK|TERRNO, "Bad mempolicy mode"); in set_global_mempolicy()
205 tst_brk(TBROK|TERRNO, "set_mempolicy"); in set_global_mempolicy()
312 tst_brk(TCONF, "Huge page is not supported."); in check_hugepage()
373 tst_brk(TBROK|TERRNO, "madvise"); in create_ksm_child()
379 tst_brk(TBROK|TERRNO, "kill"); in create_ksm_child()
391 tst_brk(TBROK|TERRNO, "kill"); in create_ksm_child()
415 tst_brk(TBROK, "child %d was not stopped", k); in stop_ksm_children()
540 tst_brk(TBROK|TERRNO, "get_allowed_nodes_arr"); in test_ksm_merge_across_nodes()
556 tst_brk(TBROK|TERRNO, "madvise"); in test_ksm_merge_across_nodes()
[all …]

12345678910>>...17