Home
last modified time | relevance | path

Searched refs:TPASS (Results 1 – 25 of 1658) sorted by relevance

12345678910>>...67

/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c37 tst_res(TPASS, "msgctl(IPC_STAT)"); in verify_msgctl()
40 tst_res(TPASS, "msg_stime = 0"); in verify_msgctl()
45 tst_res(TPASS, "msg_rtime = 0"); in verify_msgctl()
50 tst_res(TPASS, "msg_ctime = %lu, expected %lu", in verify_msgctl()
58 tst_res(TPASS, "msg_qnum = 0"); in verify_msgctl()
63 tst_res(TPASS, "msg_qbytes = %li", (long)buf.msg_qbytes); in verify_msgctl()
68 tst_res(TPASS, "msg_lspid = 0"); in verify_msgctl()
73 tst_res(TPASS, "msg_lrpid = 0"); in verify_msgctl()
78 tst_res(TPASS, "msg_perm.__key == %u", (unsigned)msgkey); in verify_msgctl()
85 tst_res(TPASS, "msg_perm.uid = %u", (unsigned)uid); in verify_msgctl()
[all …]
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sockopt.c120 tst_resm(TPASS, "setsockopt() with a bad socket descriptor - EBADF"); in main()
137 tst_resm(TPASS, "setsockopt() with an invalid socket - ENOTSOCK"); in main()
145 tst_resm(TPASS, "setsockopt() with an invalid level - ENOPROTOOPT"); in main()
154 tst_resm(TPASS, "setsockopt() with invalid option buffer - EFAULT"); in main()
162 tst_resm(TPASS, "setsockopt() with invalid option name - EOPNOTSUPP"); in main()
170 tst_resm(TPASS, "getsockopt() with a bad socket descriptor - EBADF"); in main()
187 tst_resm(TPASS, "getsockopt() with an invalid socket - ENOTSOCK"); in main()
199 tst_resm(TPASS, "getsockopt() with an invalid level - ENOPROTOOPT"); in main()
210 tst_resm(TPASS, "getsockopt() with invalid option buffer - EFAULT"); in main()
218 tst_resm(TPASS, "getsockopt() with invalid option name - EOPNOTSUPP"); in main()
[all …]
Dtest_1_to_1_socket_bind_listen.c107 tst_resm(TPASS, "socket() with invalid domain - EAFNOSUPPORT"); in main()
115 tst_resm(TPASS, "socket() with invalid type - EINVAL"); in main()
123 tst_resm(TPASS, "socket() - SUCCESS"); in main()
131 tst_resm(TPASS, "bind() with invalid address ptr - EFAULT"); in main()
143 tst_resm(TPASS, "bind() with invalid address length - EINVAL"); in main()
160 tst_resm(TPASS, "bind() with invalid socket descriptor - ENOTSOCK"); in main()
170 tst_resm(TPASS, "bind() with invalid local address - EADDRNOTAVAIL"); in main()
183 tst_resm(TPASS, "bind() on an already bound socket - EINVAL"); in main()
202 tst_resm(TPASS, "bind() on reserved port - EACCESS"); in main()
214 tst_resm(TPASS, "bind() with INADDR_ANY address and non-zero port - " in main()
[all …]
Dtest_tcp_style.c140 tst_resm(TPASS, "accept on non-listening socket"); in main()
149 tst_resm(TPASS, "connect to non-listening socket"); in main()
155 tst_resm(TPASS, "connect to listening socket"); in main()
165 tst_resm(TPASS, "connect after max backlog"); in main()
183 tst_resm(TPASS, "accept from listening socket"); in main()
191 tst_resm(TPASS, "connect on an established socket"); in main()
204 tst_resm(TPASS, "accept on an established socket"); in main()
214 tst_resm(TPASS, "client sockets -> accepted sockets"); in main()
224 tst_resm(TPASS, "accepted sockets -> client sockets"); in main()
232 tst_resm(TPASS, "send on a listening socket"); in main()
[all …]
Dtest_sockopt.c176 tst_resm(TPASS, "getsockopt(SCTP_STATUS) on a socket with no assoc"); in main()
240 tst_resm(TPASS, "getsockopt(SCTP_STATUS)"); in main()
252 tst_resm(TPASS, "getsockopt(SCTP_STATUS) with invalid associd"); in main()
264 tst_resm(TPASS, "getsockopt(SCTP_STATUS) with NULL associd"); in main()
305 tst_resm(TPASS, "getsockopt(SCTP_EVENTS)"); in main()
314 tst_resm(TPASS, "setsockopt(SCTP_EVENTS)"); in main()
356 tst_resm(TPASS, "setsockopt(SCTP_EVENTS) - SCTP_SHUTDOWN_EVENT"); in main()
437 tst_resm(TPASS, "sctp_opt_info(SCTP_STATUS)"); in main()
458 tst_resm(TPASS, "getsockopt(SCTP_INITMSG)"); in main()
467 tst_resm(TPASS, "setsockopt(SCTP_INITMSG)"); in main()
[all …]
Dtest_getname.c101 tst_resm(TPASS, "getsockname on an unconnected socket"); in main()
111 tst_resm(TPASS, "getpeername on an unconnected socket"); in main()
135 tst_resm(TPASS, "getsockname on a connected client socket"); in main()
145 tst_resm(TPASS, "getpeername on a connected client socket"); in main()
160 tst_resm(TPASS, "getsockname on a connected server socket"); in main()
171 tst_resm(TPASS, "getpeername on a connected server socket"); in main()
200 tst_resm(TPASS, "getsockname/getpeername server/client match"); in main()
210 tst_resm(TPASS, "getsockname on a bad socket descriptor - EBADF"); in main()
227 tst_resm(TPASS, "getsockname on an invalid socket - ENOTSOCK"); in main()
235 tst_resm(TPASS, "getsockname with invalid buffer - EFAULT"); in main()
[all …]
Dtest_1_to_1_connectx.c121 tst_resm(TPASS, "sctp_connectx() with bad socket descriptor - EBADF"); in main()
129 tst_resm(TPASS, "sctp_connectx() with invalid socket - ENOTSOCK"); in main()
139 tst_resm(TPASS, "sctp_connectx() with invalid address - EINVAL"); in main()
147 tst_resm(TPASS, "sctp_connectx() with invalid address length - EINVAL"); in main()
156 tst_resm(TPASS, "sctp_connectx() with invalid address family - EINVAL"); in main()
171 tst_resm(TPASS, "valid blocking sctp_connectx() - SUCCESS"); in main()
181 tst_resm(TPASS, "sctp_connectx() when accept queue is full - ECONNREFUSED"); in main()
194 tst_resm(TPASS, "sctp_connectx() on a listening socket - EISCONN"); in main()
203 tst_resm(TPASS, "sctp_connectx() on an established socket - EISCONN"); in main()
218 tst_resm(TPASS, "sctp_connectx() to re-establish a closed association - " in main()
Dtest_1_to_1_connect.c122 tst_resm(TPASS, "connect() with bad socket descriptor - EBADF"); in main()
139 tst_resm(TPASS, "connect() with invalid socket - ENOTSOCK"); in main()
147 tst_resm(TPASS, "connect() with invalid address - EFAULT"); in main()
155 tst_resm(TPASS, "connect() with invalid address length - EINVAL"); in main()
164 tst_resm(TPASS, "connect() with invalid address family - EINVAL"); in main()
179 tst_resm(TPASS, "valid blocking connect() - SUCCESS"); in main()
189 tst_resm(TPASS, "connect() when accept queue is full - ECONNREFUSED"); in main()
202 tst_resm(TPASS, "connect() on a listening socket - EISCONN"); in main()
211 tst_resm(TPASS, "connect() on an established socket - EISCONN"); in main()
226 tst_resm(TPASS, "connect() to re-establish a closed association - " in main()
Dtest_1_to_1_accept_close.c136 tst_resm(TPASS, "accept() with a bad socket descriptor - EBADF"); in main()
153 tst_resm(TPASS, "accept() with invalid socket - ENOTSOCK"); in main()
161 tst_resm(TPASS, "accept() with invalid address - EFAULT"); in main()
171 tst_resm(TPASS, "accept() on a non-listening socket - EINVAL"); in main()
185 tst_resm(TPASS, "accept() on an established socket - %s", in main()
199 tst_resm(TPASS, "accept() a closed association - SUCCESS"); in main()
212 tst_resm(TPASS, "accept() on a listening socket - SUCCESS"); in main()
221 tst_resm(TPASS, "close() with a bad socket descriptor - EBADF"); in main()
229 tst_resm(TPASS, "close() with a valid socket descriptor - SUCCESS"); in main()
237 tst_resm(TPASS, "close() with a closed socket descriptor - EBADF"); in main()
Dtest_1_to_1_sendmsg.c153 tst_resm(TPASS, "sendmsg() with a bad socket descriptor - EBADF"); in main()
170 tst_resm(TPASS, "sendmsg() with invalid socket - ENOTSOCK"); in main()
178 tst_resm(TPASS, "sendmsg() on a listening socket - EPIPE"); in main()
187 tst_resm(TPASS, "sendmsg() with invalid iovec ptr - EFAULT"); in main()
198 tst_resm(TPASS, "sendmsg() with invalid iovec length - EINVAL"); in main()
208 tst_resm(TPASS, "sendmsg() with invalid msghdr ptr - EFAULT"); in main()
217 tst_resm(TPASS, "sendmsg() with invalid sinfo flags - EINVAL"); in main()
226 tst_resm(TPASS, "sendmsg() with SCTP_EOF flag - EINVAL"); in main()
235 tst_resm(TPASS, "sendmsg() with SCTP_ABORT flag - EINVAL"); in main()
252 tst_resm(TPASS, "sendmsg() on a closed association - EPIPE"); in main()
[all …]
Dtest_1_to_1_send.c120 tst_resm(TPASS, "send() with a bad socket descriptor - EBADF"); in main()
137 tst_resm(TPASS, "send() with invalid socket - ENOTSOCK"); in main()
145 tst_resm(TPASS, "send() on a listening socket - EPIPE"); in main()
154 tst_resm(TPASS, "send() with invalid message ptr - EFAULT"); in main()
171 tst_resm(TPASS, "send() on a closed association - EPIPE"); in main()
208 tst_resm(TPASS, "send() from client to server - SUCCESS"); in main()
220 tst_resm(TPASS, "send() from accept socket to client - SUCCESS"); in main()
229 tst_resm(TPASS, "send() partial data from a buffer - SUCCESS"); in main()
234 tst_resm(TPASS, "sctp_send() with no sinfo - SUCCESS"); in main()
/external/ltp/testcases/kernel/syscalls/times/
Dtimes03.c89 tst_res(TPASS, "buf1.tms_utime <= 5"); in verify_times()
94 tst_res(TPASS, "buf1.tms_stime <= 5"); in verify_times()
105 tst_res(TPASS, "buf2.tms_utime = %li", buf2.tms_utime); in verify_times()
111 tst_res(TPASS, "buf1.tms_utime (%li) < buf2.tms_utime (%li)", in verify_times()
118 tst_res(TPASS, "buf2.tms_stime = %li", buf2.tms_stime); in verify_times()
124 tst_res(TPASS, "buf1.tms_stime (%li) < buf2.tms_stime (%li)", in verify_times()
131 tst_res(TPASS, "buf2.tms_cutime = 0"); in verify_times()
136 tst_res(TPASS, "buf2.tms_cstime = 0"); in verify_times()
155 tst_res(TPASS, "buf2.tms_utime (%li) <= buf3.tms_utime (%li)", in verify_times()
163 tst_res(TPASS, "buf2.tms_stime (%li) <= buf3.tms_stime (%li)", in verify_times()
[all …]
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx04.c44 tst_res(TPASS, in test_flagged()
51 tst_res(TPASS, "STATX_ATTR_COMPRESSED flag is set"); in test_flagged()
56 tst_res(TPASS, "STATX_ATTR_APPEND flag is set"); in test_flagged()
61 tst_res(TPASS, "STATX_ATTR_IMMUTABLE flag is set"); in test_flagged()
66 tst_res(TPASS, "STATX_ATTR_NODUMP flag is set"); in test_flagged()
77 tst_res(TPASS, in test_unflagged()
86 tst_res(TPASS, "STATX_ATTR_COMPRESSED flag is not set"); in test_unflagged()
91 tst_res(TPASS, "STATX_ATTR_APPEND flag is not set"); in test_unflagged()
96 tst_res(TPASS, "STATX_ATTR_IMMUTABLE flag is not set"); in test_unflagged()
101 tst_res(TPASS, "STATX_ATTR_NODUMP flag is not set"); in test_unflagged()
Dstatx01.c62 tst_res(TPASS, in test_normal_file()
69 tst_res(TPASS, "stx_uid(%u) is correct", buff.stx_uid); in test_normal_file()
75 tst_res(TPASS, "stx_gid(%u) is correct", buff.stx_gid); in test_normal_file()
81 tst_res(TPASS, in test_normal_file()
89 tst_res(TPASS, "stx_mode(%u) is correct", buff.stx_mode); in test_normal_file()
96 tst_res(TPASS, "stx_blocks(%"PRIu64") is valid", in test_normal_file()
110 tst_res(TPASS, in test_device_file()
117 tst_res(TPASS, "stx_rdev_major(%u) is correct", in test_device_file()
125 tst_res(TPASS, "stx_rdev_minor(%u) is correct", in test_device_file()
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh119 tst_res TPASS "fork didn't fail"
140 tst_res TPASS "fork failed as expected"
164 tst_res TPASS "fork worked as expected"
179 tst_res TPASS "all process were attached"
192 tst_res TPASS "didn't manage to set the limit to -1"
208 tst_res TPASS "fork failed as expected"
239 tst_res TPASS "parent cgroup fork failed as expected"
251 tst_res TPASS "child$i cgroup fork failed as expected"
282 tst_res TPASS "fork failed as expected"
308 tst_res TPASS "migrate pid $pid from cgroup1 to cgroup2 as expected"
[all …]
/external/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_function.sh59 tst_resm TPASS "Task attached succesfully"
78 tst_resm TPASS "Successfully moved $start_path/ltp_2 to $start_path/ltp_3"
91 tst_resm TPASS "Failed to move $start_path/ltp_2 over existing $start_path/ltp_1"
110 tst_resm TPASS "Group $start_path/ltp_1 with task $pid cannot be removed"
123 tst_resm TPASS "Dir $start_path/ltp_1 with subdir 'a' cannot be removed"
138 tst_resm TPASS "Subgroup $start_path/ltp_1 cannot be moved to $PWD/ltp"
149 tst_resm TPASS "Tasks file $start_path/ltp_1/tasks cannot be removed"
165 tst_resm TPASS "Cannot write invalid values to $start_path/ltp_1/notify_on_release"
187 tst_resm TPASS "Set $start_path/ltp_1/notify_on_release to $value"
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
Dltp_tpci.c60 #define TPASS 0 macro
143 return TPASS; in pci_enable()
169 return TPASS; in pci_disable()
202 return TPASS; in test_find_bus()
227 return TPASS; in test_find_class()
253 return TPASS; in test_find_device()
281 return TPASS; in test_find_subsys()
309 return TPASS; in test_scan_bus()
332 return TPASS; in test_slot_scan()
356 return TPASS; in test_bus_add_devices()
[all …]
/external/ltp/testcases/commands/ar/
Dar01.sh34 tst_res TPASS "ar added new file after another (-a)"
53 tst_res TPASS "ar moved file correctly (-ma)"
71 tst_res TPASS "ar added new file before another (-b)"
90 tst_res TPASS "ar moved file correctly (-mb)"
107 tst_res TPASS "ar haven't produced output (-c)"
121 tst_res TPASS "ar haven't produced output (-qc)"
137 tst_res TPASS "ar deleted files correctly (-d)"
156 tst_res TPASS "ar deleted nothing (-d with empty list)"
174 tst_res TPASS "ar added new file before another (-i)"
193 tst_res TPASS "ar moved file correctly (-mi)"
[all …]
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c44 tst_res_(filename, lineno, TPASS, in check_fallocate()
65 tst_res_(filename, lineno, TPASS | TERRNO, in check_fallocate_fail()
77 tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd, in check_ftruncate()
92 tst_res_(filename, lineno, TPASS | TERRNO, in check_ftruncate_fail()
147 tst_res_(filename, lineno, TPASS, "memfd_create(%s, %d) succeeded", in check_mfd_new()
168 tst_res_(filename, lineno, TPASS | TERRNO, in check_mfd_fail_new()
179 tst_res_(file, lineno, TPASS, in check_mmap()
198 tst_res_(file, lineno, TPASS | TERRNO, in check_mmap_fail()
207 tst_res_(file, lineno, TPASS, "munmap(%p, %zu) succeeded", p, length); in check_munmap()
219 tst_res_(file, lineno, TPASS, in check_mfd_has_seals()
[all …]
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl07.c48 tst_res(TPASS, in check_proc_capamb()
58 tst_res(flag ? TPASS : TFAIL, in check_proc_capamb()
62 tst_res(flag ? TFAIL : TPASS, in check_proc_capamb()
74 tst_res(TPASS, "PR_CAP_AMBIENT_RAISE %s succeeded", message); in check_cap_raise()
85 tst_res(TPASS, in check_cap_raise()
98 tst_res(val ? TPASS : TFAIL, in check_cap_is_set()
101 tst_res(val ? TFAIL : TPASS, in check_cap_is_set()
114 tst_res(TPASS, "PR_CAP_AMBIENT_LOWER %s succeeded", message); in check_cap_lower()
164 tst_res(TPASS, "PR_CAP_AMBIENT_CLEAR ALL succeeded"); in verify_prctl()
/external/ltp/testcases/commands/nm/
Dnm01.sh30 tst_res TPASS "Got correct listing"
39 tst_res TPASS "Got correct listing"
54 tst_res TPASS "Got only external symbols with -g"
66 tst_res TPASS "Got an octal symbol values with -f"
75 tst_res TPASS "Got SysV format with -f sysv"
94 tst_res TPASS "Got BSD format with -f bsd"
106 tst_res TPASS "Got undefined symbols with -u"
118 tst_res TPASS "Got index with -s"
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl13.c66 tst_resm(TPASS, "got EINVAL"); in main()
75 tst_resm(TPASS, "F_SETLK: got EFAULT"); in main()
84 tst_resm(TPASS, "F_SETLKW: got EFAULT"); in main()
93 tst_resm(TPASS, "F_GETLK: got EFAULT"); in main()
109 tst_resm(TPASS, "got EINVAL"); in main()
116 tst_resm(TPASS, "got EBADFD"); in main()
/external/ltp/testcases/kernel/device-drivers/zram/
Dzram_lib.sh44 tst_res TPASS "test succeeded"
73 tst_res TPASS "test succeeded"
99 tst_res TPASS "test succeeded"
117 tst_res TPASS "test succeeded"
143 tst_res TPASS "test succeeded"
159 tst_res TPASS "making zram swap succeeded"
172 tst_res TPASS "swapoff completed"
194 tst_res TPASS "zram_makefs succeeded"
208 tst_res TPASS "mount of zram device(s) succeeded"
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/
Dtpmtoken_import_tests.sh107 tst_resm TPASS "'tpmtoken_import -n $TCID $TPM_COMBFILE' passed."
125 tst_resm TPASS "'tpmtoken_import -n $TCID $TPM_COMBFILE' passed."
143 tst_resm TPASS "'tpmtoken_import -y -n $TCID $TPM_COMBFILE' passed."
161 tst_resm TPASS "'tpmtoken_import -p -n $TCID $TPM_COMBFILE' passed."
179 tst_resm TPASS "'tpmtoken_import -p -n $TCID $TPM_COMBFILE' passed."
197 tst_resm TPASS "'tpmtoken_import -y -p -n $TCID $TPM_COMBFILE' passed."
215 tst_resm TPASS "'tpmtoken_import -n $TCID $TPM_CERTFILE' passed."
233 tst_resm TPASS "'tpmtoken_import -n $TCID $TPM_KEYFILE' passed."
252 tst_resm TPASS "'tpmtoken_import -t key -n $TCID $TPM_CERTFILE' passed."
271 tst_resm TPASS "'tpmtoken_import -t cert -n $TCID $TPM_KEYFILE' passed."
/external/ltp/testcases/kernel/syscalls/mallopt/
Dmallopt01.c93 tst_resm(TPASS, "mallinfo() succeeded"); in main()
103 tst_resm(TPASS, "mallopt(M_MXFAST, %d) succeeded", (int)MAX_FAST_SIZE); in main()
108 tst_resm(TPASS, "mallopt(M_NLBLKS, 50) succeeded"); in main()
113 tst_resm(TPASS, "malloc(1024) succeeded"); in main()
120 tst_resm(TPASS, "mallopt(M_MXFAST, 0) succeeded"); in main()
125 tst_resm(TPASS, "malloc(1024) succeeded"); in main()

12345678910>>...67