Home
last modified time | relevance | path

Searched refs:TTERRNO (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl31.c133 tst_brkm(TFAIL | TTERRNO, cleanup, in setup()
142 tst_brkm(TFAIL | TTERRNO, cleanup, 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()
196 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_cleanup()
215 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_tid_test()
237 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_pid_test()
260 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_pgrp_test()
[all …]
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl05.c93 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in new_session_keyring()
121 tst_res(TBROK | TTERRNO, "unexpected error adding '%s' key", in test_update_nonupdatable()
133 tst_res(TBROK | TTERRNO, in test_update_nonupdatable()
146 tst_res(TBROK | TTERRNO, in test_update_nonupdatable()
169 tst_res(TBROK | TTERRNO, "failed to add 'user' key"); in test_update_setperm_race()
181 tst_brk(TBROK | TTERRNO, "setperm failed"); in test_update_setperm_race()
190 tst_res(TBROK | TTERRNO, "failed to update 'user' key"); in test_update_setperm_race()
Dkeyctl04.c40 tst_brk(TBROK | TTERRNO, "failed to create thread keyring"); in do_test()
45 tst_brk(TBROK | TTERRNO, "failed to set reqkey keyring"); in do_test()
49 tst_brk(TBROK | TTERRNO, "failed to get thread keyring ID"); in do_test()
Dkeyctl01.c41 tst_res(TFAIL | TTERRNO, "KEYCTL_GET_KEYRING_ID failed"); in do_test()
56 tst_res(TFAIL | TTERRNO, "KEYCTL_REVOKE failed unexpectedly"); in do_test()
60 tst_res(TPASS | TTERRNO, "KEYCTL_REVOKE failed as expected"); in do_test()
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe03.c35 tst_res(TFAIL | TTERRNO, "pipe() failed unexpectedly"); in verify_pipe()
41 tst_res(TPASS | TTERRNO, "expected failure writing " in verify_pipe()
44 tst_res(TFAIL | TTERRNO, "unexpected failure writing " in verify_pipe()
50 tst_res(TPASS | TTERRNO, "expected failure reading " in verify_pipe()
53 tst_res(TFAIL | TTERRNO, "unexpected failure reading " in verify_pipe()
/external/ltp/testcases/kernel/syscalls/waitid/
Dwaitid01.c73 tst_brkm(TBROK | TTERRNO, NULL, in main()
81 tst_brkm(TFAIL | TTERRNO, in main()
90 tst_brkm(TBROK | TTERRNO, NULL, in main()
100 tst_brkm(TFAIL | TTERRNO, in main()
108 tst_brkm(TBROK | TTERRNO, NULL, in main()
118 tst_brkm(TFAIL | TTERRNO, NULL, in main()
/external/ltp/testcases/kernel/syscalls/rt_sigsuspend/
Drt_sigsuspend01.c74 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
80 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
92 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
95 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
102 tst_resm(TFAIL | TTERRNO, "rt_sigsuspend failed"); in main()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c101 tst_brk(TCONF | TTERRNO, "TPACKET_V3 not supported"); in create_skbuf()
103 tst_brk(TBROK | TTERRNO, "setsockopt(sk, SOL_PACKET, PACKET_VERSION, TPACKET_V3)"); in create_skbuf()
112 tst_brk(TBROK | TTERRNO, "Can't create ring buffer with good settings"); in good_size()
121 tst_brk(TBROK | TTERRNO, "Unexpected setsockopt() error"); in bad_size()
123 tst_res(TPASS | TTERRNO, "Refused bad tp_sizeof_priv value"); in bad_size()
/external/ltp/testcases/kernel/syscalls/rt_sigprocmask/
Drt_sigprocmask01.c104 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
111 tst_brkm(TFAIL | TTERRNO, 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()
Drt_sigprocmask02.c103 tst_brkm(TFAIL | TTERRNO, cleanup, in main()
110 tst_resm(TFAIL | TTERRNO, in main()
114 tst_resm(TPASS | TTERRNO, "Got expected errno"); in main()
116 tst_resm(TFAIL | TTERRNO, "Got unexpected errno"); in main()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap001.c124 tst_brkm(TBROK | TTERRNO, cleanup, "lseek failed"); in main()
130 tst_brkm(TBROK | TTERRNO, cleanup, in main()
138 tst_brkm(TBROK | TTERRNO, cleanup, in main()
160 tst_resm(TFAIL | TTERRNO, in main()
170 tst_resm(TFAIL | TTERRNO, in main()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key03.c70 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in test_with_key_type()
80 tst_brk(TBROK | TTERRNO, in test_with_key_type()
113 tst_brk(TBROK | TTERRNO, in test_with_key_type()
119 tst_brk(TBROK | TTERRNO, in test_with_key_type()
133 tst_brk(TBROK | TTERRNO, in test_with_key_type()
/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c133 tst_res(TFAIL | TTERRNO, "sigaction failed"); in do_test()
154 tst_res(TFAIL | TTERRNO, in do_test()
158 tst_res(TPASS | TTERRNO, "mq_notify failed expectedly"); in do_test()
174 tst_res(TFAIL | TTERRNO, "mq_timedsend failed"); in do_test()
196 tst_res(TFAIL | TTERRNO, in do_test()
200 tst_res(TPASS | TTERRNO, "mq_timedsend failed expectedly"); in do_test()
/external/ltp/testcases/kernel/syscalls/access/
Daccess02.c79 tst_res(TFAIL | TTERRNO, "access(%s, %s) as %s failed", in access_test()
94 tst_res(TFAIL | TTERRNO, "stat(%s) as %s failed", in access_test()
109 tst_res(TFAIL | TTERRNO, in access_test()
127 tst_res(TFAIL | TTERRNO, in access_test()
147 tst_res(TFAIL | TTERRNO, "execute %s as %s failed", in access_test()
/external/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open01.c154 tst_resm(TCONF | TTERRNO, in verify()
158 tst_brkm(TFAIL | TTERRNO, cleanup, in verify()
168 tst_brkm(TFAIL | TTERRNO, cleanup, in verify()
173 tst_brkm(TFAIL | TTERRNO, cleanup, in verify()
180 tst_brkm(TFAIL | TTERRNO, cleanup, in verify()
/external/ltp/testcases/kernel/logging/kmsg/
Dkmsg01.c111 tst_brk(TBROK|TTERRNO, "err reading /dev/kmsg"); in find_msg()
258 tst_res(TFAIL|TTERRNO, "non-block read returned: %ld", in test_read_nonblock()
274 tst_res(TFAIL|TTERRNO, "read returned: %ld", TEST_RETURN); in test_read_block()
288 tst_res(TPASS|TTERRNO, "read failed as expected"); in test_partial_read()
378 tst_res(TFAIL|TTERRNO, "read failed"); in test_read_returns_first_message()
444 tst_res(TFAIL|TTERRNO, "read returned: %ld", TEST_RETURN); in test_messages_overwritten()
450 tst_res(TFAIL|TTERRNO, "read returned: %ld", TEST_RETURN); in test_messages_overwritten()
463 tst_brk(TBROK|TTERRNO, "failed to read /dev/kmsg"); in read_msg_seqno()
/external/ltp/testcases/kernel/syscalls/get_robust_list/
Dget_robust_list01.c107 tst_resm(TFAIL | TTERRNO, in main()
123 tst_resm(TFAIL | TTERRNO, in main()
144 tst_resm(TFAIL | TTERRNO, in main()
157 tst_resm(TFAIL | TTERRNO, in main()
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace07.c117 tst_brk(TBROK | TTERRNO, "PTRACE_ATTACH failed"); in do_test()
131 tst_brk(TBROK | TTERRNO, in do_test()
152 tst_brk(TBROK | TTERRNO, in do_test()
158 tst_brk(TBROK | TTERRNO, "PTRACE_CONT failed"); in do_test()
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl03.c133 tst_resm(TPASS | TTERRNO, "Got expected error"); in main()
139 tst_resm(TFAIL | TTERRNO, in main()
163 tst_resm(TPASS | TTERRNO, in main()
170 tst_resm(TFAIL | TTERRNO, in main()
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal06.c104 tst_brkm(TBROK | TTERRNO, NULL, "mprotect failed"); in tfunc()
109 tst_brkm(TBROK | TTERRNO, NULL, "mprotect failed"); in tfunc()
135 tst_brkm(TBROK | TTERRNO, NULL, in main()
142 tst_brkm(TBROK | TTERRNO, NULL, in main()
/external/ltp/testcases/kernel/syscalls/wait/
Dwait01.c65 tst_resm(TFAIL | TTERRNO, "wait failed unexpectedly: %ld", in wait_verify()
71 tst_resm(TPASS | TTERRNO, "wait failed as expected"); in wait_verify()
73 tst_resm(TFAIL | TTERRNO, in wait_verify()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c265 tst_res(TFAIL | TTERRNO, "%s wrong return code: %ld", in do_test()
268 tst_res(TPASS | TTERRNO, "%s returned: %ld", in do_test()
276 tst_res(TFAIL | TTERRNO, "%s expected errno: %d", in do_test()
282 tst_res(TFAIL | TTERRNO, "%s wrong return code: %ld", in do_test()
285 tst_res(TPASS | TTERRNO, "%s returned: %ld", in do_test()
/external/ltp/testcases/kernel/syscalls/add_key/
Dadd_key04.c53 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in do_test()
65 tst_brk(TBROK | TTERRNO, in do_test()
73 tst_brk(TBROK | TTERRNO, "unable to create user key"); in do_test()
/external/ltp/testcases/kernel/syscalls/poll/
Dpoll01.c46 tst_res(TFAIL | TTERRNO, "poll() POLLOUT failed"); in verify_pollout()
51 tst_res(TFAIL | TTERRNO, "poll() failed to set POLLOUT"); in verify_pollout()
72 tst_res(TFAIL | TTERRNO, "poll() POLLIN failed"); in verify_pollin()
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate01.c235 tst_resm(TFAIL | TTERRNO, in runtest()
250 tst_resm(TFAIL | TTERRNO, in runtest()
257 tst_resm(TFAIL | TTERRNO, in runtest()
266 tst_resm(TFAIL | TTERRNO, in runtest()

12345678910>>...17