/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_sockopt.c | 120 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 …]
|
D | test_1_to_1_socket_bind_listen.c | 107 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 …]
|
D | test_tcp_style.c | 140 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 …]
|
D | test_sockopt.c | 176 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 …]
|
D | test_getname.c | 101 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 …]
|
D | test_1_to_1_connect.c | 122 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()
|
D | test_1_to_1_connectx.c | 121 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()
|
D | test_1_to_1_accept_close.c | 136 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()
|
D | test_1_to_1_sendmsg.c | 153 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 …]
|
D | test_1_to_1_send.c | 120 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()
|
D | test_1_to_1_recvmsg.c | 130 tst_resm(TPASS, "recvmsg() with a bad socket descriptor - EBADF"); in main() 147 tst_resm(TPASS, "recvmsg() with invalid socket - ENOTSOCK"); in main() 156 tst_resm(TPASS, "recvmsg() with invalid iovec ptr - EFAULT"); in main() 166 tst_resm(TPASS, "recvmsg() with invalid msghdr ptr - EFAULT"); in main() 174 tst_resm(TPASS, "recvmsg() on listening socket - ENOTCONN"); in main() 187 tst_resm(TPASS, "recvmsg() on a socket that has received shutdown - " in main() 198 tst_resm(TPASS, "recvmsg() on a socket with pending message that has " in main() 209 tst_resm(TPASS, "recvmsg() on a socket with no pending messages and " in main()
|
D | test_basic.c | 127 tst_resm(TPASS, "socket"); in main() 133 tst_resm(TPASS, "bind"); in main() 158 tst_resm(TPASS, "recvmsg on a socket neither listening nor " in main() 164 tst_resm(TPASS, "listen"); in main() 189 tst_resm(TPASS, "sendmsg with a valid msg_name"); in main() 245 tst_resm(TPASS, "recvmsg COMM_UP notifications"); in main() 309 tst_resm(TPASS, "sendmsg with NULL associd and NULL msg_name"); in main() 318 tst_resm(TPASS, "sendmsg with incorrect associd"); in main() 331 tst_resm(TPASS, "sendmsg with valid associd"); in main() 344 tst_resm(TPASS, "recvmsg"); in main() [all …]
|
D | test_1_to_1_addrs.c | 177 tst_resm(TPASS, "sctp_getladdrs() with a bad socket descriptor - " in main() 195 tst_resm(TPASS, "sctp_getladdrs() with invalid socket - ENOTSOCK"); in main() 205 tst_resm(TPASS, "sctp_getladdrs() with socket of different protocol - " in main() 220 tst_resm(TPASS, "sctp_getladdrs() - SUCCESS"); in main() 227 tst_resm(TPASS, "sctp_freeladdrs() - SUCCESS"); in main() 235 tst_resm(TPASS, "sctp_getpaddrs() with a bad socket descriptor - " in main() 253 tst_resm(TPASS, "sctp_getpaddrs() with invalid socket - ENOTSOCK"); in main() 262 tst_resm(TPASS, "sctp_getpaddrs() with socket of different protocol - " in main() 277 tst_resm(TPASS, "sctp_getpaddrs() - SUCCESS"); in main() 284 tst_resm(TPASS, "sctp_freepaddrs() - SUCCESS"); in main()
|
/external/ltp/testcases/kernel/syscalls/times/ |
D | times03.c | 102 tst_res(TPASS, "buf1.tms_utime = 0"); in verify_times() 107 tst_res(TPASS, "buf1.tms_stime = 0"); in verify_times() 118 tst_res(TPASS, "buf2.tms_utime = %li", buf2.tms_utime); in verify_times() 124 tst_res(TPASS, "buf1.tms_utime (%li) < buf2.tms_utime (%li)", in verify_times() 131 tst_res(TPASS, "buf2.tms_stime = %li", buf2.tms_stime); in verify_times() 137 tst_res(TPASS, "buf1.tms_stime (%li) < buf2.tms_stime (%li)", in verify_times() 144 tst_res(TPASS, "buf2.tms_cutime = 0"); in verify_times() 149 tst_res(TPASS, "buf2.tms_cstime = 0"); in verify_times() 168 tst_res(TPASS, "buf2.tms_utime (%li) <= buf3.tms_utime (%li)", in verify_times() 176 tst_res(TPASS, "buf2.tms_stime (%li) <= buf3.tms_stime (%li)", in verify_times() [all …]
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
D | cgroup_fj_function.sh | 59 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/ |
D | ltp_tpci.c | 60 #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/ |
D | ar01 | 40 tst_res TPASS "ar added new file after another (-a)" 59 tst_res TPASS "ar moved file correctly (-ma)" 77 tst_res TPASS "ar added new file before another (-b)" 96 tst_res TPASS "ar moved file correctly (-mb)" 113 tst_res TPASS "ar haven't produced output (-c)" 127 tst_res TPASS "ar haven't produced output (-qc)" 143 tst_res TPASS "ar deleted files correctly (-d)" 162 tst_res TPASS "ar deleted nothing (-d with empty list)" 180 tst_res TPASS "ar added new file before another (-i)" 199 tst_res TPASS "ar moved file correctly (-mi)" [all …]
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 54 tst_res_(filename, lineno, TPASS, in check_fallocate() 75 tst_res_(filename, lineno, TPASS | TERRNO, in check_fallocate_fail() 87 tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd, in check_ftruncate() 102 tst_res_(filename, lineno, TPASS | TERRNO, in check_ftruncate_fail() 133 tst_res_(filename, lineno, TPASS, "memfd_create(%s, %d) succeeded", in check_mfd_new() 154 tst_res_(filename, lineno, TPASS | TERRNO, in check_mfd_fail_new() 165 tst_res_(file, lineno, TPASS, in check_mmap() 184 tst_res_(file, lineno, TPASS | TERRNO, in check_mmap_fail() 193 tst_res_(file, lineno, TPASS, "munmap(%p, %ld) succeeded", p, length); in check_munmap() 205 tst_res_(file, lineno, TPASS, in check_mfd_has_seals() [all …]
|
/external/ltp/testcases/commands/nm/ |
D | nm01 | 47 tst_res TPASS "Got correct listing" 56 tst_res TPASS "Got correct listing" 71 tst_res TPASS "Got only external symbols with -g" 83 tst_res TPASS "Got an octal symbol values with -f" 92 tst_res TPASS "Got SysV format with -f sysv" 108 tst_res TPASS "Got BSD format with -f bsd" 120 tst_res TPASS "Got undefined symbols with -u" 132 tst_res TPASS "Got index with -s"
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl13.c | 66 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/ |
D | zram_lib.sh | 57 tst_resm TPASS "test succeeded" 87 tst_resm TPASS "test succeeded" 112 tst_resm TPASS "test succeeded" 128 tst_resm TPASS "test succeeded" 152 tst_resm TPASS "test succeeded" 177 tst_resm TPASS "making zram swap succeeded" 193 tst_resm TPASS "swapoff completed" 213 tst_resm TPASS "zram_makefs succeeded" 227 tst_resm TPASS "mount of zram device(s) succeeded"
|
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/ |
D | tpmtoken_import_tests.sh | 107 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/ |
D | mallopt01.c | 93 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()
|
/external/ltp/testcases/network/lib6/ |
D | getaddrinfo_01.c | 113 tst_resm(TPASS, "getaddrinfo IPv4 basic lookup"); in gaiv4() 143 tst_resm(TPASS, "getaddrinfo IPv4 canonical name"); in gaiv4() 190 tst_resm(TPASS, "getaddrinfo IPv4 host+service"); in gaiv4() 238 tst_resm(TPASS, "getaddrinfo IPv4 host+service PASSIVE"); in gaiv4() 263 tst_resm(TPASS, "getaddrinfo IPv4 AI_NUMERICHOST w/ hostname"); in gaiv4() 305 tst_resm(TPASS, "getaddrinfo IPv4 0+service, PASSIVE"); in gaiv4() 309 tst_resm(TPASS, "getaddrinfo IPv4 0+service," in gaiv4() 359 tst_resm(TPASS, "getaddrinfo IPv4 0+service"); in gaiv4() 363 tst_resm(TPASS, "getaddrinfo IPv4 " in gaiv4() 396 tst_resm(TPASS, "getaddrinfo IPv4 host+service, AI_NUMERICSERV"); in gaiv4() [all …]
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl01.c | 243 tst_resm(TPASS, "buf.sem_nsems and buf.sem_perm.mode" in func_stat() 271 tst_resm(TPASS, "buf.sem_perm.mode is correct"); in func_set() 290 tst_resm(TPASS, "semaphores have expected values"); in func_gall() 367 tst_resm(TPASS, "number of sleeping processes is correct"); in func_cnt() 420 tst_resm(TPASS, "last pid value is correct"); in func_pid() 435 tst_resm(TPASS, "semaphore value is correct"); in func_gval() 475 tst_resm(TPASS, "semaphore values are correct"); in func_sall() 497 tst_resm(TPASS, "semaphore value is correct"); in func_sval() 515 tst_resm(TPASS, "semaphore appears to be removed"); in func_rmid() 524 tst_resm(TPASS, "the highest index is correct"); in func_iinfo() [all …]
|