Home
last modified time | relevance | path

Searched refs:TFAIL (Results 1 – 25 of 1462) sorted by relevance

12345678910>>...59

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh69 tst_resm TFAIL "set general group parameter failed."
76 tst_resm TFAIL "allocate memory on the Node#$node(Expect: Node#0)."
86 tst_resm TFAIL "set general group parameter failed."
93 tst_resm TFAIL "allocate memory on the Node#$node(Expect: Node#0)."
103 tst_resm TFAIL "set general group parameter failed."
110 tst_resm TFAIL "allocate memory on the Node#$node(Expect: Node#0)."
120 tst_resm TFAIL "set general group parameter failed."
127 tst_resm TFAIL "allocate memory on the Node#$node(Expect: Node#0)."
137 tst_resm TFAIL "set general group parameter failed."
144 tst_resm TFAIL "allocate memory on the Node#$node(Expect: Node#0)."
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/
Dcpuset_memory_pressure_testset.sh51 tst_resm TFAIL "Closing memory_pressure_enabled failed."
59 tst_resm TFAIL "Memory_pressure had memory pressure rate."
70 tst_resm TFAIL "Closing memory_pressure_enabled failed."
80 tst_resm TFAIL "Memory_pressure had memory pressure rate."
91 tst_resm TFAIL "Opening memory_pressure_enabled failed."
98 tst_resm TFAIL "set general group parameter failed."
106 tst_resm TFAIL "root group's memory_pressure had memory pressure rate."
110 tst_resm TFAIL "sub group's memory_pressure had memory pressure rate."
122 tst_resm TFAIL "Opening memory_pressure_enabled failed."
129 tst_resm TFAIL "set general group parameter failed."
[all …]
/third_party/ltp/lib/newlib_tests/
Dtest_parse_filesize.c18 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); 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()
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()
42 tst_res(TFAIL, "%lli != %lli", val, 1048576LL); in do_test()
46 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test()
51 tst_res(TFAIL, "%lli != %lli", val, 1073741824LL); in do_test()
56 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test()
61 tst_res(TFAIL, "%lli != %lli", val, 1024LL); in do_test()
[all …]
/third_party/ltp/testcases/kernel/fs/stream/
Dstream03.c82 tst_resm(TFAIL, "file pointer descrepancy 1"); in main()
88 tst_brkm(TFAIL, NULL, "fwrite failed: %s", in main()
95 tst_resm(TFAIL, in main()
106 tst_resm(TFAIL, in main()
114 tst_brkm(TFAIL, NULL, "fseek failed: %s", in main()
121 tst_resm(TFAIL, in main()
129 tst_brkm(TFAIL, NULL, "fseek failed: %s", in main()
136 tst_resm(TFAIL, in main()
144 tst_brkm(TFAIL, NULL, "fseek failed: %s", in main()
151 tst_resm(TFAIL, in main()
[all …]
Dstream05.c77 tst_brkm(TFAIL, NULL, "fopen(%s) a+ failed: %s", in main()
85 tst_brkm(TFAIL, NULL, "fopen(%s) r+ failed: %s", in main()
92 tst_resm(TFAIL, "ferror did not return zero: %s", in main()
100 tst_resm(TFAIL, "Test failed in block0."); in main()
111 tst_brkm(TFAIL, NULL, "read failed: %s", in main()
115 tst_resm(TFAIL, "read did not read right number"); in main()
119 tst_resm(TFAIL, "read returned bad values"); in main()
125 tst_resm(TFAIL, "Test failed in block1."); in main()
136 tst_brkm(TFAIL, NULL, "fopen(%s) r+ failed: %s", in main()
141 tst_resm(TFAIL, in main()
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_testset.sh57 tst_resm TFAIL "mkdir -p $TEST_CPUSET fail."
62 tst_resm TFAIL "set $TEST_CPUSET/cupset.cpus as $1 fail."
67 tst_resm TFAIL "set $TEST_CPUSET/cpuset.mems as $2 fail."
74 tst_resm TFAIL "Attaching test task into group fail."
92 tst_resm TFAIL "Test task exited abnormally.(expect return value is 0)"
97 tst_resm TFAIL "Test task exited abnormally.(expect return value is !0)"
110 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\""
122 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\""
134 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"1\""
146 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0-1\""
[all …]
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c77 tst_resm(TFAIL | TERRNO, "fcntl(.., 1) failed"); in main()
80 tst_resm(TFAIL, "new fd has unexpected value: " in main()
84 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[3]) failed"); in main()
87 tst_resm(TFAIL, "new fd has unexpected value, got %d, " in main()
91 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[5]) failed"); in main()
94 tst_resm(TFAIL, "new fd has unexpected value: " in main()
99 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main()
108 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main()
113 tst_resm(TFAIL | TERRNO, "fcntl(.., O_APPEND) failed"); in main()
117 tst_resm(TFAIL, "unexpected flag ox%x, expected 0x%x", in main()
[all …]
Dfcntl19.c104 tst_resm(TFAIL, "Couldn't open temp file! errno = %d", errno); in setup()
108 tst_resm(TFAIL, "Couldn't write to temp file! errno = %d", in setup()
117 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup()
137 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in do_child()
170 tst_resm(TFAIL, "lock type is wrong should be %s is %s", in compare_lock()
176 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", in compare_lock()
182 tst_resm(TFAIL, "region starts in wrong place, should be" in compare_lock()
188 tst_resm(TFAIL, in compare_lock()
195 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock()
206 tst_resm(TFAIL, "fcntl on file failed, errno =%d", errno); in unlock_file()
[all …]
Dfcntl21.c102 tst_resm(TFAIL, "Couldn't open temp file! errno = %d", errno); in setup()
106 tst_resm(TFAIL, "Couldn't write to temp file! errno = %d", in setup()
115 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup()
141 tst_resm(TFAIL, "fcntl on file failed, errno =%d", in do_child()
177 tst_resm(TFAIL, "lock type is wrong should be %s is %s", in compare_lock()
183 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", in compare_lock()
189 tst_resm(TFAIL, "region starts in wrong place, should be" in compare_lock()
195 tst_resm(TFAIL, in compare_lock()
202 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock()
213 tst_resm(TFAIL, "fcntl on file failed, errno =%d", errno); in unlock_file()
[all …]
Dfcntl20.c105 tst_resm(TFAIL | TERRNO, "mkstemp failed"); in setup()
114 tst_brkm(TFAIL | TERRNO, cleanup, "SIGCHLD signal setup failed"); in setup()
134 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in do_child()
169 tst_resm(TFAIL, "lock type is wrong should be %s is %s", in compare_lock()
175 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", in compare_lock()
181 tst_resm(TFAIL, "region starts in wrong place, should be" in compare_lock()
187 tst_resm(TFAIL, in compare_lock()
194 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock()
205 tst_resm(TFAIL, "fcntl on file failed, errno =%d", errno); in unlock_file()
232 tst_resm(TFAIL, "couldn't send message to child"); in parent_put()
[all …]
Dfcntl17.c109 tst_resm(TFAIL, "Couldn't create parent_pipe! errno = %d", in setup()
114 tst_resm(TFAIL, "Couldn't create child_pipe1! errno = %d", in setup()
119 tst_resm(TFAIL, "Couldn't create child_pipe2! errno = %d", in setup()
124 tst_resm(TFAIL, "Couldn't create child_pipe3! errno = %d", in setup()
132 tst_resm(TFAIL, "Couldn't open temp file! errno = %d", errno); in setup()
136 tst_resm(TFAIL, "Couldn't write to temp file! errno = %d", in setup()
145 tst_resm(TFAIL, "SIGALRM signal setup failed, errno: %d", in setup()
155 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup()
295 tst_resm(TFAIL, "fcntl on file failed, errno =%d", errno); in do_test()
300 tst_resm(TFAIL, "lock type is wrong should be %s is %s", in do_test()
[all …]
Dfcntl11.c101 tst_resm(TFAIL, "Couldn't open temp file! errno = %d", errno); in setup()
123 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in do_child()
156 tst_resm(TFAIL, "lock type is wrong should be %s is %s", in compare_lock()
160 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", in compare_lock()
164 tst_resm(TFAIL, "region starts in wrong place, should be " in compare_lock()
168 tst_resm(TFAIL, in compare_lock()
173 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock()
182 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in unlock_file()
238 tst_brkm(TFAIL, cleanup, "Unexpected death of child process"); in catch_child()
284 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in main()
[all …]
Dfcntl14.c578 tst_resm(TFAIL, "SIGUSR1 signal setup failed, errno = %d", in setup()
588 tst_resm(TFAIL, "SIGALRM signal setup failed"); in setup()
596 tst_resm(TFAIL, "Attempt to send signal to parent " "failed"); in wake_parent()
597 tst_resm(TFAIL, "Test case %d, errno = %d", test + 1, errno); in wake_parent()
628 tst_resm(TFAIL, "Attempt to check lock status failed"); in dochild()
629 tst_resm(TFAIL, "Test case %d, errno = %d", test + 1, errno); in dochild()
635 tst_resm(TFAIL, in dochild()
643 tst_resm(TFAIL, in dochild()
651 tst_resm(TFAIL, in dochild()
660 tst_resm(TFAIL, in dochild()
[all …]
/third_party/ltp/testcases/kernel/mem/shmt/
Dshmt06.c89 tst_resm(TFAIL, "Error: shmget: shmid = %d, errno = %d", in main()
100 tst_resm(TFAIL, in main()
121 tst_resm(TFAIL, "Waited on the wrong child"); in main()
122 tst_resm(TFAIL, in main()
133 tst_resm(TFAIL, "shmdt"); in main()
155 tst_resm(TFAIL, in child()
163 tst_resm(TFAIL, in child()
168 tst_resm(TFAIL, "child: not A"); in child()
171 tst_resm(TFAIL, "child: not B"); in child()
174 tst_resm(TFAIL, "child: not C"); in child()
[all …]
/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest3.c101 tst_resm(TFAIL | TERRNO, "valloc for buf1 failed"); in runtest()
105 tst_resm(TFAIL | TERRNO, "valloc for buf2 failed"); in runtest()
113 tst_resm(TFAIL | TERRNO, "lseek (fd_w, ..) failed"); in runtest()
117 tst_resm(TFAIL | TERRNO, "write failed"); in runtest()
123 tst_resm(TFAIL | TERRNO, "fsync failed"); in runtest()
128 tst_resm(TFAIL | TERRNO, "lseek(fd_r, ..) failed"); in runtest()
132 tst_resm(TFAIL | TERRNO, "read failed"); in runtest()
136 tst_resm(TFAIL, in runtest()
155 tst_resm(TFAIL | TERRNO, in child_function()
161 tst_resm(TFAIL | TERRNO, in child_function()
[all …]
Ddiotest6.c126 tst_resm(TFAIL, "lseek before write failed: %s", in runtest()
132 tst_resm(TFAIL | TERRNO, "writev failed, ret = %zd", n); in runtest()
138 tst_resm(TFAIL, "fsync failed: %s", in runtest()
144 tst_resm(TFAIL, "lseek before read failed: %s", in runtest()
150 tst_resm(TFAIL | TERRNO, "readv failed, ret = %zd", n); in runtest()
154 tst_resm(TFAIL, "comparsion failed. Child=%d offset=%d", in runtest()
181 tst_resm(TFAIL, "fd_w open failed for %s: %s", in child_function()
186 tst_resm(TFAIL, "fd_r open failed for %s: %s", in child_function()
193 tst_resm(TFAIL, "Read Direct-child %d failed", in child_function()
203 tst_resm(TFAIL, "fd_w open failed for %s: %s", filename, in child_function()
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_load_balance_test.sh75 tst_resm TFAIL "set root group parameter failed."
82 tst_resm TFAIL "set general group parameter failed."
92 tst_resm TFAIL "There is something wrong with test tasks"
100 tst_resm TFAIL "attach test tasks to group "\
111 tst_resm TFAIL "send the signal to fork the child tasks " \
120 tst_resm TFAIL "forking test tasks failed"
128 tst_resm TFAIL "send the signal to run the child tasks " \
138 tst_resm TFAIL "send the signal to stop the child tasks " \
146 tst_resm TFAIL "load balance test failed."
185 tst_resm TFAIL "set root group parameter failed."
[all …]
/third_party/ltp/testcases/kernel/syscalls/vfork/
Dvfork01.c128 tst_resm(TFAIL, "vfork() Failed, errno=%d : %s", in main()
137 tst_resm(TFAIL, "getresuid() fails to " in main()
144 tst_resm(TFAIL, "getresgid() fails to " in main()
169 tst_resm(TFAIL, "getcwd failed for the " in main()
180 tst_resm(TFAIL, "stat(2) failed to get " in main()
191 tst_resm(TFAIL, "stat(2) failed to get " in main()
202 tst_resm(TFAIL, "Attribute values of " in main()
212 tst_resm(TFAIL, "Working directories " in main()
227 tst_resm(TFAIL, "Device/inode number " in main()
245 tst_resm(TFAIL, "Device/inode number " in main()
[all …]
/third_party/ltp/testcases/network/iproute/
Dip_tests.sh65 tst_res TFAIL "ip command failed"
74 tst_res TFAIL "MTU value set to $MTUSZ, but expected 1281"
84 tst_res TFAIL "'ip link show $iface' command failed"
98 tst_res TFAIL "'ip addr add' command failed"
105 tst_res TFAIL "'ip addr show' command failed"
112 tst_res TFAIL "'ip addr del' command failed"
118 tst_res TFAIL "ip addr del command failed"
133 tst_res TFAIL "'ip neigh replace' command failed"
142 tst_res TFAIL "'ip neigh show' command failed"
148 tst_res TFAIL "expected output differs from actual output"
[all …]
/third_party/ltp/testcases/network/iptables/
Diptables_lib.sh93 tst_res TFAIL "$cmd failed to list rules"
99 tst_res TFAIL "$cmd failed to list rules"
111 tst_res TFAIL "$cmd failed to list rules"
117 tst_res TFAIL "$cmd failed to list rules"
129 tst_res TFAIL "$cmd failed to list rules"
135 tst_res TFAIL "$cmd failed to list rules"
152 tst_res TFAIL "$toolname command failed to append new rule"
162 tst_res TFAIL \
170 tst_res TFAIL "$toolname did not block $proto from $loc_addr"
181 tst_res TFAIL "$toolname blocking loopback. This is expected" \
[all …]
/third_party/ltp/testcases/kernel/pty/
Dptem01.c75 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1()
79 tst_brkm(TFAIL, NULL, "TCGETS"); in test1()
83 tst_brkm(TFAIL, NULL, "TCSETS"); in test1()
87 tst_brkm(TFAIL, NULL, "TCSETSW"); in test1()
91 tst_brkm(TFAIL, NULL, "TCSETSF"); in test1()
95 tst_brkm(TFAIL, NULL, "TCSETS"); in test1()
99 tst_brkm(TFAIL, NULL, "TCGETA"); in test1()
103 tst_brkm(TFAIL, NULL, "TCSETA"); in test1()
107 tst_brkm(TFAIL, NULL, "TCSETAW"); in test1()
111 tst_brkm(TFAIL, NULL, "TCSETAF"); in test1()
[all …]
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c864 TEST_RESULT = TFAIL; in ck_object()
869 TEST_RESULT = TFAIL; in ck_object()
880 TEST_RESULT = TFAIL; in ck_object()
1033 tst_resm(TFAIL, "%s %s", in do_EEXIST()
1044 tst_resm(TFAIL, "%s %s", in do_EEXIST()
1056 tst_resm(TFAIL, "%s %s errno:%d %s", in do_EEXIST()
1081 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT()
1090 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT()
1103 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT()
1114 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT()
[all …]
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl07.c41 tst_res(TFAIL, "sem_nsems = %lu, expected %lu", in verify_semctl()
48 tst_res(TFAIL, "sem_perm.uid = %d, expected %d", in verify_semctl()
55 tst_res(TFAIL, "sem_perm.gid = %d, expected %d", in verify_semctl()
62 tst_res(TFAIL, "sem_perm.cuid = %d, expected %d", in verify_semctl()
69 tst_res(TFAIL, "sem_perm.cgid = %d, expected %d", in verify_semctl()
76 tst_res(TFAIL | TERRNO, "semctl(GETVAL)"); in verify_semctl()
83 tst_res(TFAIL | TERRNO, "SEMCTL(SETVAL)"); in verify_semctl()
88 tst_res(TFAIL | TERRNO, "semctl(GETVAL)"); in verify_semctl()
93 tst_res(TFAIL, "semctl(GETVAL) returned %d expected %d", in verify_semctl()
100 tst_res(TFAIL | TERRNO, "semctl(GETPID)"); in verify_semctl()
[all …]
Dsemctl06.c110 tst_resm(TFAIL, "\tsignal failed. errno = %d", errno); in main()
116 tst_resm(TFAIL, in main()
136 tst_resm(TFAIL, "%s[%d] Test failed. exit=0x%x", prog, in main()
148 tst_resm(TFAIL, "\tWrong # children waited on, count = %d", in main()
156 tst_resm(TFAIL, "semctl06 failed"); in main()
173 tst_resm(TFAIL, "\tsemget() failed errno %d", errno); in dotest()
186 tst_resm(TFAIL, "\tfirst semop() failed errno %d", errno); in dotest()
192 tst_resm(TFAIL, "\tfork failed"); in dotest()
210 tst_resm(TFAIL, "\t%s:dotest[%d] exited status = 0x%x", in dotest()
222 tst_resm(TFAIL, "\tWrong # children waited on, count = %d", in dotest()
[all …]
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c33 tst_res(TFAIL | TTERRNO, "msgctl() returned %li", TST_RET); in verify_msgctl()
42 tst_res(TFAIL, "msg_stime = %lu", (unsigned long)buf.msg_stime); in verify_msgctl()
47 tst_res(TFAIL, "msg_rtime = %lu", (unsigned long)buf.msg_rtime); in verify_msgctl()
53 tst_res(TFAIL, "msg_ctime = %lu, expected %lu", in verify_msgctl()
60 tst_res(TFAIL, "msg_qnum = %li", (long)buf.msg_qnum); in verify_msgctl()
65 tst_res(TFAIL, "msg_qbytes = %li", (long)buf.msg_qbytes); in verify_msgctl()
70 tst_res(TFAIL, "msg_lspid = %u", (unsigned)buf.msg_lspid); in verify_msgctl()
75 tst_res(TFAIL, "msg_lrpid = %u", (unsigned)buf.msg_lrpid); in verify_msgctl()
80 tst_res(TFAIL, "msg_perm.__key == %u, expected %u", in verify_msgctl()
87 tst_res(TFAIL, "msg_perm.uid = %u, expected %u", in verify_msgctl()
[all …]

12345678910>>...59