Home
last modified time | relevance | path

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

12345678910>>...59

/external/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 …]
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/
Dcpuset_memory_pressure_testset.sh49 tst_resm TFAIL "Closing memory_pressure_enabled failed."
57 tst_resm TFAIL "Memory_pressure had memory pressure rate."
68 tst_resm TFAIL "Closing memory_pressure_enabled failed."
78 tst_resm TFAIL "Memory_pressure had memory pressure rate."
89 tst_resm TFAIL "Opening memory_pressure_enabled failed."
96 tst_resm TFAIL "set general group parameter failed."
104 tst_resm TFAIL "root group's memory_pressure had memory pressure rate."
108 tst_resm TFAIL "sub group's memory_pressure had memory pressure rate."
120 tst_resm TFAIL "Opening memory_pressure_enabled failed."
127 tst_resm TFAIL "set general group parameter failed."
[all …]
/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid13.c96 tst_resm(TFAIL, "child returned bad status"); in main()
100 tst_resm(TFAIL, "%s FAILED", TCID); in main()
127 tst_resm(TFAIL | TERRNO, "self_exec kid %d " in main()
137 tst_resm(TFAIL | TERRNO, "forking kid %d failed", in main()
147 tst_resm(TFAIL, "Waitpid returned wrong value" in main()
149 tst_resm(TFAIL, "Expected 0 got %d", ret_val); in main()
162 tst_resm(TFAIL | TERRNO, "killing child %d failed", i); in main()
180 tst_resm(TFAIL, "Child %d is not " in main()
185 tst_resm(TFAIL, "Child %d " in main()
188 tst_resm(TFAIL, "Expected " in main()
[all …]
Dwaitpid12.c97 tst_resm(TFAIL, "child returned bad status"); in main()
101 tst_resm(TFAIL, "%s FAILED", TCID); in main()
127 tst_resm(TFAIL, "self_exec kid %d " in main()
135 tst_resm(TFAIL | TERRNO, "forking kid %d failed", in main()
145 tst_resm(TFAIL, "Waitpid returned wrong value"); in main()
146 tst_resm(TFAIL, "Expected 0 got %d", ret_val); in main()
159 tst_resm(TFAIL | TERRNO, "killing child %d failed", i); in main()
174 tst_resm(TFAIL, "Child %d did not exit " in main()
179 tst_resm(TFAIL, "Child %d exited with " in main()
181 tst_resm(TFAIL, "Expected 3 got %d", in main()
[all …]
Dwaitpid11.c97 tst_resm(TFAIL, "child returned bad status"); in main()
101 tst_resm(TFAIL, "%s FAILED", TCID); in main()
125 tst_resm(TFAIL | TERRNO, "self_exec kid %d " in main()
150 tst_resm(TFAIL | TERRNO, "Kill of child %d failed", i); in main()
163 tst_resm(TFAIL, "Child %d did not exit " in main()
168 tst_resm(TFAIL, "Child %d exited with " in main()
170 tst_resm(TFAIL, "Expected 3 got %d", in main()
192 tst_resm(TFAIL, "Did not find a fork_kid_pid " in main()
195 tst_resm(TFAIL, "fork_kid_pid[%d] = " in main()
199 tst_resm(TFAIL, "wait_kid_pid[%d] = " in main()
[all …]
Dwaitpid08.c100 tst_resm(TFAIL, "Fork Failed, may be OK under stress"); in main()
120 tst_resm(TFAIL, "child returned bad status"); in main()
124 tst_resm(TFAIL, "%s FAILED", TCID); in main()
141 tst_resm(TFAIL, "signal SIGINT failed. " "errno = %d", errno); in setup_sigint()
167 tst_resm(TFAIL, "Fork kid %d failed. " in do_child_1()
177 tst_resm(TFAIL, "Fork kid %d failed. " in do_child_1()
191 tst_resm(TFAIL, "Waitpid returned wrong value"); in do_child_1()
192 tst_resm(TFAIL, "Expected 0 got %d", ret_val); in do_child_1()
207 tst_brkm(TFAIL, NULL, "Kill of child %d " in do_child_1()
225 tst_resm(TFAIL, "Child %d did " in do_child_1()
[all …]
Dwaitpid09.c95 tst_brkm(TFAIL, cleanup, "Fork Failed"); in main()
114 tst_brkm(TFAIL, cleanup, "Fork failed."); in main()
118 tst_brkm(TFAIL, cleanup, in main()
134 tst_resm(TFAIL, "return value for " in main()
148 tst_resm(TFAIL, "Kill of child failed, " in main()
159 tst_resm(TFAIL, "Expected %d " in main()
166 tst_resm(TFAIL, "status value " in main()
176 tst_brkm(TFAIL, cleanup, "Second fork failed."); in main()
189 tst_resm(TFAIL, "proc id %d " in main()
196 tst_resm(TFAIL, "non zero " in main()
[all …]
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c142 tst_resm(TFAIL, "Creation of %s failed", DIR_A); in main()
147 tst_resm(TFAIL, "Chown of %s failed", DIR_A); in main()
152 tst_resm(TFAIL, "Stat of %s failed", DIR_A); in main()
158 tst_resm(TFAIL, "%s: Incorrect modes, setgid bit set", in main()
165 tst_resm(TFAIL, "%s: Incorrect group", DIR_A); in main()
176 tst_resm(TFAIL, "Creation of %s failed", DIR_B); in main()
181 tst_resm(TFAIL, "Chown of %s failed", DIR_B); in main()
186 tst_resm(TFAIL, "Chmod of %s failed", DIR_B); in main()
191 tst_resm(TFAIL, "Stat of %s failed", DIR_B); in main()
197 tst_resm(TFAIL, in main()
[all …]
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c128 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_A); in main()
133 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_A); in main()
138 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_A); in main()
144 tst_resm(TFAIL, "%s: Incorrect modes, setgid bit set", in main()
151 tst_resm(TFAIL, "%s: Incorrect group (got %d and %d)", in main()
161 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_B); in main()
166 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_B); in main()
171 tst_resm(TFAIL | TERRNO, "chmod(%s) failed", DIR_B); in main()
176 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_B); in main()
182 tst_resm(TFAIL, in main()
[all …]
/external/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 …]
/external/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/cpus as $1 fail."
67 tst_resm TFAIL "set $TEST_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 …]
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c76 tst_resm(TFAIL | TERRNO, "fcntl(.., 1) failed"); in main()
79 tst_resm(TFAIL, "new fd has unexpected value: " in main()
83 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[3]) failed"); in main()
86 tst_resm(TFAIL, "new fd has unexpected value, got %d, " in main()
90 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[5]) failed"); in main()
93 tst_resm(TFAIL, "new fd has unexpected value: " in main()
98 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main()
107 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main()
112 tst_resm(TFAIL | TERRNO, "fcntl(.., O_APPEND) failed"); in main()
116 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, "SIGCLD 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, "SIGCLD 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, "SIGCLD 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 …]
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl07.c71 tst_resm(TFAIL, "semctl() failed errno = %d", errno); in main()
81 tst_resm(TFAIL, "error: unexpected number of sems %lu", in main()
86 tst_resm(TFAIL, "error: unexpected uid %d", in main()
91 tst_resm(TFAIL, "error: unexpected gid %d", in main()
96 tst_resm(TFAIL, "error: unexpected cuid %d", in main()
101 tst_resm(TFAIL, "error: unexpected cgid %d", in main()
106 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno); in main()
111 tst_resm(TFAIL, "SEMCTL(SETVAL) failed errno = %d", errno); in main()
115 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno); in main()
119 tst_resm(TFAIL, "error: unexpected value %d", status); in main()
[all …]
/external/ltp/testcases/kernel/mem/shmt/
Dshmt06.c89 tst_resm(TFAIL, "Error: shmget: shmid = %d, errno = %d\n", 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\n"); in child()
171 tst_resm(TFAIL, "child: not B\n"); in child()
174 tst_resm(TFAIL, "child: not C\n"); in child()
[all …]
/external/ltp/testcases/network/iptables/
Diptables_tests.sh74 tst_resm TFAIL "$cmd failed to list rules."
80 tst_resm TFAIL "$cmd failed to list rules."
92 tst_resm TFAIL "$cmd failed to list rules."
98 tst_resm TFAIL "$cmd failed to list rules."
110 tst_resm TFAIL "$cmd failed to list rules."
116 tst_resm TFAIL "$cmd failed to list rules."
133 tst_resm TFAIL "iptables command failed to append new rule."
143 tst_resm TFAIL \
151 tst_resm TFAIL "iptables did not block icmp from 127.0.0.1"
159 tst_resm TFAIL "iptables did not remove the rule."
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl07.c91 tst_brkm(TFAIL | TERRNO, NULL, "msgget() failed"); in main()
98 tst_brkm(TFAIL, NULL, in main()
103 tst_brkm(TFAIL, NULL, "\tself_exec failed"); in main()
116 tst_resm(TFAIL | TERRNO, "signal failed"); in main()
129 tst_resm(TFAIL | TERRNO, "msgsnd() failed"); in main()
137 tst_brkm(TFAIL, NULL, "test failed. status = %d", in main()
144 tst_brkm(TFAIL, NULL, in main()
150 tst_brkm(TFAIL, NULL, "\tself_exec failed"); in main()
163 tst_resm(TFAIL | TERRNO, "signal failed"); in main()
176 tst_resm(TFAIL | TERRNO, "msgsnd() failed"); in main()
[all …]
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest3.c105 tst_resm(TFAIL | TERRNO, "valloc for buf1 failed"); in runtest()
109 tst_resm(TFAIL | TERRNO, "valloc for buf2 failed"); in runtest()
117 tst_resm(TFAIL | TERRNO, "lseek (fd_w, ..) failed"); in runtest()
121 tst_resm(TFAIL | TERRNO, "write failed"); in runtest()
127 tst_resm(TFAIL | TERRNO, "fsync failed"); in runtest()
132 tst_resm(TFAIL | TERRNO, "lseek(fd_r, ..) failed"); in runtest()
136 tst_resm(TFAIL | TERRNO, "read failed"); in runtest()
140 tst_resm(TFAIL, in runtest()
159 tst_resm(TFAIL | TERRNO, in child_function()
165 tst_resm(TFAIL | TERRNO, in child_function()
[all …]
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev04.c115 tst_resm(TFAIL, "signal() SIGTERM FAILED"); in main()
121 tst_resm(TFAIL, "signal() SIGPIPE FAILED"); in main()
129 tst_resm(TFAIL, "open(2) failed: fname = %s, " in main()
134 tst_resm(TFAIL, "write(2) failed: nbytes " in main()
141 tst_resm(TFAIL, "close failed: errno = %d", errno); in main()
146 tst_brkm(TFAIL, cleanup, "open failed: fname = %s, errno = %d", in main()
164 tst_resm(TFAIL, "Got error EFAULT"); in main()
166 tst_resm(TFAIL, "Received unexpected error: %d", in main()
173 tst_resm(TFAIL, "writev overwrote the file"); in main()
200 tst_resm(TFAIL, "Got error EFAULT"); in main()
[all …]
/external/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 …]
/external/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 …]
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c129 tst_brkm(TFAIL, cleanup, "fork() failed"); in main()
137 tst_resm(TFAIL, "setregid failed to " in main()
148 tst_resm(TFAIL, "setreuid failed to " in main()
162 tst_resm(TFAIL, "mkdir() failed to create" in main()
170 tst_resm(TFAIL, in main()
178 tst_resm(TFAIL, "failed to set S_ISGID bit"); in main()
189 tst_brkm(TFAIL, cleanup, in main()
204 tst_brkm(TFAIL, cleanup, "fork() failed"); in main()
211 tst_resm(TFAIL, "setregid failed to " in main()
221 tst_resm(TFAIL, "setreuid failed to " in main()
[all …]

12345678910>>...59