Home
last modified time | relevance | path

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

123456789

/third_party/ltp/testcases/kernel/syscalls/clone/
Dclone02.c134 tst_resm(TWARN, "test_setup() failed, skipping this test case"); in main()
152 tst_resm(TWARN | TERRNO, in main()
160 tst_resm(TWARN, "child exitied with signal %d", in main()
199 tst_resm(TWARN | TERRNO, "unlink(%s) failed", file_name); in cleanup()
210 tst_resm(TWARN | TERRNO, "getcwd() failed in test_setup()"); in test_setup()
226 tst_resm(TWARN | TERRNO, "open() failed in test_setup()"); in test_setup()
242 tst_resm(TWARN | TERRNO, "sigaction() failed in test_setup()"); in test_setup()
323 tst_resm(TWARN | TERRNO, "close failed in test_FILES"); in test_FILES()
341 tst_resm(TWARN | TERRNO, "tst_get_tmpdir failed"); in test_FS()
344 tst_resm(TWARN | TERRNO, "chdir failed in test_FS"); in test_FS()
[all …]
/third_party/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 …]
/third_party/ltp/lib/
Dtst_device.c151 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", dev); in tst_attach_device()
157 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", file); in tst_attach_device()
165 tst_resm(TWARN | TERRNO, "ioctl(%s, LOOP_SET_FD, %s) failed", in tst_attach_device()
180 tst_resm(TWARN | TERRNO, in tst_attach_device()
200 tst_resm(TWARN | TERRNO, "stat() failed"); in tst_get_device_size()
205 tst_resm(TWARN, "%s is not a block device", dev_path); in tst_get_device_size()
211 tst_resm(TWARN | TERRNO, in tst_get_device_size()
217 tst_resm(TWARN | TERRNO, in tst_get_device_size()
224 tst_resm(TWARN | TERRNO, in tst_get_device_size()
245 tst_resm(TWARN, in tst_detach_device_by_fd()
[all …]
Dtst_cmd.c145 tst_resm(TWARN | TERRNO, in tst_cmd_()
155 tst_resm(TWARN | TERRNO, in tst_cmd_()
163 tst_resm(TWARN | TERRNO, in tst_cmd_()
168 tst_resm(TWARN | TERRNO, in tst_cmd_()
199 tst_resm(TWARN, "Could not run mkfs.ext4 -V 2>&1 cmd"); in mkfs_ext4_version_parser()
206 tst_resm(TWARN, "Unable to parse mkfs.ext4 version"); in mkfs_ext4_version_parser()
219 tst_resm(TWARN, "Illegal version(%s), should use format like 1.43.0", version); in mkfs_ext4_version_table_get()
224 tst_resm(TWARN, "Grabage after version"); in mkfs_ext4_version_table_get()
Dsafe_file_ops.c79 tst_resm_(file, lineno, TWARN, "Failed to open FILE '%s'", in file_scanf()
91 tst_resm_(file, lineno, TWARN, in file_scanf()
97 tst_resm_(file, lineno, TWARN, in file_scanf()
104 tst_resm_(file, lineno, TWARN, "Failed to close FILE '%s'", in file_scanf()
113 tst_resm_(file, lineno, TWARN, "Failed to close FILE '%s'", in file_scanf()
221 tst_resm_(file, lineno, TWARN, "Failed to open FILE '%s'", in file_printf()
229 tst_resm_(file, lineno, TWARN, "Failed to print to FILE '%s'", in file_printf()
237 tst_resm_(file, lineno, TWARN, "Failed to close FILE '%s'", in file_printf()
246 tst_resm_(file, lineno, TWARN, "Failed to close FILE '%s'", in file_printf()
Dtst_timer.c37 tst_res(TWARN | TERRNO, "tst_clock_gettime() failed"); in tst_timer_start()
45 tst_res(TWARN | TERRNO, "tst_clock_gettime() failed"); in tst_timer_expired_ms()
53 tst_res(TWARN | TERRNO, "tst_clock_gettime() failed"); in tst_timer_stop()
Dtst_ioctl.c20 tst_res(TWARN | TERRNO, in tst_fibmap()
33 tst_res(TWARN | TERRNO, "close(fd) failed"); in tst_fibmap()
Dtst_test.c136 tst_res(TWARN | TERRNO, "close(ipc_fd) failed"); in cleanup_ipc()
139 tst_res(TWARN | TERRNO, "unlink(%s) failed", shm_path); in cleanup_ipc()
181 case TWARN: in update_results()
215 case TWARN: in print_result()
258 tst_res_(file, lineno, TWARN, in print_result()
266 tst_res_(file, lineno, TWARN, in print_result()
304 ttype |= TWARN; in tst_cvres()
580 tst_res(TWARN, "Option -%c passed multiple times", opt); in parse_topt()
803 ret |= TWARN; in do_exit()
826 tst_res(TWARN, in check_kver()
[all …]
/third_party/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 …]
/third_party/ltp/testcases/kernel/syscalls/swapon/
Dswapon03.c197 tst_res(TWARN, "sprintf() failed to create filename"); in clean_swap()
198 tst_res(TWARN, "Failed to turn off swap files. System" in clean_swap()
204 tst_res(TWARN, "Failed to turn off swap file %s.", filename); in clean_swap()
211 tst_res(TWARN, "Failed to turn off swap file %s.", in clean_swap()
230 tst_res(TWARN, "sprintf() failed to create the command string"); in check_and_swapoff()
240 tst_res(TWARN, "Failed to turn off swap " in check_and_swapoff()
/third_party/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()
/third_party/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()
/third_party/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()
Dmove_pages_support.c317 tst_resm(TWARN | TERRNO, "unmapping of shared pages failed"); in free_shared_pages()
360 tst_resm(TWARN | TERRNO, "error freeing semaphore memory"); in alloc_sem()
378 tst_resm(TWARN | TERRNO, "error destroying semaphore"); in free_sem()
383 tst_resm(TWARN | TERRNO, "error freeing semaphore memory"); in free_sem()
/third_party/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()
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_kexec.sh72 tst_res TWARN "secure boot is enabled, kernel image may not be signed"
76 tst_res TWARN "'func=KEXEC_KERNEL_CHECK' appraise policy loaded, kernel image may not be signed"
103 tst_res TWARN "policy not readable, it might not contain required policy '$REQUIRED_POLICY'"
/third_party/ltp/testcases/lib/
Dtst_test.sh36 tst_res TWARN "TST_CLEANUP=$TST_CLEANUP declared, but function not defined (or cmd not found)"
42 tst_res TWARN "Failed to release device '$TST_DEVICE'"
95 TWARN) TST_WARN=$((TST_WARN+1));;
123 tst_res TWARN "$@"
335 tst_res TWARN "Failed to umount($mntpoint) after 50 retries"
617 *) tst_res TWARN "Reserved variable TST_$_tst_i used!";;
622 tst_res TWARN "Private variable or function _tst_$_tst_i used!"
Dtst_net.sh77 tst_res TWARN "TST_PARSE_ARGS_CALLER same as TST_PARSE_ARGS, unset it ($TST_PARSE_ARGS)"
81 tst_res TWARN "TST_SETUP_CALLER same as TST_SETUP, unset it ($TST_SETUP)"
85 tst_res TWARN "TST_USAGE_CALLER same as TST_USAGE, unset it ($TST_USAGE)"
175 tst_res_ TWARN "tst_rhost_run: command not defined"
248 tst_res_ TWARN "tst_net_run: command not defined"
258 [ $lret -ne 0 ] && tst_res_ TWARN "tst_net_run: lhost command failed: $lret"
259 [ $rret -ne 0 ] && tst_res_ TWARN "tst_net_run: rhost command failed: $rret"
759 tst_res_ TWARN "netstress failed, ret: $ret"
773 tst_res_ TWARN "netstress has warnings"
811 tst_res_ TWARN "$msg > threshold ${threshold_hi}%"
/third_party/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c237 tst_resm(TWARN | TERRNO, "close olddirfd failed"); in cleanup()
240 tst_resm(TWARN | TERRNO, "close newdirfd failed"); in cleanup()
243 tst_resm(TWARN | TERRNO, "close filefd failed"); in cleanup()
246 tst_resm(TWARN | TERRNO, "umount %s failed", MNTPOINT); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/renameat2/
Drenameat202.c106 tst_resm(TWARN | TERRNO, "close olddirfd failed"); in cleanup()
109 tst_resm(TWARN | TERRNO, "close newdirfd failed"); in cleanup()
112 tst_resm(TWARN | TERRNO, "close fd failed"); in cleanup()
/third_party/ltp/testcases/kernel/fs/fs_readonly/
Dtest_robind.sh75 tst_resm TWARN "umount dir3-ro failed"
84 tst_resm TWARN "umount dir2-bound failed"
93 tst_resm TWARN "umount dir1"
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify04.c61 tst_res(TWARN, in cleanup()
66 tst_res(TWARN, in cleanup()
136 tst_res(TWARN, in verify_inotify()
/third_party/ltp/testcases/kernel/syscalls/fstatfs/
Dfstatfs01.c117 tst_resm(TWARN | TERRNO, "close(file_fd) failed"); in cleanup()
120 tst_resm(TWARN | TERRNO, "close(pipe_fd) failed"); in cleanup()

123456789