/third_party/ltp/testcases/kernel/syscalls/fsconfig/ |
D | fsconfig01.c | 27 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/ |
D | fcntl31.c | 135 tst_brkm(TFAIL | TTERRNO, cleanup, in setup() 144 tst_brkm(TFAIL | TTERRNO, cleanup, in setup() 164 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pid_test() 171 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pid_test() 180 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pgrp_test() 188 tst_brkm(TFAIL | TTERRNO, cleanup, in setown_pgrp_test() 198 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_cleanup() 217 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_tid_test() 239 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_pid_test() 262 tst_brkm(TFAIL | TTERRNO, cleanup, in setownex_pgrp_test() [all …]
|
D | fcntl33.c | 108 tst_res(TINFO | TTERRNO, in do_test() 111 tst_res(TFAIL | TTERRNO, "fcntl() failed to set lease"); in do_test() 122 tst_res(TFAIL | TTERRNO, in do_test() 127 tst_brk(TBROK | TTERRNO, "sigtimedwait() failed"); in do_test() 143 tst_res(TFAIL | TTERRNO, in do_test() 151 tst_res(TFAIL | TTERRNO, in do_test()
|
/third_party/ltp/libs/libltpsigwait/ |
D | sigwait.c | 29 tst_res(TFAIL | TTERRNO, "Expected error number EINTR, got"); in test_empty_set() 59 tst_res(TFAIL | TTERRNO, "Expected error number EAGAIN, got"); in test_timeout() 92 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_unmasked_matching() 115 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_unmasked_matching_noinfo() 136 tst_brk(TBROK | TTERRNO, "sigprocmask() failed"); in test_masked_matching() 152 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_masked_matching() 157 tst_brk(TBROK | TTERRNO, "restoring original signal mask failed"); in test_masked_matching() 188 tst_brk(TBROK | TTERRNO, "sigprocmask() failed"); in test_masked_matching_rt() 209 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_masked_matching_rt() 221 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_masked_matching_rt() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key05.c | 88 tst_res(TFAIL | TTERRNO, "add key test2 failed"); in verify_max_bytes() 108 tst_res(TPASS | TTERRNO, "add_key(test_inv) failed as expected"); in verify_max_bytes() 110 tst_res(TFAIL | TTERRNO, "add_key(test_inv) failed expected EDQUOT got"); in verify_max_bytes() 115 tst_res(TFAIL | TTERRNO, "add key test3 failed"); in verify_max_bytes() 120 tst_res(TFAIL | TTERRNO, "add key test4 failed"); in verify_max_bytes() 127 tst_res(TFAIL | TTERRNO, "add_key(test_max) failed unexpectedly"); in verify_max_bytes() 151 tst_res(TFAIL | TTERRNO, "add keyring key(%s) failed", desc); in verify_max_keys() 162 tst_res(TPASS | TTERRNO, "add_key(test_invalid_key) failed as expected"); in verify_max_keys() 164 tst_res(TFAIL | TTERRNO, "add_key(test_invalid_key) failed expected EDQUOT got"); in verify_max_keys() 189 tst_res(TFAIL | TTERRNO, "add key test1 failed"); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/request_key/ |
D | request_key04.c | 29 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()
|
D | request_key03.c | 53 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in test_with_key_type() 63 tst_brk(TBROK | TTERRNO, in test_with_key_type() 96 tst_brk(TBROK | TTERRNO, in test_with_key_type() 102 tst_brk(TBROK | TTERRNO, in test_with_key_type() 116 tst_brk(TBROK | TTERRNO, in test_with_key_type()
|
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe03.c | 23 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/fallocate/ |
D | fallocate05.c | 66 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()
|
D | fallocate06.c | 119 tst_brk(TBROK|TTERRNO, in setup() 145 tst_res(TFAIL | TTERRNO, "%s should fail with ENOSPC", in check_result() 150 tst_res(TPASS | TTERRNO, "%s on full FS with CoW", func); in check_result() 155 tst_res(TFAIL | TTERRNO, "%s failed unexpectedly", func); in check_result() 198 tst_brk(TCONF | TTERRNO, "fallocate() not supported"); in run() 200 tst_brk(TBROK | TTERRNO, "fallocate(fd, 0, %ld, %ld)", offset, in run() 219 tst_res(TCONF | TTERRNO, TESTED_FLAGS); in run()
|
/third_party/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl05.c | 80 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in new_session_keyring() 114 tst_res(TFAIL | TTERRNO, "unexpected error adding '%s' key", in test_update_nonupdatable() 126 tst_res(TFAIL | TTERRNO, in test_update_nonupdatable() 139 tst_res(TFAIL | TTERRNO, in test_update_nonupdatable() 162 tst_res(TFAIL | TTERRNO, "failed to add 'user' key"); in test_update_setperm_race() 174 tst_brk(TBROK | TTERRNO, "setperm failed"); in test_update_setperm_race() 183 tst_res(TFAIL | TTERRNO, "failed to update 'user' key"); in test_update_setperm_race()
|
/third_party/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid01.c | 73 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/ |
D | move_mount02.c | 37 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()
|
D | move_mount01.c | 33 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/sendto/ |
D | sendto03.c | 91 tst_res(TPASS | TTERRNO, in check_tiny_frame() 97 tst_brk(TBROK | TTERRNO, in check_tiny_frame() 102 tst_brk(TBROK | TTERRNO, in check_tiny_frame() 119 tst_brk(TBROK | TTERRNO, in check_tiny_frame() 124 tst_brk(TBROK | TTERRNO, in check_tiny_frame() 128 tst_res(TPASS | TTERRNO, "setsockopt(PACKET_RX_RING) frame size check " in check_tiny_frame() 165 tst_brk(TBROK | TTERRNO, in check_vnet_hdr() 170 tst_brk(TBROK | TTERRNO, in check_vnet_hdr()
|
/third_party/ltp/include/ |
D | tst_test_macros.h | 60 TST_MSG_(TFAIL | TTERRNO, " failed", \ 66 TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ 114 TST_MSGP2_(TFAIL | TTERRNO, " retval %ld != %ld", \ 141 TST_MSG_(TFAIL | TTERRNO, " failed", \ 147 TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ 178 TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ 184 TST_MSG_(TPASS | TTERRNO, " ", \ 188 TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 56 tst_brk(TCONF | TTERRNO, "TPACKET_V3 not supported"); in create_skbuf() 58 tst_brk(TBROK | TTERRNO, "setsockopt(sk, SOL_PACKET, PACKET_VERSION, TPACKET_V3)"); in create_skbuf() 67 tst_brk(TBROK | TTERRNO, "Can't create ring buffer with good settings"); in good_size() 76 tst_brk(TBROK | TTERRNO, "Unexpected setsockopt() error"); in bad_size() 78 tst_res(TPASS | TTERRNO, "Refused bad tp_sizeof_priv value"); in bad_size()
|
/third_party/ltp/testcases/kernel/syscalls/fsmount/ |
D | fsmount02.c | 38 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()
|
D | fsmount01.c | 46 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/ |
D | fsopen01.c | 30 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/rt_sigprocmask/ |
D | rt_sigprocmask01.c | 104 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()
|
D | rt_sigprocmask02.c | 103 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/ |
D | flock06.c | 29 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/ |
D | timer_settime01.c | 111 tst_res(TCONF | TTERRNO, "%s unsupported", in run() 114 tst_res(TFAIL | TTERRNO, in run() 146 tst_res(TFAIL | TTERRNO, "timer_settime(%s) failed", in run() 152 tst_res(TFAIL | TTERRNO, "timer_gettime(%s) failed", in run() 158 tst_res(TFAIL | TTERRNO, in run() 176 tst_res(TFAIL | TTERRNO, "timer_delete() failed!"); in run()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv07.c | 64 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_EXCEPT) failed"); in test_msg_except() 91 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_NOERROR) failed"); in test_msg_noerror() 129 tst_res(TFAIL | TTERRNO, "msgrcv(0, MSG_COPY) failed"); in test_msg_copy() 144 tst_res(TFAIL | TTERRNO, "msgrcv(1, MSG_COPY) failed"); in test_msg_copy() 174 tst_res(TFAIL | TTERRNO, "msgrcv(zero_msgtyp) failed"); in test_zero_msgtyp() 196 tst_res(TFAIL | TTERRNO, "msgrcv(positive_msgtyp) failed"); in test_positive_msgtyp() 221 tst_res(TFAIL | TTERRNO, "msgrcv(negative_msgtyp) failed"); in test_negative_msgtyp()
|