Home
last modified time | relevance | path

Searched refs:tst_brkm (Results 1 – 25 of 842) sorted by relevance

12345678910>>...34

/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()
78 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1()
82 tst_brkm(TFAIL, NULL, "TCGETS"); in test1()
86 tst_brkm(TFAIL, NULL, "TCSETS"); in test1()
90 tst_brkm(TFAIL, NULL, "TCSETSW"); in test1()
94 tst_brkm(TFAIL, NULL, "TCSETSF"); in test1()
98 tst_brkm(TFAIL, NULL, "TCSETS"); in test1()
102 tst_brkm(TFAIL, NULL, "TCGETA"); in test1()
[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()
126 tst_brkm(TFAIL | TERRNO, NULL, "write to master"); in test1()
131 tst_brkm(TFAIL | TERRNO, NULL, "read from slave"); in test1()
134 tst_brkm(TFAIL, NULL, in test1()
[all …]
/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh72 tst_brkm TBROK "don't obtain valid iproute version"
76 tst_brkm TCONF \
121 tst_brkm TCONF "setns not supported"
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)"
[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 …]
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/kernel/syscalls/fcntl/
Dfcntl31.c115 tst_brkm(TBROK | TERRNO, cleanup, "fcntl set O_ASYNC failed"); in setup()
121 tst_brkm(TBROK | TERRNO, cleanup, "setpgrp() failed"); in setup()
124 tst_brkm(TBROK | TERRNO, cleanup, "getpgid() failed"); in setup()
133 tst_brkm(TFAIL | TTERRNO, cleanup, in setup()
142 tst_brkm(TFAIL | TTERRNO, cleanup, in setup()
152 tst_brkm(TBROK | TERRNO, cleanup, "sigprocmask failed"); in setup()
162 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pid_test()
169 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pid_test()
178 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pgrp_test()
186 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pgrp_test()
[all …]
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c116 tst_brkm(TFAIL, cleanup, in main()
122 tst_brkm(TFAIL, cleanup, in main()
145 tst_brkm(TFAIL, cleanup, in runtest()
151 tst_brkm(TFAIL, cleanup, in runtest()
164 tst_brkm(TWARN, NULL, in runtest()
195 tst_brkm(TFAIL, cleanup, in runtest()
199 tst_brkm(TFAIL, cleanup, in runtest()
217 tst_brkm(TWARN, in runtest()
237 tst_brkm(TWARN, NULL, "\tSaw %d, expected %d", count, in runtest()
244 tst_brkm(TWARN, NULL, "\tCore file found in test directory."); in runtest()
[all …]
/external/ltp/testcases/kernel/security/securebits/
Dcheck_keepcaps.c48 tst_brkm(TBROK | TERRNO, NULL, in eff_caps_empty()
79 tst_brkm(TERRNO | TFAIL, NULL, "setuid failed"); in do_setuid()
87 tst_brkm(TFAIL, NULL, "expected to keep privs but did not"); in do_setuid()
95 tst_brkm(TFAIL, NULL, "expected to drop privs but did not"); in do_setuid()
106 tst_brkm(TBROK, NULL, "keepcaps was already set?"); in main()
109 tst_brkm(TBROK, NULL, "Usage: %s <tescase_num>", argv[0]); in main()
113 tst_brkm(TFAIL, NULL, "Valid tests are 1-3"); in main()
121 tst_brkm(TFAIL | TERRNO, NULL, in main()
126 tst_brkm(TFAIL | TERRNO, NULL, in main()
134 tst_brkm(TFAIL | TERRNO, NULL, in main()
[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.h116 #define tst_brkm(a1, a2, whatever...) \ macro
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()
[all …]
/external/ltp/testcases/lib/
Dtest.sh41 *) tst_brkm TBROK "Invalid resm type '$1'";;
66 tst_brkm() function
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"
101 tst_brkm TCONF "Must be super/root for this test!"
151 tst_brkm TCONF "'$cmd' not found"
231 tst_brkm TBROK "$@ failed"
271 tst_brkm TBROK "$@ failed"
304 tst_brkm TBROK "No fs_type specified"
[all …]
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap10.c96 tst_brkm(TCONF, NULL, in main()
101 tst_brkm(TCONF, NULL, "MADV_MERGEABLE missing in sys/mman.h"); in main()
130 tst_brkm(TBROK | TERRNO, cleanup, "open"); in mmapzero()
135 tst_brkm(TFAIL | TERRNO, cleanup, "mmap"); in mmapzero()
139 tst_brkm(TBROK | TERRNO, cleanup, "madvise"); in mmapzero()
146 tst_brkm(TBROK | TERRNO, cleanup, "fork"); in mmapzero()
149 tst_brkm(TFAIL | TERRNO, cleanup, "munmap"); in mmapzero()
157 tst_brkm(TBROK | TERRNO, cleanup, "fork"); in mmapzero()
160 tst_brkm(TFAIL | TERRNO, cleanup, in mmapzero()
166 tst_brkm(TBROK | TERRNO, cleanup, "fork"); in mmapzero()
[all …]
Dmmap03.c103 tst_brkm(TFAIL | TERRNO, cleanup, in main()
139 tst_brkm(TFAIL | TERRNO, cleanup, in main()
162 tst_brkm(TFAIL, NULL, "calloc failed (tst_buff)"); in setup()
173 tst_brkm(TFAIL | TERRNO, cleanup, "opening %s failed", in setup()
180 tst_brkm(TFAIL | TERRNO, cleanup, "writing to %s failed", in setup()
189 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE); in setup()
194 tst_brkm(TFAIL | TERRNO, cleanup, "closing %s failed", in setup()
200 tst_brkm(TFAIL, cleanup, "calloc failed (dummy)"); in setup()
205 tst_brkm(TFAIL | TERRNO, cleanup, in setup()
222 tst_brkm(TBROK, cleanup, "received an unexpected signal"); in sig_handler()
/external/ltp/testcases/kernel/fs/ftest/
Dftest03.c142 tst_brkm(TBROK | TERRNO, NULL, "getcwd() failed"); in setup()
166 tst_brkm(TBROK, NULL, " sigset failed: signo = 15"); in setup()
193 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); in runtest()
235 tst_brkm(TBROK | TERRNO, sync, "fork failed"); in runtest()
297 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
301 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
312 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
321 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
325 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
331 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
[all …]
Dftest07.c145 tst_brkm(TBROK, NULL, "Failed to get corrent directory"); in setup()
169 tst_brkm(TBROK | TERRNO, NULL, "sigset (signo=SIGTERM) failed"); in setup()
195 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); in runtest()
236 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); in runtest()
298 tst_brkm(TBROK, NULL, "\tmalloc failed(bits)"); in dotest()
301 tst_brkm(TBROK, NULL, "\tmalloc failed(hlod_bits)"); in dotest()
314 tst_brkm(TFAIL, NULL, in dotest()
324 tst_brkm(TBROK, NULL, "\tmalloc failed((i+1)*8)"); in dotest()
333 tst_brkm(TBROK, NULL, "\tmalloc failed((i+1)*8)"); in dotest()
336 tst_brkm(TBROK, NULL, "\tmalloc failed(zero_iover)"); in dotest()
[all …]
Dftest08.c142 tst_brkm(TBROK | TERRNO, NULL, "first sigset failed"); in init()
158 tst_brkm(TFAIL, in runtest()
170 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); in runtest()
244 tst_brkm(TBROK, NULL, "\tmalloc failed(bits)"); in dotest()
255 tst_brkm(TBROK, NULL, "\tmalloc failed(iov_base)"); in dotest()
263 tst_brkm(TBROK, NULL, "\tmalloc failed((i+1)*8)"); in dotest()
267 tst_brkm(TBROK, NULL, "\tmalloc failed(val0_iovec)"); in dotest()
273 tst_brkm(TBROK, NULL, "\tmalloc failed((i+1)*8)"); in dotest()
277 tst_brkm(TBROK, NULL, "\tmalloc failed(iov_base)"); in dotest()
282 tst_brkm(TBROK, NULL, "\tmalloc failed(((i+1)*8)"); in dotest()
[all …]
Dftest04.c137 tst_brkm(TFAIL, NULL, "first sigset failed"); in setup()
157 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); in runtest()
231 tst_brkm(TBROK, NULL, "\tmalloc failed(bits)"); in dotest()
244 tst_brkm(TBROK, NULL, "\tmalloc failed(r_iovec[])"); in dotest()
252 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
256 tst_brkm(TBROK, NULL, "\tmalloc failed(val0_iovec[])"); in dotest()
262 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
266 tst_brkm(TBROK, NULL, "\tmalloc failed(iov_base)"); in dotest()
272 tst_brkm(TBROK, NULL, "\tmalloc failed"); in dotest()
321 tst_brkm(TFAIL, in dotest()
[all …]
/external/ltp/testcases/kernel/syscalls/rt_sigprocmask/
Drt_sigprocmask01.c93 tst_brkm(TFAIL | TERRNO, cleanup, in main()
97 tst_brkm(TFAIL | TERRNO, cleanup, in main()
104 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
111 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
117 tst_brkm(TFAIL | TERRNO, cleanup, in main()
121 tst_brkm(TFAIL | TERRNO, cleanup, in main()
129 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
134 tst_brkm(TFAIL | TTERRNO, in main()
144 tst_brkm(TFAIL | TTERRNO, in main()
154 tst_brkm(TFAIL | TERRNO, in main()
/external/ltp/testcases/kernel/syscalls/unshare/
Dunshare01.c172 tst_brkm(TFAIL | TERRNO, cleanup, in main()
195 tst_brkm(TCONF, cleanup, in main()
200 tst_brkm(TFAIL, cleanup, in main()
208 tst_brkm(TFAIL | TERRNO, cleanup, in main()
231 tst_brkm(TCONF, cleanup, in main()
236 tst_brkm(TFAIL, cleanup, in main()
244 tst_brkm(TFAIL | TERRNO, cleanup, in main()
267 tst_brkm(TCONF, cleanup, in main()
272 tst_brkm(TFAIL, cleanup, in main()
289 tst_brkm(TCONF, NULL, "unshare is undefined."); in main()
/external/ltp/testcases/kernel/device-drivers/zram/
Dzram_lib.sh50 tst_brkm TBROK "failed to insert zram module"
55 tst_brkm TFAIL "unexpected num of devices: $dev_num_created"
77 tst_brkm TFAIL "failed to set '$max_s' to $sys_path"
81 tst_brkm TFAIL "can't set max_streams '$max_s', get $max_stream"
107 tst_brkm TFAIL "can't set '$alg' to $sys_path"
122 tst_brkm TFAIL "can't set '$ds' to $sys_path"
146 tst_brkm TFAIL "can't set '$ds' to $sys_path"
164 tst_brkm TFAIL "mkswap /dev/zram$1 failed"
170 tst_brkm TFAIL "swapon /dev/zram$1 failed"
188 tst_brkm TFAIL "swapoff /dev/zram$i failed"
[all …]
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_funcs.sh62 tst_brkm TCONF "kernel is below 2.6.28"
69 tst_brkm TCONF "The total of CPUs is less than $1"
76 tst_brkm TCONF "The total of nodes is less than $1"
83 tst_brkm TCONF "Test must be run as root"
99 tst_brkm TCONF "Cpuset is not supported"
126 cleanup || tst_brkm TFAIL "Can't cleanup... Exiting"
134 tst_brkm TFAIL "Could not mount cgroup filesystem with"\
153 tst_brkm TFAIL "Couldn't kill task - "\
159 tst_brkm TFAIL "Couldn't remove subdir - "
166 tst_brkm TFAIL "Couldn't umount cgroup filesystem with"\
/external/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open02.c165 tst_brkm(TCONF | TERRNO, cleanup, in count_hardware_counters()
168 tst_brkm(TBROK | TERRNO, cleanup, in count_hardware_counters()
173 tst_brkm(TBROK | TERRNO, cleanup, in count_hardware_counters()
180 tst_brkm(TBROK | TERRNO, cleanup, in count_hardware_counters()
185 tst_brkm(TBROK | TERRNO, cleanup, in count_hardware_counters()
230 tst_brkm(TCONF, NULL, "Kernel doesn't have perf_event support"); in setup()
254 tst_brkm(TBROK | TERRNO, cleanup, "perf_event_open failed"); in setup()
262 tst_brkm(TBROK | TERRNO, cleanup, in setup()
293 tst_brkm(TBROK | TERRNO, cleanup, in verify()
298 tst_brkm(TBROK | TERRNO, cleanup, in verify()
[all …]

12345678910>>...34