Home
last modified time | relevance | path

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

12345678910>>...24

/third_party/ltp/testcases/kernel/syscalls/fsconfig/
Dfsconfig01.c27 tst_brk(TBROK | TTERRNO, "fsopen() failed"); in run()
31 tst_brk(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_FLAG) failed"); in run()
35 tst_brk(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_STRING) failed"); in run()
42 tst_brk(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_PATH) failed"); in run()
50 tst_brk(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_PATH_EMPTY) failed"); in run()
58 tst_brk(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_FD) failed"); in run()
63 tst_brk(TFAIL | TTERRNO, "fsconfig(FSCONFIG_CMD_CREATE) failed"); in run()
67 tst_brk(TBROK | TTERRNO, "fsmount() failed"); in run()
74 tst_brk(TBROK | TTERRNO, "move_mount() failed"); in run()
/third_party/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 …]
Dfcntl33.c119 tst_res(TINFO | TTERRNO, in do_test()
122 tst_res(TFAIL | TTERRNO, "fcntl() failed to set lease"); in do_test()
133 tst_res(TFAIL | TTERRNO, in do_test()
138 tst_brk(TBROK | TTERRNO, "sigtimedwait() failed"); in do_test()
154 tst_res(TFAIL | TTERRNO, in do_test()
162 tst_res(TFAIL | TTERRNO, in do_test()
/third_party/ltp/testcases/kernel/syscalls/request_key/
Drequest_key04.c29 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in do_test()
34 tst_brk(TBROK | TTERRNO, in do_test()
41 tst_brk(TBROK | TTERRNO, in do_test()
48 tst_brk(TBROK | TTERRNO, "failed to read from session keyring"); in do_test()
60 tst_brk(TBROK | TTERRNO, "failed to read from session keyring"); in do_test()
68 tst_res(TFAIL | TTERRNO, in do_test()
Drequest_key03.c58 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in test_with_key_type()
68 tst_brk(TBROK | TTERRNO, in test_with_key_type()
101 tst_brk(TBROK | TTERRNO, in test_with_key_type()
107 tst_brk(TBROK | TTERRNO, in test_with_key_type()
121 tst_brk(TBROK | TTERRNO, in test_with_key_type()
/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key05.c95 tst_res(TFAIL | TTERRNO, "add key test2 failed"); in verify_max_bytes()
115 tst_res(TPASS | TTERRNO, "add_key(test_inv) failed as expected"); in verify_max_bytes()
117 tst_res(TFAIL | TTERRNO, "add_key(test_inv) failed expected EDQUOT got"); in verify_max_bytes()
122 tst_res(TFAIL | TTERRNO, "add key test3 failed"); in verify_max_bytes()
127 tst_res(TFAIL | TTERRNO, "add key test4 failed"); in verify_max_bytes()
134 tst_res(TFAIL | TTERRNO, "add_key(test_max) failed unexpectedly"); in verify_max_bytes()
158 tst_res(TFAIL | TTERRNO, "add keyring key(%s) failed", desc); in verify_max_keys()
169 tst_res(TPASS | TTERRNO, "add_key(test_invalid_key) failed as expected"); in verify_max_keys()
171 tst_res(TFAIL | TTERRNO, "add_key(test_invalid_key) failed expected EDQUOT got"); in verify_max_keys()
196 tst_res(TFAIL | TTERRNO, "add key test1 failed"); in do_test()
/third_party/ltp/testcases/kernel/syscalls/pipe/
Dpipe03.c23 tst_res(TFAIL | TTERRNO, "pipe() failed unexpectedly"); in verify_pipe()
29 tst_res(TPASS | TTERRNO, "expected failure writing " in verify_pipe()
32 tst_res(TFAIL | TTERRNO, "unexpected failure writing " in verify_pipe()
38 tst_res(TPASS | TTERRNO, "expected failure reading " in verify_pipe()
41 tst_res(TFAIL | TTERRNO, "unexpected failure reading " in verify_pipe()
/third_party/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl05.c78 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in new_session_keyring()
106 tst_res(TFAIL | TTERRNO, "unexpected error adding '%s' key", in test_update_nonupdatable()
118 tst_res(TFAIL | TTERRNO, in test_update_nonupdatable()
131 tst_res(TFAIL | TTERRNO, in test_update_nonupdatable()
154 tst_res(TFAIL | TTERRNO, "failed to add 'user' key"); in test_update_setperm_race()
166 tst_brk(TBROK | TTERRNO, "setperm failed"); in test_update_setperm_race()
175 tst_res(TFAIL | TTERRNO, "failed to update 'user' key"); in test_update_setperm_race()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate05.c66 tst_brk(TCONF | TTERRNO, "fallocate() not supported"); in run()
68 tst_brk(TBROK | TTERRNO, "fallocate(fd, 0, 0, %ld)", bufsize); in run()
76 tst_res(TFAIL | TTERRNO, "write() failed unexpectedly"); in run()
96 tst_res(TFAIL | TTERRNO, "fallocate() should fail with ENOSPC"); in run()
109 tst_res(TFAIL | TTERRNO, "write() failed unexpectedly"); in run()
128 tst_brk(TBROK | TTERRNO, TESTED_FLAGS); in run()
134 tst_res(TFAIL | TTERRNO, "write()"); in run()
Dfallocate06.c110 tst_brk(TBROK|TTERRNO, in setup()
136 tst_res(TFAIL | TTERRNO, "%s should fail with ENOSPC", in check_result()
141 tst_res(TPASS | TTERRNO, "%s on full FS with CoW", func); in check_result()
146 tst_res(TFAIL | TTERRNO, "%s failed unexpectedly", func); in check_result()
189 tst_brk(TCONF | TTERRNO, "fallocate() not supported"); in run()
191 tst_brk(TBROK | TTERRNO, "fallocate(fd, 0, %ld, %ld)", offset, in run()
210 tst_res(TCONF | TTERRNO, TESTED_FLAGS); in run()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/move_mount/
Dmove_mount02.c37 tst_res(TFAIL | TTERRNO, "fsopen() failed"); in run()
44 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_STRING) failed"); in run()
51 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_CMD_CREATE) failed"); in run()
59 tst_res(TFAIL | TTERRNO, "fsmount() failed"); in run()
75 tst_res(TFAIL | TTERRNO, "%s: move_mount() should fail with %s", in run()
80 tst_res(TPASS | TTERRNO, "%s: move_mount() failed as expected", tc->name); in run()
Dmove_mount01.c33 tst_res(TFAIL | TTERRNO, "fsopen() failed"); in run()
40 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_STRING) failed"); in run()
47 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_CMD_CREATE) failed"); in run()
55 tst_res(TFAIL | TTERRNO, "fsmount() failed"); in run()
64 tst_res(TFAIL | TTERRNO, "move_mount() failed"); in run()
/third_party/ltp/testcases/kernel/syscalls/fsmount/
Dfsmount02.c38 tst_brk(TBROK | TTERRNO, "fsopen() failed"); in setup()
42 tst_brk(TBROK | TTERRNO, "fsconfig(FSCONFIG_SET_STRING) failed"); in setup()
46 tst_brk(TBROK | TTERRNO, "fsconfig(FSCONFIG_CMD_CREATE) failed"); in setup()
62 tst_res(TFAIL | TTERRNO, "%s: fsmount() should fail with %s", in run()
67 tst_res(TPASS | TTERRNO, "%s: fsmount() failed as expected", tc->name); in run()
Dfsmount01.c46 tst_res(TFAIL | TTERRNO, "fsopen() on %s failed", in run()
54 tst_res(TFAIL | TTERRNO, in run()
62 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_CMD_CREATE) failed"); in run()
70 tst_res(TFAIL | TTERRNO, in run()
79 tst_res(TFAIL | TTERRNO, in run()
/third_party/ltp/testcases/kernel/syscalls/fsopen/
Dfsopen01.c30 tst_res(TFAIL | TTERRNO, "fsopen() failed"); in run()
36 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_STRING) failed"); in run()
42 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_CMD_CREATE) failed"); in run()
48 tst_res(TFAIL | TTERRNO, "fsmount() failed"); in run()
58 tst_res(TFAIL | TTERRNO, "move_mount() failed"); in run()
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c89 tst_brk(TCONF | TTERRNO, "TPACKET_V3 not supported"); in create_skbuf()
91 tst_brk(TBROK | TTERRNO, "setsockopt(sk, SOL_PACKET, PACKET_VERSION, TPACKET_V3)"); in create_skbuf()
100 tst_brk(TBROK | TTERRNO, "Can't create ring buffer with good settings"); in good_size()
109 tst_brk(TBROK | TTERRNO, "Unexpected setsockopt() error"); in bad_size()
111 tst_res(TPASS | TTERRNO, "Refused bad tp_sizeof_priv value"); in bad_size()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/flock/
Dflock06.c29 tst_res(TFAIL | TTERRNO, "First attempt to flock() failed"); in verify_flock()
36 tst_res(TPASS | TTERRNO, "Second attempt to flock() denied"); in verify_flock()
42 tst_res(TFAIL | TTERRNO, "Failed to unlock fd1"); in verify_flock()
48 tst_res(TFAIL | TTERRNO, "Third attempt to flock() denied!"); in verify_flock()
/third_party/ltp/testcases/kernel/syscalls/timer_settime/
Dtimer_settime02.c81 tst_res(TCONF | TTERRNO, "%s unsupported", in run()
84 tst_res(TFAIL | TTERRNO, in run()
101 tst_res(TFAIL | TTERRNO, in run()
106 tst_res(TPASS | TTERRNO, in run()
114 tst_res(TFAIL | TTERRNO, "timer_delete() failed!"); in run()
/third_party/ltp/testcases/kernel/syscalls/sched_setaffinity/
Dsched_setaffinity01.c79 tst_res(TFAIL | TTERRNO, in verify_test()
83 tst_res(TPASS | TTERRNO, "sched_setaffinity() failed"); in verify_test()
98 tst_brk(TBROK | TTERRNO, "CPU_ALLOC() failed"); in setup()
103 tst_brk(TBROK | TTERRNO, "sched_getaffinity() failed"); in setup()
107 tst_brk(TBROK | TTERRNO, "CPU_ALLOC() failed"); in setup()
/third_party/ltp/testcases/kernel/syscalls/fspick/
Dfspick01.c30 tst_res(TFAIL | TTERRNO, "fspick() failed"); in run()
36 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_STRING) failed"); in run()
42 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_SET_FLAG) failed"); in run()
48 tst_res(TFAIL | TTERRNO, "fsconfig(FSCONFIG_CMD_RECONFIGURE) failed"); in run()
/third_party/ltp/testcases/kernel/syscalls/vmsplice/
Dvmsplice04.c32 tst_res(TPASS | TTERRNO, in vmsplice_test()
35 tst_res(TFAIL | TTERRNO, in vmsplice_test()
46 tst_res(TFAIL | TTERRNO, "vmsplice(..., 0) failed"); in vmsplice_test()
82 tst_brk(TBROK | TTERRNO, in setup()
/third_party/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()

12345678910>>...24