Home
last modified time | relevance | path

Searched refs:TWARN (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c134 tst_resm(TWARN, "test_setup() failed," in main()
153 tst_resm(TWARN | TERRNO, in main()
161 tst_resm(TWARN, "child exitied with signal %d", in main()
200 tst_resm(TWARN | TERRNO, "unlink(%s) failed", file_name); in cleanup()
211 tst_resm(TWARN | TERRNO, "getcwd() failed in test_setup()"); in test_setup()
227 tst_resm(TWARN | TERRNO, "open() failed in test_setup()"); in test_setup()
243 tst_resm(TWARN | TERRNO, "sigaction() failed in test_setup()"); in test_setup()
324 tst_resm(TWARN | TERRNO, "close failed in test_FILES"); in test_FILES()
342 tst_resm(TWARN | TERRNO, "tst_get_tmpdir failed"); in test_FS()
345 tst_resm(TWARN | TERRNO, "chdir failed in test_FS"); in test_FS()
[all …]
Dclone06.c76 tst_resm(TWARN | TERRNO, "close(pfd[1]) failed"); in main()
85 tst_resm(TWARN | TERRNO, "close(pfd[0]) failed"); in main()
130 tst_resm(TWARN | TERRNO, "sprintf() failed"); in child_environ()
133 tst_resm(TWARN | TERRNO, "write to pipe failed"); in child_environ()
137 tst_resm(TWARN | TERRNO, "close(pfd[1]) failed"); in child_environ()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c147 tst_resm(TWARN | TERRNO, in test_rwflag()
165 tst_resm(TWARN | TERRNO, in test_rwflag()
172 tst_resm(TWARN | TERRNO, "mknod(2) failed to create %s", in test_rwflag()
183 tst_resm(TWARN | TERRNO, "opening %s failed", file); in test_rwflag()
203 tst_resm(TWARN | TERRNO, in test_rwflag()
212 tst_resm(TWARN | TERRNO, "writing to %s failed", file); in test_rwflag()
219 tst_resm(TWARN, "lseek() failed on %s, error=" in test_rwflag()
228 tst_resm(TWARN, "Data read from %s and written " in test_rwflag()
237 tst_resm(TWARN | TERRNO, "read() Fails on %s", file); in test_rwflag()
247 tst_resm(TWARN | TTERRNO, "mount(2) failed to remount"); in test_rwflag()
[all …]
/external/ltp/lib/
Dtst_device.c142 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", dev); in attach_device()
148 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", file); in attach_device()
156 tst_resm(TWARN | TERRNO, "ioctl(%s, LOOP_SET_FD, %s) failed", in attach_device()
171 tst_resm(TWARN | TERRNO, in attach_device()
187 tst_resm(TWARN | TERRNO, "open(%s) failed", dev); in detach_device()
202 tst_resm(TWARN, in detach_device()
213 tst_resm(TWARN, in detach_device()
234 tst_resm(TWARN | TERRNO, "stat() failed"); in tst_acquire_device__()
239 tst_resm(TWARN, "%s is not a block device", dev); in tst_acquire_device__()
245 tst_resm(TWARN | TERRNO, in tst_acquire_device__()
[all …]
Dsafe_file_ops.c87 tst_resm(TWARN, in file_scanf()
100 tst_resm(TWARN, in file_scanf()
107 tst_resm(TWARN, in file_scanf()
114 tst_resm(TWARN, in file_scanf()
124 tst_resm(TWARN, in file_scanf()
236 tst_resm(TWARN, in file_printf()
245 tst_resm(TWARN, in file_printf()
254 tst_resm(TWARN, in file_printf()
264 tst_resm(TWARN, in file_printf()
Dtst_run_cmd.c125 tst_resm(TWARN | TERRNO, in tst_run_cmd_()
135 tst_resm(TWARN | TERRNO, in tst_run_cmd_()
144 tst_resm(TWARN | TERRNO, in tst_run_cmd_()
149 tst_resm(TWARN | TERRNO, in tst_run_cmd_()
Dtst_timer.c61 tst_res(TWARN | TERRNO, "tst_clock_gettime() failed"); in tst_timer_start()
69 tst_res(TWARN | TERRNO, "tst_clock_gettime() failed"); in tst_timer_expired_ms()
77 tst_res(TWARN | TERRNO, "tst_clock_gettime() failed"); in tst_timer_stop()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill02.c242 tst_resm(TWARN, in main()
256 tst_resm(TWARN, in main()
478 tst_resm(TWARN, in child1_rout()
768 tst_resm(TWARN, in usr1_rout()
773 tst_resm(TWARN, in usr1_rout()
778 tst_resm(TWARN, in usr1_rout()
783 tst_resm(TWARN, in usr1_rout()
787 tst_resm(TWARN, in usr1_rout()
818 tst_resm(TWARN | TERRNO, "kill() failed"); in par_kill()
819 tst_resm(TWARN, in par_kill()
[all …]
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace01.c142 tst_resm(TWARN, "sigaction() failed" in main()
232 tst_resm(TWARN, "sigaction() failed in child"); in do_child()
237 tst_resm(TWARN, "ptrace() failed in child"); in do_child()
242 tst_resm(TWARN, "kill() failed in child"); in do_child()
274 tst_resm(TWARN, "kill() failed in child_handler()"); in child_handler()
Dptrace02.c142 tst_resm(TWARN, "sigaction() failed" in main()
233 tst_resm(TWARN, "sigaction() failed in child"); in do_child()
238 tst_resm(TWARN, "ptrace() failed in child"); in do_child()
244 tst_resm(TWARN, "kill() failed in child"); in do_child()
276 tst_resm(TWARN, "kill() failed in child_handler()"); in child_handler()
/external/ltp/testcases/kernel/syscalls/rename/
Drename09.c128 tst_resm(TWARN, "setreuid failed to " in main()
138 tst_resm(TWARN, "mkdir(%s, %#o) Failed", in main()
163 tst_resm(TWARN, "seteuid() failed"); in main()
170 tst_resm(TWARN, "mkdir(%s, %#o) failed", in main()
193 tst_resm(TWARN, "seteuid(0) failed"); in main()
/external/ltp/testcases/kernel/syscalls/swapon/
Dswapon03.c266 tst_resm(TWARN, "sprintf() failed to create filename"); in clean_swap()
267 tst_resm(TWARN, "Failed to turn off swap files. System" in clean_swap()
273 tst_resm(TWARN, "Failed to turn off swap file %s.", in clean_swap()
281 tst_resm(TWARN, "Failed to turn off swap file %s.", in clean_swap()
300 tst_resm(TWARN, in check_and_swapoff()
311 tst_resm(TWARN, "Failed to turn off swap " in check_and_swapoff()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns13.c64 tst_resm(TWARN, "cinit(pid %d): control should have not reached here!", in child_signal_handler()
203 tst_resm(TWARN, "parent: waitpid(cpid2) failed."); in main()
206 tst_resm(TWARN, "parent: cinit2 is terminated by signal(%s)", in main()
210 tst_resm(TWARN, "parent: waitpid(cpid1) failed."); in main()
213 tst_resm(TWARN, "parent: cinit1 is terminated by signal(%s)", in main()
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe04.c128 tst_resm(TWARN, "Could not close fildes[1] - errno %d", in main()
168 tst_resm(TWARN | TERRNO, "call to signal failed"); in main()
194 tst_resm(TWARN, "call to alarm(0) failed"); in main()
223 tst_resm(TWARN, "Could not close fildes[0] - errno %d", errno); in c1func()
232 tst_resm(TWARN, "Could not close fildes[0] - errno %d", errno); in c2func()
/external/ltp/testcases/kernel/syscalls/lstat/
Dlstat01.c191 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", in setup()
197 tst_resm(TWARN, "symlink(%s, %s) Failed, errno=%d : %s", in setup()
200 tst_resm(TWARN, "readlink(%s, buf, 255) Failed, errno=%d : %s", in setup()
203 tst_resm(TWARN, in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c164 tst_brkm(TWARN, NULL, in runtest()
217 tst_brkm(TWARN, in runtest()
236 tst_resm(TWARN, "\tWrong number of children waited on!"); in runtest()
237 tst_brkm(TWARN, NULL, "\tSaw %d, expected %d", count, in runtest()
244 tst_brkm(TWARN, NULL, "\tCore file found in test directory."); in runtest()
252 tst_brkm(TWARN, in runtest()
303 tst_brkm(TWARN, NULL, "\tsignal SIGTERM received by parent."); in term()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages03.c98 tst_resm(TWARN | TERRNO, "error post semaphore"); in child()
102 tst_resm(TWARN | TERRNO, "error wait semaphore"); in child()
163 tst_resm(TWARN | TERRNO, "error wait semaphore"); in main()
179 tst_resm(TWARN | TERRNO, "error post semaphore"); in main()
Dmove_pages11.c99 tst_resm(TWARN, "error post semaphore: %s", strerror(errno)); in child()
103 tst_resm(TWARN, "error wait semaphore: %s", strerror(errno)); in child()
165 tst_resm(TWARN, "error wait semaphore: %s", in main()
179 tst_resm(TWARN, "error post semaphore: %s", in main()
Dmove_pages05.c99 tst_resm(TWARN | TERRNO, "error post semaphore"); in child()
103 tst_resm(TWARN | TERRNO, "error waiting for semaphore"); in child()
170 tst_resm(TWARN | TERRNO, "error wait semaphore"); in main()
192 tst_resm(TWARN | TERRNO, "error post semaphore"); in main()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c153 tst_resm(TWARN | TERRNO, "Failet to seteuid(0) before cleanup"); in cleanup()
156 tst_resm(TWARN | TERRNO, "Failed to close fd1"); in cleanup()
159 tst_resm(TWARN | TERRNO, "Failed to close fd3"); in cleanup()
162 tst_resm(TWARN | TERRNO, "umount device:%s failed", device); in cleanup()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl07.c179 tst_resm(TWARN | TERRNO, "close(file_fd) failed"); in cleanup()
182 tst_resm(TWARN | TERRNO, "close(pipe_fds[0]) failed"); in cleanup()
185 tst_resm(TWARN | TERRNO, "close(pipe_fds[1]) failed"); in cleanup()
188 tst_resm(TWARN | TERRNO, "close(fifo_fd) failed"); in cleanup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c419 tst_resm(TWARN | TERRNO, "unlink(%s) failed", setgid_A); in main()
421 tst_resm(TWARN | TERRNO, "unlink(%s) failed", in main()
424 tst_resm(TWARN | TERRNO, "rmdir(%s) failed", DIR_A); in main()
427 tst_resm(TWARN | TERRNO, "unlink(%s) failed", setgid_B); in main()
429 tst_resm(TWARN | TERRNO, "unlink(%s) failed", in main()
432 tst_resm(TWARN | TERRNO, "unlink(%s) failed", in main()
435 tst_resm(TWARN | TERRNO, "rmdir(%s) failed", DIR_B); in main()
/external/ltp/testcases/kernel/syscalls/setdomainname/
Dsetdomainname03.c150 tst_resm(TWARN, "seteuid failed to " in setup()
173 tst_resm(TWARN, "seteuid failed to " in cleanup()
181 tst_resm(TWARN, "setdomainname() failed while restoring" in cleanup()
/external/ltp/testcases/kernel/syscalls/sethostname/
Dsethostname03.c143 tst_resm(TWARN, "seteuid failed to " in setup()
168 tst_resm(TWARN, "seteuid failed to " in cleanup()
175 tst_resm(TWARN, "sethostname() failed while restoring" in cleanup()
/external/ltp/testcases/kernel/syscalls/reboot/
Dreboot02.c132 tst_resm(TWARN, "skipping the test"); in main()
166 tst_resm(TWARN, "\"nobody\" user not present. skipping test"); in setup_test()
170 tst_resm(TWARN, "seteuid failed to " in setup_test()

12345678910>>...13