Home
last modified time | relevance | path

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

12345678910>>...60

/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/open/
Dopen10.c134 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_A); in main()
139 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_A); in main()
144 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_A); in main()
150 tst_resm(TFAIL, "%s: Incorrect modes, setgid bit set", in main()
157 tst_resm(TFAIL, "%s: Incorrect group (got %d and %d)", in main()
167 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_B); in main()
172 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_B); in main()
177 tst_resm(TFAIL | TERRNO, "chmod(%s) failed", DIR_B); in main()
182 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_B); in main()
188 tst_resm(TFAIL, in main()
[all …]
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c145 tst_resm(TFAIL, "Creation of %s failed", DIR_A); in main()
150 tst_resm(TFAIL, "Chown of %s failed", DIR_A); in main()
155 tst_resm(TFAIL, "Stat of %s failed", DIR_A); in main()
161 tst_resm(TFAIL, "%s: Incorrect modes, setgid bit set", in main()
168 tst_resm(TFAIL, "%s: Incorrect group", DIR_A); in main()
179 tst_resm(TFAIL, "Creation of %s failed", DIR_B); in main()
184 tst_resm(TFAIL, "Chown of %s failed", DIR_B); in main()
189 tst_resm(TFAIL, "Chmod of %s failed", DIR_B); in main()
194 tst_resm(TFAIL, "Stat of %s failed", DIR_B); in main()
200 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, "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 …]
Dfcntl13.c62 tst_resm(TFAIL, "fcntl(2) failed to FAIL"); in main()
64 tst_resm(TFAIL, "Expected EINVAL got %d", errno); in main()
70 tst_resm(TFAIL, "F_SETLK: fcntl(2) failed to FAIL"); in main()
72 tst_resm(TFAIL, "F_SETLK: Expected EFAULT got %d", in main()
79 tst_resm(TFAIL, "F_SETLKW: fcntl(2) failed to FAIL"); in main()
81 tst_resm(TFAIL, "F_SETLKW: Expected EFAULT got %d", in main()
88 tst_resm(TFAIL, "F_GETLK: fcntl(2) failed to FAIL"); in main()
90 tst_resm(TFAIL, "F_GETLK: Expected EFAULT got %d", in main()
105 tst_resm(TFAIL, "fcntl(2) failed to FAIL"); in main()
107 tst_resm(TFAIL, "Expected EINVAL, got %d", errno); 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 …]
Dshmt04.c90 tst_resm(TFAIL, "Error: shmget: shmid = %d, errno = %d\n", in main()
101 tst_resm(TFAIL, in main()
122 tst_resm(TFAIL, "Waited on the wrong child"); in main()
123 tst_resm(TFAIL, in main()
134 tst_resm(TFAIL, "shmdt"); in main()
157 tst_resm(TFAIL, in child()
165 tst_resm(TFAIL, in child()
170 tst_resm(TFAIL, "child: not A\n"); in child()
173 tst_resm(TFAIL, "child: not B\n"); in child()
176 tst_resm(TFAIL, "child: not C\n"); in child()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl07.c72 tst_resm(TFAIL, "semctl() failed errno = %d", errno); in main()
82 tst_resm(TFAIL, "error: unexpected number of sems %lu", in main()
87 tst_resm(TFAIL, "error: unexpected uid %d", in main()
92 tst_resm(TFAIL, "error: unexpected gid %d", in main()
97 tst_resm(TFAIL, "error: unexpected cuid %d", in main()
102 tst_resm(TFAIL, "error: unexpected cgid %d", in main()
107 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno); in main()
112 tst_resm(TFAIL, "SEMCTL(SETVAL) failed errno = %d", errno); in main()
116 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno); in main()
120 tst_resm(TFAIL, "error: unexpected value %d", status); in main()
[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/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 …]
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl07.c84 tst_brkm(TFAIL | TERRNO, NULL, "msgget() failed"); in main()
91 tst_brkm(TFAIL, NULL, in main()
103 tst_resm(TFAIL | TERRNO, "signal failed"); in main()
116 tst_resm(TFAIL | TERRNO, "msgsnd() failed"); in main()
124 tst_brkm(TFAIL, NULL, "test failed. status = %d", in main()
131 tst_brkm(TFAIL, NULL, in main()
143 tst_resm(TFAIL | TERRNO, "signal failed"); in main()
156 tst_resm(TFAIL | TERRNO, "msgsnd() failed"); in main()
165 tst_resm(TFAIL | TERRNO, "msgsnd() failed"); in main()
174 tst_resm(TFAIL | TERRNO, "msgsnd() failed"); 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 …]
/external/ltp/testcases/network/iproute/
Dip_tests.sh80 tst_resm TFAIL "ip command failed"
89 tst_resm TFAIL "MTU value set to $MTUSZ, but expected 1281"
99 tst_resm TFAIL "'ip link show $iface' command failed"
113 tst_resm TFAIL "'ip addr add' command failed"
120 tst_resm TFAIL "'ip addr show' command failed"
127 tst_resm TFAIL "'ip addr del' command failed"
133 tst_resm TFAIL "ip addr del command failed"
146 tst_resm TFAIL "'ip neigh replace' command failed"
157 tst_resm TFAIL "'ip neigh show' command failed"
163 tst_resm TFAIL "expected output differs from actual output"
[all …]
/external/ltp/testcases/kernel/io/stress_floppy/
Dstress_floppy74 tst_resm TFAIL "Format failed!"
87 tst_resm TFAIL "$the_file Tar write failed!"
94 tst_resm TFAIL "$the_file Tar read failed!"
101 tst_resm TFAIL "Diff of the $the_file tar files failed!"
116 tst_resm TFAIL "Could not create dumpdir directory in $TCtmp"
122 tst_resm TFAIL "$the_file dump write failed!"
133 tst_resm TFAIL "$the_file restore read failed!"
145 tst_resm TFAIL \
166 tst_resm TFAIL "$the_file cpio write failed!"
173 tst_resm TFAIL "Could not change to $TCtmp directory!"
[all …]
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-inode-version/
Dext4_inode_version_test.sh38 tst_resm TFAIL "failed to create ext4 filesystem"
46 tst_resm TFAIL "failed to mount ext4 filesystem"
56 tst_resm TFAIL "inode version is smaller than 1"
68 tst_resm TFAIL "inode version is not 32 bits"
75 tst_resm TFAIL "failed to umount ext4 filesystem"
88 tst_resm TFAIL "failed to create ext4 filesystem"
94 tst_resm TFAIL "failed to mount ext4 filesystem"
101 tst_resm TFAIL "inode version is wrong"
108 tst_resm TFAIL "failed to umount ext4 filesystem"
115 tst_resm TFAIL "failed to mount to ext3"
[all …]
/external/ltp/testcases/kernel/pty/
Dptem01.c80 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1()
84 tst_brkm(TFAIL, NULL, "TCGETS"); in test1()
88 tst_brkm(TFAIL, NULL, "TCSETS"); in test1()
92 tst_brkm(TFAIL, NULL, "TCSETSW"); in test1()
96 tst_brkm(TFAIL, NULL, "TCSETSF"); in test1()
100 tst_brkm(TFAIL, NULL, "TCSETS"); in test1()
104 tst_brkm(TFAIL, NULL, "TCGETA"); in test1()
108 tst_brkm(TFAIL, NULL, "TCSETA"); in test1()
112 tst_brkm(TFAIL, NULL, "TCSETAW"); in test1()
116 tst_brkm(TFAIL, NULL, "TCSETAF"); in test1()
[all …]

12345678910>>...60