Home
last modified time | relevance | path

Searched refs:TBROK (Results 1 – 25 of 903) sorted by relevance

12345678910>>...37

/external/ltp/lib/
Dsafe_macros.c36 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_basename()
52 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_chdir()
55 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_chdir()
71 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_close()
74 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_close()
90 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_creat()
93 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_creat()
109 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_dirname()
124 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_getcwd()
139 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_getpwnam()
[all …]
Dtst_safe_macros.c31 tst_brk_(file, lineno, TBROK | TERRNO, in safe_access()
34 tst_brk_(file, lineno, TBROK | TERRNO, in safe_access()
49 tst_brk_(file, lineno, TBROK | TERRNO, in safe_setpgid()
52 tst_brk_(file, lineno, TBROK | TERRNO, in safe_setpgid()
67 tst_brk_(file, lineno, TBROK | TERRNO, "getpgid(%i) failed", in safe_getpgid()
70 tst_brk_(file, lineno, TBROK | TERRNO, in safe_getpgid()
84 tst_brk_(file, lineno, TBROK | TERRNO, in safe_setgroups()
87 tst_brk_(file, lineno, TBROK | TERRNO, in safe_setgroups()
102 tst_brk_(file, lineno, TBROK | TERRNO, in safe_getgroups()
105 tst_brk_(file, lineno, TBROK | TERRNO, in safe_getgroups()
[all …]
Dtst_safe_sysv_ipc.c71 tst_brk_(file, lineno, TBROK | TERRNO, "msgget(%i, %x) failed", in safe_msgget()
74 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgget()
90 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgsnd()
94 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgsnd()
110 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgrcv()
114 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgrcv()
130 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgctl()
133 tst_brk_(file, lineno, TBROK | TERRNO, in safe_msgctl()
149 tst_brk_(file, lineno, TBROK | TERRNO, in safe_shmget()
152 tst_brk_(file, lineno, TBROK | TERRNO, in safe_shmget()
[all …]
Dsafe_net.c125 ttype = TBROK; in safe_socket()
131 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_socket()
154 ttype = TBROK; in safe_socketpair()
161 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_socketpair()
175 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_getsockopt()
179 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_getsockopt()
195 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_setsockopt()
199 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_setsockopt()
215 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_send()
219 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_send()
[all …]
Dsafe_file_ops.c131 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_file_scanf()
143 tst_brkm_(file, lineno, TBROK, cleanup_fn, in safe_file_scanf()
149 tst_brkm_(file, lineno, TBROK, cleanup_fn, in safe_file_scanf()
156 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_file_scanf()
179 tst_brkm_(file, lineno, TBROK, cleanup_fn, "pattern is NULL"); in file_lines_scanf()
185 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in file_lines_scanf()
203 tst_brkm_(file, lineno, TBROK, cleanup_fn, in file_lines_scanf()
262 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_file_vprintf()
268 tst_brkm_(file, lineno, TBROK, cleanup_fn, in safe_file_vprintf()
274 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_file_vprintf()
[all …]
Dself_exec.c89 tst_brkm(TBROK, NULL, in maybe_run_child()
99 tst_brkm(TBROK, NULL, in maybe_run_child()
109 tst_brkm(TBROK, NULL, in maybe_run_child()
119 tst_brkm(TBROK, NULL, in maybe_run_child()
132 tst_brkm(TBROK, NULL, in maybe_run_child()
141 tst_brkm(TBROK, NULL, in maybe_run_child()
147 tst_brkm(TBROK, NULL, in maybe_run_child()
174 tst_resm(TBROK, "Could not getcwd()"); in self_exec()
180 tst_resm(TBROK, "Could not produce self_exec string"); in self_exec()
192 tst_resm(TBROK, in self_exec()
[all …]
/external/ltp/testcases/kernel/pty/
Dptem01.c63 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test1()
67 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1()
71 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test1()
115 tst_brkm(TBROK, NULL, "close slave"); in test1()
119 tst_brkm(TBROK, NULL, "close master"); in test1()
142 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test2()
146 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test2()
150 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test2()
154 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test2()
196 tst_brkm(TBROK, NULL, "close"); in test2()
[all …]
Dpty01.c83 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test1()
87 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1()
91 tst_brkm(TBROK | TERRNO, NULL, "stat(%s) failed", slavename); in test1()
94 tst_brkm(TBROK, NULL, "uid mismatch"); in test1()
100 tst_brkm(TBROK, NULL, "mode mismatch (mode=%o)", st.st_mode); in test1()
106 tst_brkm(TBROK, NULL, "open didn't fail as expected!"); in test1()
110 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() failed"); in test1()
176 tst_brkm(TBROK | TERRNO, NULL, "close of slave"); in test1()
179 tst_brkm(TBROK | TERRNO, NULL, "close of master"); in test1()
201 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test2()
[all …]
/external/ltp/testcases/kernel/containers/pidns/
Dpidns31.c160 tst_resm(TBROK, "cinit: pidns is not created"); in child_fn()
161 cleanup_mqueue(TBROK, NO_STEP, 0); in child_fn()
170 tst_resm(TBROK, "cinit: parent did not send the message!"); in child_fn()
171 cleanup_mqueue(TBROK, NO_STEP, 0); in child_fn()
177 tst_resm(TBROK, "cinit: mq_open() failed (%s)", in child_fn()
179 cleanup_mqueue(TBROK, NO_STEP, 0); in child_fn()
184 tst_resm(TBROK, "cinit: mq_send() failed (%s)", in child_fn()
186 cleanup_mqueue(TBROK, C_STEP_0, mqd); in child_fn()
205 tst_resm(TBROK, "father: received %s unexpectedly", in father_signal_handler()
211 tst_resm(TBROK, "father: expected signal code SI_MESGQ - " in father_signal_handler()
[all …]
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sockopt.c121 tst_brkm(TBROK, tst_exit, "setsockopt with a bad socket " in main()
130 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
138 tst_brkm(TBROK, tst_exit, "setsockopt with an invalid socket " in main()
146 tst_brkm(TBROK, tst_exit, "setsockopt with invalid level " in main()
155 tst_brkm(TBROK, tst_exit, "setsockopt with invalid option " in main()
163 tst_brkm(TBROK, tst_exit, "setsockopt with invalid option " in main()
171 tst_brkm(TBROK, tst_exit, "getsockopt with a bad socket " in main()
180 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
188 tst_brkm(TBROK, tst_exit, "getsockopt with an invalid socket " in main()
200 tst_brkm(TBROK, tst_exit, "getsockopt with invalid level " in main()
[all …]
Dtest_getname.c103 tst_brkm(TBROK, tst_exit, "getsockname: %s", strerror(errno)); in main()
112 tst_brkm(TBROK, tst_exit, "getpeername on an unconnected " in main()
136 tst_brkm(TBROK, tst_exit, "getsockname on a connected client " in main()
146 tst_brkm(TBROK, tst_exit, "getpeername on a connected client " in main()
161 tst_brkm(TBROK, tst_exit, "getsockname on a connected server " in main()
172 tst_brkm(TBROK, tst_exit, "getpeername on a connected server " in main()
178 tst_brkm(TBROK, tst_exit, "Server's local port(%d) doesn't " in main()
183 tst_brkm(TBROK, tst_exit, "Server's peer port(%d) doesn't " in main()
188 tst_brkm(TBROK, tst_exit, "Server's local address and client's " in main()
192 tst_brkm(TBROK, tst_exit, "Server's peer address and client's " in main()
[all …]
Dtest_1_to_1_socket_bind_listen.c108 tst_brkm(TBROK, tst_exit, "socket() with invalid domain " in main()
116 tst_brkm(TBROK, tst_exit, "socket() with invalid type " in main()
124 tst_brkm(TBROK, tst_exit, "valid socket() call " in main()
132 tst_brkm(TBROK, tst_exit, "bind() with invalid address ptr " in main()
144 tst_brkm(TBROK, tst_exit, "bind() with invalid address length " in main()
153 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
161 tst_brkm(TBROK, tst_exit, "bind() with invalid socket " in main()
171 tst_brkm(TBROK, tst_exit, "bind() with invalid local " in main()
184 tst_brkm(TBROK, tst_exit, "bind() on an already bound socket " in main()
203 tst_brkm(TBROK, tst_exit, "bind() on reserverd port " in main()
[all …]
/external/ltp/testcases/kernel/controllers/
Dcgroup_lib.sh18 [ "$ctrl" ] || tst_brk TBROK "cgroup_get_mountpoint: controller not defined"
19 …[ "$_cgroup_state" ] || tst_brk TBROK "cgroup_get_mountpoint: No previous state found. Forgot to c…
37 [ "$ctrl" ] || tst_brk TBROK "cgroup_get_test_path: controller not defined"
38 …[ "$_cgroup_state" ] || tst_brk TBROK "cgroup_get_test_path: No previous state found. Forgot to ca…
44 …[ ! -e "$test_path" ] && tst_brk TBROK "cgroup_get_test_path: No test path found. Forgot to call c…
60 [ "$ctrl" ] || tst_brk TBROK "cgroup_get_version: controller not defined"
61 …[ "$_cgroup_state" ] || tst_brk TBROK "cgroup_get_version: No previous state found. Forgot to call…
64 [ "$version" ] || tst_brk TBROK "cgroup_get_version: Could not find controller $ctrl"
94 [ "$ctrl" ] || tst_brk TBROK "cgroup_get_task_list: controller not defined"
114 [ "$ctrl" ] || tst_brk TBROK "cgroup_require: controller not defined"
[all …]
/external/ltp/testcases/kernel/syscalls/sigrelse/
Dsigrelse01.c212 tst_brkm(TBROK | TERRNO, cleanup, "fork() failed"); in main()
221 tst_brkm(TBROK | TERRNO, cleanup, in main()
254 tst_brkm(TBROK, getout, "%s", mesg); in parent()
259 tst_brkm(TBROK, getout, "%s", str); in parent()
271 tst_brkm(TBROK | TERRNO, getout, in parent()
275 tst_brkm(TBROK | TERRNO, getout, in parent()
279 tst_brkm(TBROK | TERRNO, getout, in parent()
287 tst_brkm(TBROK | TERRNO, getout, in parent()
299 tst_brkm(TBROK, cleanup, "Unexpected signal %d killed child", in parent()
311 tst_resm(TBROK, "%s", mesg); in parent()
[all …]
/external/ltp/testcases/network/stress/tcp/multi-diffnic/
Dtcp4-multi-diffnic01147 tst_resm TBROK "The number of element in LHOST_HWADDRS differs from RHOST_HWADDRS"
151 tst_resm TBROK "This test case requires plural NICs."
161 tst_resm TBROK "$message"
170 tst_resm TBROK "$message"
200 tst_resm TBROK "Failed to get the interface name at the local host"
205 tst_resm TBROK "Failed to get the interface name at the remtoe host"
218 tst_resm TBROK "Failed to set IPv4 address at the local host"
223 tst_resm TBROK "Failed to set IPv4 address at the remote host"
240 tst_resm TBROK "Failed to set IPv6 address at the local host"
245 tst_resm TBROK "Failed to set IPv6 address at the remote host"
[all …]
/external/ltp/testcases/kernel/syscalls/kill/
Dkill02.c245 tst_brkm(TBROK | TERRNO, cleanup, in main()
259 tst_brkm(TBROK | TERRNO, cleanup, in main()
272 tst_brkm(TBROK | TERRNO, cleanup, in main()
282 tst_brkm(TBROK | TERRNO, cleanup, "fork failed"); in main()
301 tst_brkm(TBROK, NULL, in parent_rout()
327 tst_brkm(TBROK, NULL, in parent_rout()
352 tst_brkm(TBROK | TTERRNO, NULL, "kill() failed"); in parent_rout()
385 tst_brkm(TBROK | TERRNO, NULL, "read() failed"); in parent_rout()
447 tst_brkm(TBROK, NULL, in child1_rout()
463 tst_brkm(TBROK | TERRNO, NULL, in child1_rout()
[all …]
/external/ltp/include/
Dtst_safe_clocks.h26 tst_brk_(file, lineno, TBROK | TERRNO, in safe_clock_getres()
29 tst_brk_(file, lineno, TBROK | TERRNO, in safe_clock_getres()
45 tst_brk_(file, lineno, TBROK | TERRNO, in safe_clock_gettime()
48 tst_brk_(file, lineno, TBROK | TERRNO, in safe_clock_gettime()
65 tst_brk_(file, lineno, TBROK | TERRNO, in safe_clock_settime()
68 tst_brk_(file, lineno, TBROK | TERRNO, in safe_clock_settime()
85 tst_brk_(file, lineno, TBROK | TERRNO, in safe_timer_create()
88 tst_brk_(file, lineno, TBROK | TERRNO, in safe_timer_create()
106 tst_brk_(file, lineno, TBROK | TERRNO, in safe_timer_settime()
109 tst_brk_(file, lineno, TBROK | TERRNO, in safe_timer_settime()
[all …]
/external/ltp/testcases/network/stress/udp/multi-diffnic/
Dudp4-multi-diffnic01131 tst_resm TBROK "The number of element in LHOST_HWADDRS differs from RHOST_HWADDRS"
135 tst_resm TBROK "This test case requires plural NICs."
145 tst_resm TBROK "$message"
175 tst_resm TBROK "Failed to get the interface name at the local host"
180 tst_resm TBROK "Failed to get the interface name at the remtoe host"
193 tst_resm TBROK "Failed to set IPv4 address at the local host"
198 tst_resm TBROK "Failed to set IPv4 address at the remote host"
215 tst_resm TBROK "Failed to set IPv6 address at the local host"
220 tst_resm TBROK "Failed to set IPv6 address at the remote host"
229 tst_resm TBROK "Unknown IP version"
[all …]
/external/ltp/testcases/network/stress/tcp/uni-basic/
Dtcp4-uni-basic01205 tst_resm TBROK "$message"
220 tst_resm TBROK "$message"
240 tst_resm TBROK "Failed to get the interface name at the local host"
245 tst_resm TBROK "Failed to get the interface name at the remote host"
266 tst_resm TBROK "Failed to enable window scaling"
277 tst_resm TBROK "Failed to enable Duplicate SACK"
288 tst_resm TBROK "Failed to enable SACK"
332 tst_resm TBROK "Failed to add any IP address at the local host"
338 tst_resm TBROK "Failed to add any IP address at the remote host"
361 tst_resm TBROK "Failed to add any IP address at the local host"
[all …]
/external/ltp/utils/sctp/testlib/
Dsctputil.h142 tst_brkm(TBROK | TERRNO, tst_exit, "socket()"); in test_socket()
153 tst_brkm(TBROK | TERRNO, tst_exit, "bind()"); in test_bind()
163 tst_brkm(TBROK | TERRNO, tst_exit, "sctp_bindx()"); in test_bindx_add()
173 tst_brkm(TBROK | TERRNO, tst_exit, "listen()"); in test_listen()
183 tst_brkm(TBROK | TERRNO, tst_exit, "connect()"); in test_connect()
193 tst_brkm(TBROK | TERRNO, tst_exit, "connectx()"); in test_connectx()
203 tst_brkm(TBROK | TERRNO, tst_exit, "accept()"); in test_accept()
213 tst_brkm(TBROK | TERRNO, tst_exit, "send(): error: %d", error); in test_send()
224 tst_brkm(TBROK | TERRNO, tst_exit, "sendto(): error: %d", error); in test_sendto()
235 tst_brkm(TBROK | TERRNO, tst_exit, "sendmsg(): error: %d", error); in test_sendmsg()
[all …]
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c139 tst_resm(TBROK | TERRNO, "error reading eventfd"); in read_test()
160 tst_resm(TBROK, "error clearing counter"); in read_eagain_test()
186 tst_resm(TBROK, "error setting counter value to %" PRIu64, val); in write_test()
204 tst_resm(TBROK, "error setting counter value to UINT64_MAX-1"); in write_eagain_test()
269 tst_resm(TBROK, "error clearing counter"); in write_einval2_test()
302 tst_resm(TBROK, "error setting counter value to %" PRIu64, in readfd_set_test()
310 tst_resm(TBROK | TERRNO, "select() failed"); in readfd_set_test()
335 tst_resm(TBROK, "error clearing counter"); in readfd_not_set_test()
342 tst_resm(TBROK | TERRNO, "select() failed"); in readfd_not_set_test()
368 tst_resm(TBROK, "error setting counter value to %" PRIu64, in writefd_set_test()
[all …]
/external/ltp/testcases/network/stress/tcp/multi-diffport/
Dtcp4-multi-diffport01147 tst_resm TBROK "$message"
156 tst_resm TBROK "$message"
176 tst_resm TBROK "Failed to get the interface name at the local host"
182 tst_resm TBROK "Failed to get the interface name at the remote host"
208 tst_resm TBROK "Failed to add any IP address at the local host"
213 tst_resm TBROK "Failed to add any IP address at the remote host"
236 tst_resm TBROK "Failed to add any IP address at the local host"
242 tst_resm TBROK "Failed to add any IP address at the remote host"
252 tst_resm TBROK "Unknown IP version"
260 tst_resm TBROK "Failed to make the delayed network"
[all …]
/external/ltp/testcases/network/stress/tcp/multi-sameport/
Dtcp4-multi-sameport01147 tst_resm TBROK "$message"
156 tst_resm TBROK "$message"
176 tst_resm TBROK "Failed to get the interface name at the local host"
182 tst_resm TBROK "Failed to get the interface name at the remote host"
207 tst_resm TBROK "Failed to add any IP address at the local host"
212 tst_resm TBROK "Failed to add any IP address at the remote host"
235 tst_resm TBROK "Failed to add any IP address at the local host"
241 tst_resm TBROK "Failed to add any IP address at the remote host"
251 tst_resm TBROK "Unknown IP version"
259 tst_resm TBROK "Failed to make the delayed network"
[all …]
/external/ltp/testcases/network/stress/udp/uni-basic/
Dudp4-uni-basic01127 tst_resm TBROK "$message"
147 tst_resm TBROK "Failed to get the interface name at the local host"
152 tst_resm TBROK "Failed to get the interface name at the remote host"
178 tst_resm TBROK "Failed to add any IP address at the local host"
183 tst_resm TBROK "Failed to add any IP address at the remote host"
206 tst_resm TBROK "Failed to add any IP address at the local host"
212 tst_resm TBROK "Failed to add any IP address at the remote host"
222 tst_resm TBROK "Unknown IP version"
234 tst_resm TBROK "Failed to configure SAD/SPD on the local host."
241 tst_resm TBROK "Failed to configure SAD/SPD on the remote host."
[all …]
/external/ltp/testcases/network/stress/udp/multi-diffport/
Dudp4-multi-diffport01131 tst_resm TBROK "$message"
151 tst_resm TBROK "Failed to get the interface name at the local host"
157 tst_resm TBROK "Failed to get the interface name at the remote host"
184 tst_resm TBROK "Failed to add any IP address at the local host"
189 tst_resm TBROK "Failed to add any IP address at the remote host"
212 tst_resm TBROK "Failed to add any IP address at the local host"
218 tst_resm TBROK "Failed to add any IP address at the remote host"
228 tst_resm TBROK "Unknown IP version"
240 tst_resm TBROK "Failed to configure SAD/SPD on the local host."
247 tst_resm TBROK "Failed to configure SAD/SPD on the remote host."
[all …]

12345678910>>...37