Home
last modified time | relevance | path

Searched refs:tst_exit (Results 1 – 25 of 1107) sorted by relevance

12345678910>>...45

/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 …]
Dtest_1_to_1_shutdown.c111 tst_brkm(TBROK, tst_exit, "shutdown with a bad socket " in main()
120 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
128 tst_brkm(TBROK, tst_exit, "shutdown with an invalid socket " in main()
140 tst_brkm(TBROK, tst_exit, "shutdown with SHUT_WR flag " in main()
148 tst_brkm(TBROK, tst_exit, "recv on a SHUTDOWN received socket " in main()
159 tst_brkm(TBROK, tst_exit, "recv on a SHUT_WR socket with no " in main()
171 tst_brkm(TBROK, tst_exit, "recv on a SHUT_RD socket " in main()
177 tst_brkm(TBROK, tst_exit, "send on a SHUT_RD socket " in main()
189 tst_brkm(TBROK, tst_exit, "recv on a SHUT_RD socket " in main()
200 tst_brkm(TBROK, tst_exit, "recv on a SHUTDOWN received socket " in main()
[all …]
Dtest_1_to_1_addrs.c174 tst_brkm(TBROK, tst_exit, "sctp_getladdrs with a bad socket " in main()
184 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
192 tst_brkm(TBROK, tst_exit, "sctp_getladdrs with invalid socket " in main()
202 tst_brkm(TBROK, tst_exit, "sctp_getladdrs with socket of " in main()
211 tst_brkm(TBROK, tst_exit, "sctp_getladdrs with valid socket " in main()
218 tst_brkm(TBROK, tst_exit, "sctp_getladdrs comparision failed"); in main()
224 tst_brkm(TBROK, tst_exit, "sctp_freeladdrs " in main()
232 tst_brkm(TBROK, tst_exit, "sctp_getpaddrs with a bad socket " in main()
242 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
250 tst_brkm(TBROK, tst_exit, "sctp_getpaddrs with invalid socket " in main()
[all …]
Dtest_tcp_style.c137 tst_brkm(TBROK, tst_exit, "accept on non-listening socket " in main()
146 tst_brkm(TBROK, tst_exit, "connect to non-listening socket " in main()
162 tst_brkm(TBROK, tst_exit, "connect after max backlog " in main()
174 tst_brkm(TBROK, tst_exit, "Unexpected return value " in main()
188 tst_brkm(TBROK, tst_exit, "connect on an established socket " in main()
196 tst_brkm(TBROK, tst_exit, "accept on an established socket " in main()
201 tst_brkm(TBROK, tst_exit, "accept on an established socket " in main()
229 tst_brkm(TBROK, tst_exit, "send on a listening socket " in main()
237 tst_brkm(TBROK, tst_exit, "recv on a listening socket " in main()
257 tst_brkm(TBROK, tst_exit, "recv on a SHUTDOWN received socket " in main()
[all …]
Dtest_1_to_1_connect.c119 tst_brkm(TBROK, tst_exit, "connect with bad socket " in main()
128 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
136 tst_brkm(TBROK, tst_exit, "connect with invalid socket " in main()
144 tst_brkm(TBROK, tst_exit, "connect with invalid address " in main()
152 tst_brkm(TBROK, tst_exit, "connect with invalid address length " in main()
161 tst_brkm(TBROK, tst_exit, "connect with invalid address family " in main()
175 tst_brkm(TBROK, tst_exit, "valid blocking connect " in main()
186 tst_brkm(TBROK, tst_exit, "connect when accept queue is full " in main()
199 tst_brkm(TBROK, tst_exit, "connect on a listening socket " in main()
208 tst_brkm(TBROK, tst_exit, "connect on an established socket " in main()
[all …]
Dtest_sockopt.c172 tst_brkm(TBROK, tst_exit, "getsockopt(SCTP_STATUS) on a " in main()
249 tst_brkm(TBROK, tst_exit, "getsockopt(SCTP_STATUS) with " in main()
261 tst_brkm(TBROK, tst_exit, "getsockopt(SCTP_STATUS) with " in main()
336 tst_brkm(TBROK, tst_exit, "Receive unexpected ancillary" in main()
422 tst_brkm(TBROK, tst_exit, in main()
430 tst_brkm(TBROK, tst_exit, in main()
434 tst_brkm(TBROK, tst_exit, "sctp_opt_info(SCTP_STAUS)" in main()
503 tst_brkm(TBROK, tst_exit, "setsockopt(SCTP_PEER_ADDR_PARAMS) " in main()
511 tst_brkm(TBROK, tst_exit, "getsockopt(SCTP_DELAYED_ACK_TIME) " in main()
522 tst_brkm(TBROK, tst_exit, "setsockopt(SCTP_DELAYED_ACK_TIME) " in main()
[all …]
Dtest_1_to_1_connectx.c118 tst_brkm(TBROK, tst_exit, "sctp_connectx with bad socket " in main()
126 tst_brkm(TBROK, tst_exit, "sctp_connectx with invalid socket " in main()
136 tst_brkm(TBROK, tst_exit, "sctp_connectx with invalid address " in main()
144 tst_brkm(TBROK, tst_exit, "sctp_connectx with invalid address length " in main()
153 tst_brkm(TBROK, tst_exit, "sctp_connectx with invalid address family " in main()
167 tst_brkm(TBROK, tst_exit, "valid blocking sctp_connectx " in main()
178 tst_brkm(TBROK, tst_exit, "sctp_connectx when accept queue is full " in main()
191 tst_brkm(TBROK, tst_exit, "sctp_connectx on a listening socket " in main()
200 tst_brkm(TBROK, tst_exit, "sctp_connectx on an established socket " in main()
215 tst_brkm(TBROK, tst_exit, "Re-establish an association that " in main()
Dtest_1_to_1_sendmsg.c150 tst_brkm(TBROK, tst_exit, "sendmsg with a bad socket " in main()
159 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
167 tst_brkm(TBROK, tst_exit, "sendmsg with invalid socket " in main()
175 tst_brkm(TBROK, tst_exit, "sendmsg on a listening socket " in main()
184 tst_brkm(TBROK, tst_exit, "sendmsg with invalid iovec " in main()
195 tst_brkm(TBROK, tst_exit, "sendmsg with invalid iovec " in main()
205 tst_brkm(TBROK, tst_exit, "sendmsg with invalid msghdr " in main()
214 tst_brkm(TBROK, tst_exit, "sendmsg with invalid sinfo " in main()
223 tst_brkm(TBROK, tst_exit, "sendmsg with SCTP_EOF flag " in main()
232 tst_brkm(TBROK, tst_exit, "sendmsg with SCTP_ABORT flag " in main()
[all …]
Dtest_1_to_1_accept_close.c133 tst_brkm(TBROK, tst_exit, "accept with a bad socket descriptor" in main()
142 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
150 tst_brkm(TBROK, tst_exit, "accept with invalid socket" in main()
158 tst_brkm(TBROK, tst_exit, "accept with invalid address" in main()
168 tst_brkm(TBROK, tst_exit, "accept on a non-listening socket" in main()
181 tst_brkm(TBROK, tst_exit, "accept on an established socket" in main()
196 tst_brkm(TBROK, tst_exit, "accept a closed association" in main()
218 tst_brkm(TBROK, tst_exit, "close with a bad socket descriptor " in main()
226 tst_brkm(TBROK, tst_exit, "close with a valid socket descriptor" in main()
234 tst_brkm(TBROK, tst_exit, "close with a closed socket " in main()
Dtest_1_to_1_recvmsg.c127 tst_brkm(TBROK, tst_exit, "recvmsg with a bad socket " in main()
136 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
144 tst_brkm(TBROK, tst_exit, "recvmsg with invalid socket " in main()
153 tst_brkm(TBROK, tst_exit, "recvmsg with invalid iovec " in main()
163 tst_brkm(TBROK, tst_exit, "recvmsg with invalid msghdr " in main()
171 tst_brkm(TBROK, tst_exit, "recvmsg on listening socket " in main()
184 tst_brkm(TBROK, tst_exit, "recvmsg on a socket that has " in main()
194 tst_brkm(TBROK, tst_exit, "recvmsg on a socket with pending " in main()
205 tst_brkm(TBROK, tst_exit, "recvmsg on a socket with no " in main()
Dtest_1_to_1_recvfrom.c121 tst_brkm(TBROK, tst_exit, "recvfrom with a bad socket " in main()
130 tst_brkm(TBROK, tst_exit, "Failed to mkstemp %s: %s", in main()
139 tst_brkm(TBROK, tst_exit, "recvfrom with invalid socket " in main()
148 tst_brkm(TBROK, tst_exit, "recvfrom with invalid message " in main()
157 tst_brkm(TBROK, tst_exit, "recvfrom on listening socket " in main()
170 tst_brkm(TBROK, tst_exit, "recvfrom on a socket that has " in main()
181 tst_brkm(TBROK, tst_exit, "recvfrom on a socket with pending " in main()
193 tst_brkm(TBROK, tst_exit, "recvfrom on a socket with no " in main()
Dtest_1_to_1_nonblock.c114 tst_brkm(TBROK, tst_exit, "fcnt F_GETFL failed " in main()
119 tst_brkm(TBROK, tst_exit, "fcnt F_SETFL failed " in main()
125 tst_brkm(TBROK, tst_exit, "non-blocking accept " in main()
134 tst_brkm(TBROK, tst_exit, "fcnt F_GETFL failed " in main()
139 tst_brkm(TBROK, tst_exit, "fcnt F_SETFL failed " in main()
144 tst_brkm(TBROK, tst_exit, "non-blocking connect " in main()
152 tst_brkm(TBROK, tst_exit, "accept after a non-blocking connect " in main()
192 tst_brkm(TBROK, tst_exit, "non-blocking recvmsg " in main()
Dtest_1_to_1_send.c117 tst_brkm(TBROK, tst_exit, "send 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, "send with invalid socket " in main()
142 tst_brkm(TBROK, tst_exit, "send on a listening socket " in main()
151 tst_brkm(TBROK, tst_exit, "send with invalid message " in main()
168 tst_brkm(TBROK, tst_exit, "send on a closed association " in main()
205 tst_brkm(TBROK, tst_exit, "send from client to server " in main()
217 tst_brkm(TBROK, tst_exit, "send from accept socket to client " in main()
Dtest_1_to_1_rtoinfo.c76 tst_brkm(TBROK, tst_exit, "getsockopt SCTP_RTOINFO " in main()
90 tst_brkm(TBROK, tst_exit, "setsockopt SCTP_RTOINFO " in main()
98 tst_brkm(TBROK, tst_exit, "getsockopt SCTP_RTOINFO " in main()
105 tst_brkm(TBROK, tst_exit, "setsockopt/getsockopt SCTP_RTOINFO " in main()
/external/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_readv02.c94 tst_exit(); in main()
102 foo = SAFE_MALLOC(tst_exit, len + 1); in child_alloc()
108 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_alloc()
110 SAFE_WRITE(tst_exit, 1, pipe_fd[1], buf, strlen(buf) + 1); in child_alloc()
111 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_alloc()
124 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_invoke()
125 SAFE_READ(tst_exit, 0, pipe_fd[0], buf, BUFSIZ); in child_invoke()
126 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_invoke()
128 tst_brkm(TBROK | TERRNO, tst_exit, "sscanf"); in child_invoke()
130 lp = SAFE_MALLOC(tst_exit, len + 1); in child_invoke()
[all …]
Dprocess_vm_readv03.c115 tst_exit(); in main()
139 foo = SAFE_MALLOC(tst_exit, nr_iovecs * sizeof(char *)); in child_alloc()
143 foo[i] = SAFE_MALLOC(tst_exit, bufsz_arr[i]); in child_alloc()
153 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_alloc()
155 SAFE_WRITE(tst_exit, 1, pipe_fd[1], buf, strlen(buf) + 1); in child_alloc()
156 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_alloc()
170 SAFE_CLOSE(tst_exit, pipe_fd[1]); in fetch_remote_addrs()
171 SAFE_READ(tst_exit, 0, pipe_fd[0], buf, BUFSIZ); in fetch_remote_addrs()
172 SAFE_CLOSE(tst_exit, pipe_fd[0]); in fetch_remote_addrs()
174 tst_brkm(TBROK | TERRNO, tst_exit, "sscanf"); in fetch_remote_addrs()
[all …]
Dprocess_vm_writev02.c107 tst_exit(); in main()
116 foo = SAFE_MALLOC(tst_exit, bufsz); in child_init_and_verify()
122 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_init_and_verify()
124 SAFE_WRITE(tst_exit, 1, pipe_fd[1], buf, strlen(buf) + 1); in child_init_and_verify()
125 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_init_and_verify()
141 tst_brkm(TFAIL, tst_exit, "child 0: got %ld incorrect bytes.", in child_init_and_verify()
155 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_write()
156 SAFE_READ(tst_exit, 0, pipe_fd[0], buf, bufsz); in child_write()
157 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_write()
159 tst_brkm(TBROK | TERRNO, tst_exit, "sscanf"); in child_write()
[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 …]
Dsctputil.c188 tst_brkm(TBROK, tst_exit, in test_check_buf_notification()
195 tst_brkm(TBROK, tst_exit, in test_check_buf_notification()
201 tst_brkm(TBROK, tst_exit, in test_check_buf_notification()
208 tst_brkm(TBROK, tst_exit, in test_check_buf_notification()
240 tst_brkm(TBROK, tst_exit, in test_check_buf_data()
247 tst_brkm(TBROK, tst_exit, in test_check_buf_data()
252 tst_brkm(TBROK, tst_exit, in test_check_buf_data()
260 tst_brkm(TBROK, tst_exit, in test_check_buf_data()
265 tst_brkm(TBROK, tst_exit, in test_check_buf_data()
269 tst_brkm(TBROK, tst_exit, in test_check_buf_data()
[all …]
/external/ltp/testcases/kernel/mem/shmt/
Dshmt09.c109 tst_exit(); in main()
120 tst_exit(); in main()
129 tst_exit(); in main()
140 tst_exit(); in main()
158 tst_exit(); in main()
169 tst_exit(); in main()
177 tst_exit(); in main()
186 tst_exit(); in main()
/external/ltp/testcases/network/tcp_cmds/sendfile/
Dtestsf_s.c79 tst_exit(); in main()
86 tst_exit(); in main()
100 tst_exit(); in main()
109 tst_exit(); in main()
124 tst_exit(); in main()
148 tst_exit(); in main()
160 tst_exit(); in main()
176 tst_exit(); in main()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsemtest_2ns.c115 tst_exit(); in check_sem1()
153 tst_exit(); in check_sem2()
174 tst_exit(); in main()
180 tst_exit(); in main()
184 tst_exit(); in main()
229 tst_exit(); in main()
/external/ltp/testcases/kernel/syscalls/newuname/
Dnewuname01.c77 tst_exit(); in cleanup()
144 tst_exit(); in main()
153 tst_exit(); in main()
160 tst_exit(); in main()

12345678910>>...45