Home
last modified time | relevance | path

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

12345678910>>...39

/external/ltp/testcases/kernel/pty/
Dptem01.c66 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test1()
70 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1()
74 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test1()
118 tst_brkm(TBROK, NULL, "close slave"); in test1()
122 tst_brkm(TBROK, NULL, "close master"); in test1()
145 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test2()
149 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test2()
153 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test2()
157 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test2()
199 tst_brkm(TBROK, NULL, "close"); in test2()
[all …]
Dpty01.c86 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test1()
90 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1()
94 tst_brkm(TBROK | TERRNO, NULL, "stat(%s) failed", slavename); in test1()
97 tst_brkm(TBROK, NULL, "uid mismatch"); in test1()
103 tst_brkm(TBROK, NULL, "mode mismatch (mode=%o)", st.st_mode); in test1()
109 tst_brkm(TBROK, NULL, "open didn't fail as expected!"); in test1()
113 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() failed"); in test1()
179 tst_brkm(TBROK | TERRNO, NULL, "close of slave"); in test1()
182 tst_brkm(TBROK | TERRNO, NULL, "close of master"); in test1()
204 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test2()
[all …]
/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh72 tst_brkm TBROK "don't obtain valid iproute version"
132 tst_brkm TBROK \
145 tst_brkm TBROK \
151 tst_brkm TBROK "fourth argument must be the IPv4 address for veth0"
154 tst_brkm TBROK "fifth argument must be the IPv4 address for veth1"
157 tst_brkm TBROK "sixth argument must be the IPv6 address for veth0"
160 tst_brkm TBROK "seventh argument must be the IPv6 address for veth1"
179 tst_brkm TBROK "second argument must be an ip version (ipv4|ipv6)"
198 tst_brkm TBROK "unable to create a new network namespace"
204 tst_brkm TBROK "unable to create a new network namespace"
[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 …]
Dpidns13.c84 tst_resm(TBROK, "cinit%d: pidns is not created.", cinit_no); in child_fn()
91 tst_resm(TBROK, "cinit1: close(pipe_fd[1]) failed"); in child_fn()
96 tst_resm(TBROK, "cinit1: fcntl(F_SETOWN) failed"); in child_fn()
100 tst_resm(TBROK, "cinit1: fcntl(F_SETSIG) failed"); in child_fn()
105 tst_resm(TBROK, "cinit1: fcntl(F_SETFL) failed"); in child_fn()
113 tst_resm(TBROK, "cinit1: sigaction() failed"); in child_fn()
128 tst_resm(TBROK, "cinit1: sigtimedwait() failed."); in child_fn()
146 tst_resm(TBROK, "cinit2: close(pipe_fd[0]) failed"); in child_fn()
155 tst_resm(TBROK, "cinit2: write() failed"); in child_fn()
185 tst_resm(TBROK, "parent: pipe creation failed"); in main()
[all …]
/external/ltp/lib/
Dsafe_macros.c28 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_basename()
44 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_chdir()
60 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_close()
76 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_creat()
91 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_dirname()
106 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_getcwd()
121 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_getpwnam()
137 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_getrusage()
152 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_malloc()
167 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_mkdir()
[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 …]
Dsafe_file_ops.c142 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_file_scanf()
155 tst_brkm(TBROK, cleanup_fn, in safe_file_scanf()
162 tst_brkm(TBROK, cleanup_fn, in safe_file_scanf()
169 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_file_scanf()
193 tst_brkm(TBROK, cleanup_fn, "pattern is NULL, %s:%d", in file_lines_scanf()
200 tst_brkm(TBROK | TERRNO, cleanup_fn, in file_lines_scanf()
219 tst_brkm(TBROK, cleanup_fn, "Expected %i conversions got %i" in file_lines_scanf()
281 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_file_printf()
290 tst_brkm(TBROK, cleanup_fn, in safe_file_printf()
299 tst_brkm(TBROK | TERRNO, cleanup_fn, in safe_file_printf()
[all …]
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sockopt.c117 tst_brkm(TBROK, tst_exit, "setsockopt with a bad socket " in main()
126 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
134 tst_brkm(TBROK, tst_exit, "setsockopt with an invalid socket " in main()
142 tst_brkm(TBROK, tst_exit, "setsockopt with invalid level " in main()
151 tst_brkm(TBROK, tst_exit, "setsockopt with invalid option " in main()
159 tst_brkm(TBROK, tst_exit, "setsockopt with invalid option " in main()
167 tst_brkm(TBROK, tst_exit, "getsockopt with a bad socket " in main()
176 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
184 tst_brkm(TBROK, tst_exit, "getsockopt with an invalid socket " in main()
196 tst_brkm(TBROK, tst_exit, "getsockopt with invalid level " in main()
[all …]
Dtest_getname.c99 tst_brkm(TBROK, tst_exit, "getsockname: %s", strerror(errno)); in main()
108 tst_brkm(TBROK, tst_exit, "getpeername on an unconnected " in main()
132 tst_brkm(TBROK, tst_exit, "getsockname on a connected client " in main()
142 tst_brkm(TBROK, tst_exit, "getpeername on a connected client " in main()
157 tst_brkm(TBROK, tst_exit, "getsockname on a connected server " in main()
168 tst_brkm(TBROK, tst_exit, "getpeername on a connected server " in main()
174 tst_brkm(TBROK, tst_exit, "Server's local port(%d) doesn't " in main()
179 tst_brkm(TBROK, tst_exit, "Server's peer port(%d) doesn't " in main()
184 tst_brkm(TBROK, tst_exit, "Server's local address and client's " in main()
188 tst_brkm(TBROK, tst_exit, "Server's peer address and client's " in main()
[all …]
Dtest_1_to_1_socket_bind_listen.c104 tst_brkm(TBROK, tst_exit, "socket() with invalid domain " in main()
112 tst_brkm(TBROK, tst_exit, "socket() with invalid type " in main()
120 tst_brkm(TBROK, tst_exit, "valid socket() call " in main()
128 tst_brkm(TBROK, tst_exit, "bind() with invalid address ptr " in main()
140 tst_brkm(TBROK, tst_exit, "bind() with invalid address length " in main()
149 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
157 tst_brkm(TBROK, tst_exit, "bind() with invalid socket " in main()
167 tst_brkm(TBROK, tst_exit, "bind() with invalid local " in main()
180 tst_brkm(TBROK, tst_exit, "bind() on an already bound socket " in main()
199 tst_brkm(TBROK, tst_exit, "bind() on reserverd port " in main()
[all …]
/external/ltp/testcases/lib/
Dtst_test.sh99 TBROK) TST_BROK=$((TST_BROK+1));;
103 *) tst_brk TBROK "Invalid res type '$1'";;
141 tst_brk TBROK "$@ failed"
149 tst_brk TBROK "$@ failed"
182 tst_brk TBROK "TST_RETRY_FN_EXP_BACKOFF expects 3 parameters"
186 tst_brk TBROK "TST_RETRY_FN_EXP_BACKOFF: tst_sec must be integer ('$tst_sec')"
199 tst_brk TBROK "\"$tst_fun\" timed out"
209 tst_brk TBROK "TST_RETRY_FUNC expects 2 parameters"
230 tst_brk TBROK "$@ failed: $output"
268 tst_brk TBROK "No fs_type specified"
[all …]
Dtest.sh37 TBROK) return 2;;
41 *) tst_brkm TBROK "Invalid resm type '$1'";;
70 TBROK) ;;
72 *) tst_brkm TBROK "Invalid tst_brkm type '$1'";;
84 tst_brkm TBROK "Requires child pid as parameter"
93 tst_brkm TBROK "Child process pid='$child_pid' does not exist"
231 tst_brkm TBROK "$@ failed"
271 tst_brkm TBROK "$@ failed"
304 tst_brkm TBROK "No fs_type specified"
308 tst_brkm TBROK "No device specified"
[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 | TERRNO, 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/utils/sctp/testlib/
Dsctputil.h137 tst_brkm(TBROK, tst_exit, "socket: %s", strerror(errno)); in test_socket()
145 tst_brkm(TBROK, tst_exit, "bind: %s", strerror(errno)); in test_bind()
153 tst_brkm(TBROK, tst_exit, "bindx (add): %s", strerror(errno)); in test_bindx_add()
161 tst_brkm(TBROK, tst_exit, "listen: %s", strerror(errno)); in test_listen()
169 tst_brkm(TBROK, tst_exit, "connect: %s", strerror(errno)); in test_connect()
177 tst_brkm(TBROK, tst_exit, "connectx: %s", strerror(errno)); in test_connectx()
185 tst_brkm(TBROK, tst_exit, "accept: %s", strerror(errno)); in test_accept()
193 tst_brkm(TBROK, tst_exit, "send: error:%d errno:%d", in test_send()
203 tst_brkm(TBROK, tst_exit, "sendto: error:%d errno:%d", in test_sendto()
213 tst_brkm(TBROK, tst_exit, "sendmsg: error:%d errno:%d", in test_sendmsg()
[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/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/kernel/syscalls/eventfd/
Deventfd01.c138 tst_resm(TBROK | TERRNO, "error reading eventfd"); in read_test()
159 tst_resm(TBROK, "error clearing counter"); in read_eagain_test()
185 tst_resm(TBROK, "error setting counter value to %" PRIu64, val); in write_test()
203 tst_resm(TBROK, "error setting counter value to UINT64_MAX-1"); in write_eagain_test()
268 tst_resm(TBROK, "error clearing counter"); in write_einval2_test()
301 tst_resm(TBROK, "error setting counter value to %" PRIu64, in readfd_set_test()
309 tst_resm(TBROK | TERRNO, "select() failed"); in readfd_set_test()
334 tst_resm(TBROK, "error clearing counter"); in readfd_not_set_test()
341 tst_resm(TBROK | TERRNO, "select() failed"); in readfd_not_set_test()
367 tst_resm(TBROK, "error setting counter value to %" PRIu64, in writefd_set_test()
[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/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/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 …]
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c85 tst_brkm(TBROK, cleanup, "cannot create first file"); in main()
87 tst_brkm(TBROK, cleanup, "filename0: write(2) failed"); in main()
90 tst_brkm(TBROK, cleanup, "Cannot create second file"); in main()
92 tst_brkm(TBROK, cleanup, "filename1: write(2) failed"); in main()
96 tst_brkm(TBROK, cleanup, "open(2) on filename0 failed"); in main()
100 tst_brkm(TBROK, cleanup, "open(2) on filename1 failed"); in main()
114 tst_brkm(TBROK, cleanup, "read(2) failed"); in main()
136 tst_brkm(TBROK, cleanup, "Cannot create first file"); in main()
139 tst_brkm(TBROK, cleanup, "setting close on exec flag " in main()
144 tst_brkm(TBROK, cleanup, "Cannot create second file"); in main()
[all …]

12345678910>>...39