/external/ltp/testcases/kernel/pty/ |
D | ptem01.c | 63 tst_brkm(TBROK, NULL, "%s", MASTERCLONE); in test1() 68 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test1() 72 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1() 76 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test1() 120 tst_brkm(TBROK, NULL, "close slave"); in test1() 124 tst_brkm(TBROK, NULL, "close master"); in test1() 145 tst_brkm(TBROK, NULL, "%s", MASTERCLONE); in test2() 150 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test2() 154 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test2() 158 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test2() [all …]
|
D | pty01.c | 83 tst_brkm(TBROK | TERRNO, NULL, MASTERCLONE); in test1() 88 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); in test1() 92 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); in test1() 96 tst_brkm(TBROK | TERRNO, NULL, "stat(%s) failed", slavename); in test1() 99 tst_brkm(TBROK, NULL, "uid mismatch"); in test1() 103 tst_brkm(TBROK, NULL, "mode mismatch (mode=%o)", st.st_mode); in test1() 108 tst_brkm(TBROK, NULL, "open didn't fail as expected!"); in test1() 112 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() failed"); in test1() 117 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test1() 181 tst_brkm(TBROK | TERRNO, NULL, "close of slave"); in test1() [all …]
|
/external/ltp/testcases/kernel/containers/netns/ |
D | netns_helper.sh | 72 tst_brkm TBROK "don't obtain valid iproute version" 130 tst_brkm TBROK \ 143 tst_brkm TBROK \ 149 tst_brkm TBROK "fourth argument must be the IPv4 address for veth0" 152 tst_brkm TBROK "fifth argument must be the IPv4 address for veth1" 155 tst_brkm TBROK "sixth argument must be the IPv6 address for veth0" 158 tst_brkm TBROK "seventh argument must be the IPv6 address for veth1" 172 tst_brkm TBROK "second argument must be an ip version (ipv4|ipv6)" 191 tst_brkm TBROK "unable to create a new network namespace" 197 tst_brkm TBROK "unable to create a new network namespace" [all …]
|
/external/ltp/testcases/kernel/containers/pidns/ |
D | pidns31.c | 160 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 …]
|
D | pidns13.c | 84 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() 186 tst_resm(TBROK, "parent: pipe creation failed"); in main() [all …]
|
/external/ltp/lib/ |
D | safe_macros.c | 28 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 …]
|
D | self_exec.c | 88 tst_brkm(TBROK, NULL, in maybe_run_child() 98 tst_brkm(TBROK, NULL, in maybe_run_child() 108 tst_brkm(TBROK, NULL, in maybe_run_child() 118 tst_brkm(TBROK, NULL, in maybe_run_child() 131 tst_brkm(TBROK, NULL, in maybe_run_child() 140 tst_brkm(TBROK, NULL, in maybe_run_child() 146 tst_brkm(TBROK, NULL, in maybe_run_child() 156 tst_brkm(TBROK, NULL, in maybe_run_child() 177 tst_resm(TBROK, "Could not getcwd()"); in self_exec() 183 tst_resm(TBROK, "Could not produce self_exec string"); in self_exec() [all …]
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_sockopt.c | 117 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 …]
|
D | test_getname.c | 99 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 …]
|
D | test_1_to_1_socket_bind_listen.c | 104 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/kernel/syscalls/rmdir/ |
D | rmdir03.c | 131 tst_brkm(TBROK, cleanup, in main() 136 tst_brkm(TBROK, cleanup, in main() 141 tst_brkm(TBROK, cleanup, "failed to stat directory %s " in main() 148 tst_brkm(TBROK, cleanup, in main() 154 tst_brkm(TBROK, cleanup, in main() 159 tst_brkm(TBROK, cleanup, "fork() failed"); in main() 165 tst_brkm(TBROK, cleanup, "self_exec failed"); in main() 176 tst_brkm(TBROK, cleanup, "mkdir(%s, %#o) Failed", in main() 181 tst_brkm(TBROK, cleanup, "mkdir(%s, %#o) Failed", in main() 186 tst_brkm(TBROK, cleanup, "fork() failed"); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/sigrelse/ |
D | sigrelse01.c | 212 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() 295 tst_brkm(TBROK | TERRNO, getout, "wait() failed"); in parent() 300 tst_brkm(TBROK, cleanup, "Unexpected signal %d killed child", in parent() [all …]
|
/external/ltp/testcases/lib/ |
D | tst_test.sh | 85 TBROK) TST_BROK=$((TST_BROK+1));; 89 *) tst_brk TBROK "Invalid resm type '$1'";; 121 tst_brk TBROK "$@ failed" 129 tst_brk TBROK "$@ failed" 189 tst_brk TBROK "No fs_type specified" 193 tst_brk TBROK "No device specified" 240 tst_brk TBROK "Test didn't report any results" 274 tst_brk TBROK "Expected number (-i) not '$TST_ITERATIONS'" 278 tst_brk TBROK "Number of iterations (-i) must be > 0" 372 tst_brk TBROK "Test $0 must call tst_run!" [all …]
|
/external/ltp/testcases/kernel/syscalls/dup2/ |
D | dup203.c | 84 tst_brkm(TBROK, cleanup, "cannot create first file"); in main() 86 tst_brkm(TBROK, cleanup, "filename0: write(2) failed"); in main() 89 tst_brkm(TBROK, cleanup, "Cannot create second file"); in main() 91 tst_brkm(TBROK, cleanup, "filename1: write(2) failed"); in main() 94 tst_brkm(TBROK, cleanup, "close(2) fd0 failed"); in main() 96 tst_brkm(TBROK, cleanup, "open(2) on filename0 failed"); in main() 99 tst_brkm(TBROK, cleanup, "close(2) fd1 failed"); in main() 101 tst_brkm(TBROK, cleanup, "open(2) on filename1 failed"); in main() 115 tst_brkm(TBROK, cleanup, "read(2) failed"); in main() 137 tst_brkm(TBROK, cleanup, "Cannot create first file"); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 92 tst_resm(TBROK, "mknod() failed, errno: %d", errno); in main() 96 tst_resm(TBROK, "stat() failed, errno: %d", errno); in main() 100 tst_resm(TBROK, "Mode does not indicate fifo file"); in main() 111 tst_resm(TBROK, "sigaction(): Failed"); in main() 124 tst_resm(TBROK, "Error reading fifo, read blocked"); in main() 131 tst_resm(TBROK, "open() for reading the pipe failed"); in main() 139 tst_resm(TBROK, "setjmp() failed"); in main() 146 tst_resm(TBROK, "open() for writing the pipe failed"); in main() 154 tst_resm(TBROK, "sigsetjmp() failed"); in main() 161 tst_resm(TBROK, "Error reading fifo, nozero read"); in main() [all …]
|
/external/ltp/testcases/network/stress/tcp/multi-diffnic/ |
D | tcp4-multi-diffnic01 | 147 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/mem/hugetlb/hugemmap/ |
D | hugemmap05.c | 153 tst_brkm(TBROK | TERRNO, cleanup, "ftok"); in overcommit() 157 tst_brkm(TBROK | TERRNO, cleanup, "shmget"); in overcommit() 163 tst_brkm(TBROK | TERRNO, cleanup, "open"); in overcommit() 168 tst_brkm(TBROK | TERRNO, cleanup, "mmap"); in overcommit() 190 tst_brkm(TBROK | TERRNO, cleanup, "fopen"); in overcommit() 205 tst_brkm(TBROK | TERRNO, cleanup, "shmat"); in overcommit() 230 tst_brkm(TBROK | TERRNO, cleanup, "fopen"); in overcommit() 243 tst_brkm(TBROK | TERRNO, cleanup, "shmdt"); in overcommit() 315 tst_brkm(TBROK | TERRNO, cleanup, "fopen"); in setup() 317 tst_brkm(TBROK | TERRNO, cleanup, "fgets"); in setup() [all …]
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill02.c | 245 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/testcases/kernel/syscalls/mknod/ |
D | mknod04.c | 211 tst_brkm(TBROK, cleanup, "chmod() failed"); in setup() 225 tst_brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER); in setup() 239 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", DIR_TEMP); in setup() 242 tst_brkm(TBROK, cleanup, "chown(2) of %s failed", DIR_TEMP); in setup() 245 tst_brkm(TBROK, cleanup, "chmod(2) of %s failed", DIR_TEMP); in setup() 253 tst_brkm(TBROK, cleanup, "stat(2) of %s failed", DIR_TEMP); in setup() 258 tst_brkm(TBROK, cleanup, in setup() 264 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 272 tst_brkm(TBROK, cleanup, in setup() 276 tst_brkm(TBROK, cleanup, in setup() [all …]
|
D | mknod03.c | 210 tst_brkm(TBROK, cleanup, "chmod() failed"); in setup() 223 tst_brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER); in setup() 237 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", DIR_TEMP); in setup() 240 tst_brkm(TBROK, cleanup, "chown(2) of %s failed", DIR_TEMP); in setup() 243 tst_brkm(TBROK, cleanup, "chmod(2) of %s failed", DIR_TEMP); in setup() 251 tst_brkm(TBROK, cleanup, "stat(2) of %s failed", DIR_TEMP); in setup() 256 tst_brkm(TBROK, cleanup, in setup() 262 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 270 tst_brkm(TBROK, cleanup, in setup() 274 tst_brkm(TBROK, cleanup, in setup() [all …]
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown02.c | 176 tst_brkm(TBROK, cleanup, "getpwnam failed"); in setup() 179 tst_resm(TBROK | TERRNO, "setgid failed"); in setup() 200 tst_brkm(TBROK | TERRNO, cleanup, "open failed"); in setup_eperm() 203 tst_brkm(TBROK | TERRNO, cleanup, "close failed"); in setup_eperm() 207 tst_resm(TBROK | TERRNO, "setuid(0) failed"); in setup_eperm() 211 tst_brkm(TBROK | TERRNO, cleanup, "symlink failed"); in setup_eperm() 215 tst_resm(TBROK | TERRNO, "seteuid(%d) failed", ltpuser->pw_uid); in setup_eperm() 233 tst_brkm(TBROK | TERRNO, cleanup, "mkdir failed"); in setup_eacces() 237 tst_brkm(TBROK | TERRNO, cleanup, "open failed"); in setup_eacces() 240 tst_brkm(TBROK | TERRNO, cleanup, "close failed"); in setup_eacces() [all …]
|
/external/ltp/testcases/network/stress/udp/multi-diffnic/ |
D | udp4-multi-diffnic01 | 131 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/inotify/ |
D | inotify01.c | 84 tst_brkm(TBROK | TERRNO, cleanup, in main() 91 tst_brkm(TBROK | TERRNO, cleanup, in main() 98 tst_brkm(TBROK | TERRNO, cleanup, in main() 105 tst_brkm(TBROK, cleanup, "close(%s) failed", fname); in main() 111 tst_brkm(TBROK, cleanup, in main() 118 tst_brkm(TBROK, cleanup, in main() 125 tst_brkm(TBROK, cleanup, "close(%s) failed", fname); in main() 131 tst_brkm(TBROK, cleanup, in main() 141 tst_brkm(TBROK, cleanup, in main() 206 tst_brkm(TBROK | TERRNO, cleanup, in setup() [all …]
|
/external/ltp/utils/sctp/testlib/ |
D | sctputil.h | 137 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/ |
D | tcp4-uni-basic01 | 205 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 …]
|