Home
last modified time | relevance | path

Searched refs:tst_res (Results 1 - 25 of 1392) sorted by relevance

12345678910>>...56

/third_party/ltp/testcases/network/iproute/
H A Dip_tests.sh23 tst_res TINFO "inititalizing tests"
59 tst_res TINFO "test 'ip link set' command"
60 tst_res TINFO "changing mtu size of $iface device"
65 tst_res TFAIL "ip command failed"
71 tst_res TPASS "successfully changed mtu size"
74 tst_res TFAIL "MTU value set to $MTUSZ, but expected 1281"
80 tst_res TINFO "test 'ip link show' command (list device attributes)"
84 tst_res TFAIL "'ip link show $iface' command failed"
88 tst_res TPASS "$iface correctly listed"
93 tst_res TINF
[all...]
/third_party/ltp/lib/newlib_tests/
H A Dtest_parse_filesize.c18 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test()
21 tst_res(TPASS, "value is %lli", val); in do_test()
23 tst_res(TFAIL, "%lli != %lli", val, 1LL); in do_test()
28 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test()
31 tst_res(TPASS, "value is %lli", val); in do_test()
33 tst_res(TFAIL, "%lli != %lli", val, 1024LL); in do_test()
37 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test()
40 tst_res(TPASS, "value is %lli", val); in do_test()
42 tst_res(TFAIL, "%lli != %lli", val, 1048576LL); in do_test()
46 tst_res(TFAI in do_test()
[all...]
H A Dtest_timer.c27 tst_res(TPASS, "ns_diff = 0"); in test_diff()
29 tst_res(TFAIL, "ns_diff = %lli", diff); in test_diff()
34 tst_res(TPASS, "us_diff = 0"); in test_diff()
36 tst_res(TFAIL, "us_diff = %lli", diff); in test_diff()
41 tst_res(TPASS, "ms_diff = 0"); in test_diff()
43 tst_res(TFAIL, "ms_diff = %lli", diff); in test_diff()
54 tst_res(TPASS, "ts1 < ts2"); in test_lt()
56 tst_res(TFAIL, "ts1 >= ts2"); in test_lt()
61 tst_res(TFAIL, "ts1 < ts2"); in test_lt()
63 tst_res(TPAS in test_lt()
[all...]
/third_party/ltp/testcases/network/iptables/
H A Diptables_lib.sh60 tst_res TINFO "INIT: Flushing all rules"
84 tst_res TCONF "$toolname not applicable for test $1"
90 tst_res TINFO "$cmd will list all rules in table filter"
93 tst_res TFAIL "$cmd failed to list rules"
99 tst_res TFAIL "$cmd failed to list rules"
103 tst_res TINFO "$cmd lists rules"
108 tst_res TINFO "$cmd will list all rules in table nat"
111 tst_res TFAIL "$cmd failed to list rules"
117 tst_res TFAIL "$cmd failed to list rules"
121 tst_res TINF
[all...]
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl07.c41 tst_res(TFAIL, "sem_nsems = %lu, expected %lu", in verify_semctl()
44 tst_res(TPASS, "sem_nsems = %lu", arg.buf->sem_nsems); in verify_semctl()
48 tst_res(TFAIL, "sem_perm.uid = %d, expected %d", in verify_semctl()
51 tst_res(TPASS, "sem_perm.uid = %d", arg.buf->sem_perm.uid); in verify_semctl()
55 tst_res(TFAIL, "sem_perm.gid = %d, expected %d", in verify_semctl()
58 tst_res(TPASS, "sem_perm.gid = %d", arg.buf->sem_perm.gid); in verify_semctl()
62 tst_res(TFAIL, "sem_perm.cuid = %d, expected %d", in verify_semctl()
65 tst_res(TPASS, "sem_perm.cuid = %d", arg.buf->sem_perm.cuid); in verify_semctl()
69 tst_res(TFAIL, "sem_perm.cgid = %d, expected %d", in verify_semctl()
72 tst_res(TPAS in verify_semctl()
[all...]
H A Dsemctl01.c45 tst_res(TPASS, "buf.sem_nsems and buf.sem_perm.mode are correct"); in func_stat()
47 tst_res(TFAIL, "semaphore STAT info is incorrect"); in func_stat()
60 tst_res(TPASS, "buf.sem_perm.mode is correct"); in func_set()
62 tst_res(TFAIL, "semaphore mode info is incorrect"); in func_set()
71 tst_res(TFAIL, "semaphore %d has unexpected value", i); in func_gall()
75 tst_res(TPASS, "semaphores have expected values"); in func_gall()
122 tst_res(TPASS, "number of sleeping processes is correct"); in func_cnt()
124 tst_res(TFAIL, "number of sleeping processes is not correct"); in func_cnt()
155 tst_res(TPASS, "last pid value is correct"); in func_pid()
157 tst_res(TFAI in func_pid()
[all...]
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
H A Dmsgrcv07.c64 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_EXCEPT) failed"); in test_msg_except()
68 tst_res(TPASS, "msgrcv(MSG_EXCEPT) succeeded"); in test_msg_except()
71 tst_res(TPASS, "MSG_EXCEPT excepted MSGTYPE2 and got MSGTYPE1"); in test_msg_except()
73 tst_res(TFAIL, "MSG_EXCEPT didn't get MSGTYPE1 message"); in test_msg_except()
91 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_NOERROR) failed"); in test_msg_noerror()
95 tst_res(TPASS, "msgrcv(MSG_NOERROR) succeeded"); in test_msg_noerror()
98 tst_res(TPASS, "MSG_NOERROR truncated message correctly"); in test_msg_noerror()
100 tst_res(TFAIL, "MSG_NOERROR truncated message incorrectly"); in test_msg_noerror()
112 tst_res(TCONF, "MSG_COPY not supported"); in test_msg_copy()
125 tst_res(TCON in test_msg_copy()
[all...]
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
H A Dcgroup_fj_function.sh35 tst_res TCONF "Controller mounted on cgroup2 hierarchy, skipping test"
40 tst_res TFAIL "Failed to attach task"
45 tst_res TFAIL "Failed to attach task"
49 tst_res TPASS "Task attached successfully"
57 tst_res TCONF "Controller mounted on cgroup2 hierarchy, skipping test"
64 tst_res TFAIL "Failed to move $start_path/ltp_2 to $start_path/ltp_3"
70 tst_res TFAIL "Failed to remove $start_path/ltp_3"
74 tst_res TPASS "Successfully moved $start_path/ltp_2 to $start_path/ltp_3"
82 tst_res TCONF "Controller mounted on cgroup2 hierarchy, skipping test"
89 tst_res TFAI
[all...]
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl01.c33 tst_res(TFAIL | TTERRNO, "msgctl() returned %li", TST_RET); in verify_msgctl()
37 tst_res(TPASS, "msgctl(IPC_STAT)"); in verify_msgctl()
40 tst_res(TPASS, "msg_stime = 0"); in verify_msgctl()
42 tst_res(TFAIL, "msg_stime = %lu", (unsigned long)buf.msg_stime); in verify_msgctl()
45 tst_res(TPASS, "msg_rtime = 0"); in verify_msgctl()
47 tst_res(TFAIL, "msg_rtime = %lu", (unsigned long)buf.msg_rtime); in verify_msgctl()
50 tst_res(TPASS, "msg_ctime = %lu, expected %lu", in verify_msgctl()
53 tst_res(TFAIL, "msg_ctime = %lu, expected %lu", in verify_msgctl()
58 tst_res(TPASS, "msg_qnum = 0"); in verify_msgctl()
60 tst_res(TFAI in verify_msgctl()
[all...]
/third_party/ltp/testcases/kernel/controllers/pids/
H A Dpids.sh49 tst_res TINFO "test starts with cgroup version $cgroup_version"
96 tst_res TFAIL "fork failed unexpectedly"
98 tst_res TPASS "fork didn't fail"
100 tst_res TBROK "pids_task1 failed"
109 tst_res TINFO "limit the number of pid to $max"
119 tst_res TPASS "fork failed as expected"
121 tst_res TFAIL "fork didn't fail despite the limit"
123 tst_res TBROK "pids_task1 failed"
132 tst_res TINFO "limit the number of avalaible pid to $lim"
141 tst_res TFAI
[all...]
/third_party/ltp/testcases/kernel/syscalls/times/
H A Dtimes03.c71 tst_res(TFAIL | TERRNO, "times failed"); in generate_stime()
87 tst_res(TFAIL, "buf1.tms_utime = %li", buf1.tms_utime); in verify_times()
89 tst_res(TPASS, "buf1.tms_utime <= 5"); in verify_times()
92 tst_res(TFAIL, "buf1.tms_stime = %li", buf1.tms_stime); in verify_times()
94 tst_res(TPASS, "buf1.tms_stime <= 5"); in verify_times()
103 tst_res(TFAIL, "buf2.tms_utime = 0"); in verify_times()
105 tst_res(TPASS, "buf2.tms_utime = %li", buf2.tms_utime); in verify_times()
108 tst_res(TFAIL, "buf1.tms_utime (%li) >= buf2.tms_utime (%li)", in verify_times()
111 tst_res(TPASS, "buf1.tms_utime (%li) < buf2.tms_utime (%li)", in verify_times()
116 tst_res(TFAI in verify_times()
[all...]
/third_party/ltp/libs/libltpsigwait/
H A Dsigwait.c27 tst_res(TPASS, "Wait interrupted by expected signal"); in test_empty_set()
29 tst_res(TFAIL | TTERRNO, "Expected error number EINTR, got"); in test_empty_set()
31 tst_res(TFAIL, "Expected return value -1, got: %ld", TST_RET); in test_empty_set()
57 tst_res(TPASS, "Wait interrupted by timeout"); in test_timeout()
59 tst_res(TFAIL | TTERRNO, "Expected error number EAGAIN, got"); in test_timeout()
61 tst_res(TFAIL, "Expected return value -1, got: %ld", TST_RET); in test_timeout()
88 tst_res(TPASS, "struct siginfo is correct"); in test_unmasked_matching()
90 tst_res(TFAIL, "struct siginfo mismatch"); in test_unmasked_matching()
92 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_unmasked_matching()
113 tst_res(TPAS in test_unmasked_matching_noinfo()
[all...]
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_tpm.sh29 tst_res TINFO "used algorithm: $ALGORITHM"
33 tst_res TINFO "$ERRMSG_TPM, testing TPM-bypass"
35 tst_res TINFO "TPM major version: $TPM_VERSION"
46 tst_res TINFO "TPM kernel config:"
48 tst_res TINFO "$i"
157 tst_res TFAIL "evmctl failed, trying with --ignore-violations"
165 [ $ret -ne 0 ] && tst_res TWARN "evmctl failed, trying to continue $msg"
171 tst_res $res "failed to find aggregate PCR-10 $msg"
172 tst_res TINFO "hash file:"
185 tst_res TPAS
[all...]
/third_party/ltp/testcases/kernel/syscalls/setns/
H A Dsetns02.c47 tst_res(TFAIL|TERRNO, CP"uname"); in do_child_newuts()
48 tst_res(TINFO, CP"hostname (inherited from parent): %s", in do_child_newuts()
52 tst_res(TFAIL|TERRNO, CP"sethostname"); in do_child_newuts()
54 tst_res(TFAIL|TERRNO, CP"uname"); in do_child_newuts()
56 tst_res(TINFO, CP"hostname changed to: %s", uts.nodename); in do_child_newuts()
58 tst_res(TFAIL, CP"expected hostname to be different"); in do_child_newuts()
61 tst_res(TPASS, CP"hostname is different in parent/child"); in do_child_newuts()
64 tst_res(TINFO, CP"attempting to switch ns back to parent ns"); in do_child_newuts()
66 tst_res(TFAIL|TERRNO, CP"setns"); in do_child_newuts()
70 tst_res(TFAI in do_child_newuts()
[all...]
/third_party/ltp/testcases/kernel/logging/kmsg/
H A Dkmsg01.c232 tst_res(TINFO, "TEST: nonblock read"); in test_read_nonblock()
237 tst_res(TPASS, "non-block read returned EAGAIN"); in test_read_nonblock()
239 tst_res(TFAIL|TTERRNO, "non-block read returned: %ld", in test_read_nonblock()
248 tst_res(TINFO, "TEST: blocking read"); in test_read_block()
253 tst_res(TPASS, "read blocked"); in test_read_block()
255 tst_res(TFAIL|TTERRNO, "read returned: %ld", TST_RET); in test_read_block()
264 tst_res(TINFO, "TEST: partial read"); in test_partial_read()
269 tst_res(TPASS|TTERRNO, "read failed as expected"); in test_partial_read()
271 tst_res(TFAIL, "read returned: %ld", TST_RET); in test_partial_read()
282 tst_res(TINF in test_inject()
[all...]
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx01.c62 tst_res(TCONF, "stx_mnt_id is not supported until linux 5.8"); in test_mnt_id()
77 tst_res(TINFO, "%s doesn't contain %"PRIu64" %d:%d", in test_mnt_id()
85 tst_res(TPASS, in test_mnt_id()
89 tst_res(TFAIL, in test_mnt_id()
105 tst_res(TPASS, in test_normal_file()
112 tst_res(TPASS, "stx_uid(%u) is correct", buff.stx_uid); in test_normal_file()
114 tst_res(TFAIL, "stx_uid(%u) is different from euid(%u)", in test_normal_file()
118 tst_res(TPASS, "stx_gid(%u) is correct", buff.stx_gid); in test_normal_file()
120 tst_res(TFAIL, "stx_gid(%u) is different from egid(%u)", in test_normal_file()
124 tst_res(TPAS in test_normal_file()
[all...]
/third_party/ltp/testcases/kernel/syscalls/add_key/
H A Dadd_key05.c50 tst_res(TINFO, "Created user %s", pw->pw_name); in add_user()
61 tst_res(TWARN | TERRNO, "'userdel -r %s' failed", username); in clean_user()
88 tst_res(TINFO, "test max bytes under unprivileged user"); in verify_max_bytes()
93 tst_res(TFAIL | TTERRNO, "add key test2 failed"); in verify_max_bytes()
109 tst_res(TFAIL, "add_key(test_inv) succeeded unexpectedltly"); in verify_max_bytes()
113 tst_res(TPASS | TTERRNO, "add_key(test_inv) failed as expected"); in verify_max_bytes()
115 tst_res(TFAIL | TTERRNO, "add_key(test_inv) failed expected EDQUOT got"); in verify_max_bytes()
120 tst_res(TFAIL | TTERRNO, "add key test3 failed"); in verify_max_bytes()
125 tst_res(TFAIL | TTERRNO, "add key test4 failed"); in verify_max_bytes()
132 tst_res(TFAI in verify_max_bytes()
[all...]
/third_party/ltp/testcases/network/lib6/
H A Din6_02.c50 tst_res(TINFO, "IPv6 if_nametoindex() test"); in if_nametoindex_test()
54 tst_res(TCONF, "LHOST_IFACES not defined or invalid"); in if_nametoindex_test()
60 tst_res(TFAIL, "if_nametoindex(%s) %ld [should be %szero]", in if_nametoindex_test()
68 tst_res(TFAIL, in if_nametoindex_test()
75 tst_res(TINFO, "if_nametoindex(%s) %ld", in if_nametoindex_test()
79 tst_res(TPASS, "if_nametoindex() test succeeded"); in if_nametoindex_test()
90 tst_res(TFAIL, in sub_if_indextoname_test()
95 tst_res(TINFO, "if_indextoname(%d) returns NULL", if_index); in sub_if_indextoname_test()
101 tst_res(TFAIL, in sub_if_indextoname_test()
106 tst_res(TINF in sub_if_indextoname_test()
[all...]
H A Din6_01.c62 tst_res(TINFO, "type of in6.s6_addr[0] is uint8_t"); in test_in6_addr()
64 tst_res(TFAIL, "sizeof(in6.s6_addr) != 16"); in test_in6_addr()
66 tst_res(TPASS, "sizeof(in6.s6_addr) == 16"); in test_in6_addr()
90 tst_res(TPASS, "all sockaddr_in6 fields present and correct"); in test_sockaddr_in6()
99 tst_res(TINFO, "IN6ADDR_ANY_INIT present"); in test_global_in6_def()
101 tst_res(TINFO, "in6addr_any present and correct"); in test_global_in6_def()
103 tst_res(TFAIL, "in6addr_any incorrect value"); in test_global_in6_def()
107 tst_res(TINFO, "IN6ADDR_LOOPBACK_INIT present"); in test_global_in6_def()
109 tst_res(TINFO, "in6addr_loopback present and correct"); in test_global_in6_def()
111 tst_res(TFAI in test_global_in6_def()
[all...]
/third_party/ltp/testcases/network/nfs/nfsstat01/
H A Dnfsstat01.sh35 tst_res TINFO "checking RPC calls for server/client"
40 tst_res TINFO "calls $server_calls/$client_calls"
42 tst_res TINFO "Checking for tracking of RPC calls for server/client"
47 tst_res TINFO "new calls $new_server_calls/$new_client_calls"
50 tst_res TFAIL "server RPC calls not increased"
52 tst_res TPASS "server RPC calls increased"
56 tst_res TFAIL "client RPC calls not increased"
58 tst_res TPASS "client RPC calls increased"
61 tst_res TINFO "checking NFS calls for server/client"
72 tst_res TINF
[all...]
H A Dnfsstat0137 tst_res TINFO "checking RPC calls for server/client"
42 tst_res TINFO "calls $server_calls/$client_calls"
44 tst_res TINFO "Checking for tracking of RPC calls for server/client"
49 tst_res TINFO "new calls $new_server_calls/$new_client_calls"
52 tst_res TFAIL "server RPC calls not increased"
54 tst_res TPASS "server RPC calls increased"
58 tst_res TFAIL "client RPC calls not increased"
60 tst_res TPASS "client RPC calls increased"
63 tst_res TINFO "checking NFS calls for server/client"
74 tst_res TINF
[all...]
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl07.c52 tst_res(TPASS, "PR_CAP_AMBIENT_RAISE %s succeeded", message); in check_cap_raise()
54 tst_res(TFAIL, "PR_CAP_AMBIENT_RAISE %s failed unexpectedly", in check_cap_raise()
59 tst_res(TFAIL, in check_cap_raise()
63 tst_res(TPASS, in check_cap_raise()
66 tst_res(TFAIL | TTERRNO, in check_cap_raise()
76 tst_res(val ? TPASS : TFAIL, in check_cap_is_set()
79 tst_res(val ? TFAIL : TPASS, in check_cap_is_set()
82 tst_res(TFAIL | TTERRNO, "PR_CAP_AMBIENT_IS_SET failed"); in check_cap_is_set()
89 tst_res(TFAIL | TTERRNO, in check_cap_lower()
92 tst_res(TPAS in check_cap_lower()
[all...]
/third_party/ltp/testcases/kernel/syscalls/acct/
H A Dacct02.c65 tst_res(TINFO, ACCT_V3 "=%c", kconfig.choice); in acct_version_is_3()
86 tst_res(TINFO, "ac_comm != '%s' ('%s')", COMMAND, in verify_acct()
97 tst_res(TINFO, "ac_btime_diff %u", btime_diff); in verify_acct()
102 tst_res(TINFO, "ac_uid != %d (%d)", getuid(), in verify_acct()
108 tst_res(TINFO, "ac_gid != %d (%d)", getgid(), in verify_acct()
115 tst_res(TINFO, "user_time/clock_ticks > 1 (%d/%d: %.2f)", in verify_acct()
122 tst_res(TINFO, "sys_time/clock_ticks > 1 (%d/%d: %.2f)", in verify_acct()
129 tst_res(TINFO, "elap_time/clock_ticks >= 2 (%d/%d: %.2f)", in verify_acct()
135 tst_res(TINFO, "ac_exitcode != %d (%d)", rc, in verify_acct()
143 tst_res(TINF in verify_acct()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/zram/
H A Dzram_lib.sh63 tst_res TINFO "create '$dev_num' zram device(s)"
67 tst_res TINFO "zram module already loaded, kernel supports zram-control interface"
76 tst_res TPASS "all zram devices (/dev/zram$dev_start~$dev_end) successfully created"
94 tst_res TPASS "all zram devices (/dev/zram0~$dev_end) successfully created"
100 tst_res TCONF "The device attribute max_comp_streams was"\
105 tst_res TINFO "set max_comp_streams to zram device(s)"
119 tst_res TINFO "$sys_path = '$max_streams'"
122 tst_res TPASS "test succeeded"
128 tst_res TCONF "device attribute comp_algorithm is"\
136 tst_res TINF
[all...]
/third_party/ltp/testcases/commands/ar/
H A Dar01.sh32 tst_res TPASS "$AR added new file after another (-a)"
34 tst_res TFAIL "$AR failed to add new file after another (-a)"
51 tst_res TPASS "$AR moved file correctly (-ma)"
53 tst_res TFAIL "$AR failed to move file (-ma)"
69 tst_res TPASS "$AR added new file before another (-b)"
71 tst_res TFAIL "$AR failed to add new file before another (-b)"
88 tst_res TPASS "$AR moved file correctly (-mb)"
90 tst_res TFAIL "$AR failed to move file (-mb)"
102 tst_res TFAIL "$AR produced output unexpectedly (-c)"
105 tst_res TPAS
[all...]

Completed in 11 milliseconds

12345678910>>...56