/external/ltp/testcases/network/iptables/ |
D | iptables_tests.sh | 21 tst_res TINFO "INIT: Inititalizing tests." 31 tst_res TINFO "INIT: Flushing all rules." 58 tst_res TINFO "$cmd will list all rules in table filter." 71 tst_res TINFO "$cmd lists rules." 76 tst_res TINFO "$cmd will list all rules in table nat." 89 tst_res TINFO "$cmd lists rules." 94 tst_res TINFO "$cmd will list all rules in table mangle." 106 tst_res TINFO "$cmd lists rules." 115 tst_res TINFO "Use iptables to DROP packets from particular IP" 116 tst_res TINFO "Rule to block icmp from 127.0.0.1" [all …]
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl21.c | 327 tst_resm(TINFO, "Enter block 1"); in main() 350 tst_resm(TINFO, "Test block 1: FAILED"); in main() 352 tst_resm(TINFO, "Test block 1: PASSED"); in main() 354 tst_resm(TINFO, "Exit block 1"); in main() 357 tst_resm(TINFO, "Enter block 2"); in main() 381 tst_resm(TINFO, "Test block 2: FAILED"); in main() 383 tst_resm(TINFO, "Test block 2: PASSED"); in main() 386 tst_resm(TINFO, "Exit block 2"); in main() 389 tst_resm(TINFO, "Enter block 3"); in main() 432 tst_resm(TINFO, "Test block 3: FAILED"); in main() [all …]
|
D | fcntl18.c | 75 tst_resm(TINFO, "Enter block 1"); in main() 91 tst_resm(TINFO, "Block 1 FAILED"); in main() 93 tst_resm(TINFO, "Block 1 PASSED"); in main() 95 tst_resm(TINFO, "Exit block 1"); in main() 97 tst_resm(TINFO, "Skip block 1 on uClinux"); in main() 103 tst_resm(TINFO, "Enter block 2"); in main() 114 tst_resm(TINFO, "Block 2 FAILED"); in main() 116 tst_resm(TINFO, "Block 2 PASSED"); in main() 118 tst_resm(TINFO, "Exit block 2"); in main() 120 tst_resm(TINFO, "Skip block 2 on uClinux"); in main() [all …]
|
D | fcntl20.c | 320 tst_resm(TINFO, "Enter block 1"); in main() 355 tst_resm(TINFO, "Test block 1: FAILED"); in main() 357 tst_resm(TINFO, "Test block 1: PASSED"); in main() 359 tst_resm(TINFO, "Exit block 1"); in main() 362 tst_resm(TINFO, "Enter block 2"); in main() 398 tst_resm(TINFO, "Test block 2: FAILED"); in main() 400 tst_resm(TINFO, "Test block 2: PASSED"); in main() 401 tst_resm(TINFO, "Exit block 2"); in main() 404 tst_resm(TINFO, "Enter block 3"); in main() 441 tst_resm(TINFO, "Test block 3: FAILED"); in main() [all …]
|
D | fcntl19.c | 321 tst_resm(TINFO, "Enter block 1"); in main() 356 tst_resm(TINFO, "Test block 1: FAILED"); in main() 358 tst_resm(TINFO, "Test block 1: PASSED"); in main() 360 tst_resm(TINFO, "Exit block 1"); in main() 363 tst_resm(TINFO, "Enter block 2"); in main() 399 tst_resm(TINFO, "Test block 2: FAILED"); in main() 401 tst_resm(TINFO, "Test block 2: PASSED"); in main() 403 tst_resm(TINFO, "Exit block 2"); in main() 406 tst_resm(TINFO, "Enter block 3"); in main() 443 tst_resm(TINFO, "Test block 3: FAILED"); in main() [all …]
|
D | fcntl17.c | 189 tst_resm(TINFO, "child 1 starting"); in do_child1() 192 tst_resm(TINFO, "child 1 lock err %d", err); in do_child1() 195 tst_resm(TINFO, "child 1 pid %d locked", getpid()); in do_child1() 200 tst_resm(TINFO, "child 1 resuming"); in do_child1() 202 tst_resm(TINFO, "child 1 unlocked"); in do_child1() 205 tst_resm(TINFO, "child 1 exiting"); in do_child1() 221 tst_resm(TINFO, "child 2 starting"); in do_child2() 224 tst_resm(TINFO, "child 2 lock err %d", err); in do_child2() 227 tst_resm(TINFO, "child 2 pid %d locked", getpid()); in do_child2() 232 tst_resm(TINFO, "child 2 resuming"); in do_child2() [all …]
|
/external/ltp/testcases/kernel/syscalls/getpgid/ |
D | getpgid01.c | 80 tst_resm(TINFO, "%s PASSED", TCID); in main() 82 tst_resm(TINFO, "%s FAILED", TCID); in main() 87 tst_resm(TINFO, "Enter block 1"); in main() 95 tst_resm(TINFO, "Test block 1: getpgid(0) FAILED"); in main() 98 tst_resm(TINFO, "Exit block 1"); in main() 101 tst_resm(TINFO, "Enter block 2"); in main() 114 tst_resm(TINFO, "Test block 2: getpgid(getpid()) " in main() 119 tst_resm(TINFO, "Exit block 2"); in main() 122 tst_resm(TINFO, "Enter block 3"); in main() 136 tst_resm(TINFO, "Test block 3: getpgid(getppid()) " in main() [all …]
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | libftest.c | 34 tst_resm(TINFO, "\tBuf:"); in ft_dumpiov() 45 tst_resm(TINFO, "\t%" PRIx32 "x,", in ft_dumpiov() 48 tst_resm(TINFO, "\t%d*%" PRIx32 "x, ", i - idx, in ft_dumpiov() 55 tst_resm(TINFO, "\t ... more"); in ft_dumpiov() 61 tst_resm(TINFO, "\t%" PRIx32 "x", buf[idx] & 0xff); in ft_dumpiov() 63 tst_resm(TINFO, "\t%d*%" PRIx32 "x", i - idx, buf[idx]); in ft_dumpiov() 73 tst_resm(TINFO, "\tBits array:"); in ft_dumpbits() 76 tst_resm(TINFO, "\t%td:\t", 8 * (buf - bits)); in ft_dumpbits() 79 tst_resm(TINFO, "\t%td:\t", 8 * (buf - bits)); in ft_dumpbits() 81 tst_resm(TINFO, "\t%02" PRIx32 "x ", *((char *)buf) & 0xff); in ft_dumpbits() [all …]
|
/external/ltp/testcases/kernel/io/stress_floppy/ |
D | stress_floppy | 62 tst_resm TINFO "Floppy diskette drive fd0 available." 71 tst_resm TINFO "Testing format..." 84 tst_resm TINFO "Testing $the_file tar..." 90 tst_resm TINFO "$the_file Tar write passed." 97 tst_resm TINFO "$the_file Tar read passed." 104 tst_resm TINFO "Diff of the $the_file tar files passed." 113 tst_resm TINFO "Testing dump/restore..." 125 tst_resm TINFO "$the_file dump write passed." 136 tst_resm TINFO "$the_file restore read passed." 149 tst_resm TINFO \ [all …]
|
/external/ltp/testcases/kernel/mem/vmtests/ |
D | stack_space.c | 151 tst_resm(TINFO, "System resource may be too low.\n"); in runtest() 165 tst_resm(TINFO, "\t%s[%d] exited status = 0x%x\n", prog, child, in runtest() 169 tst_resm(TINFO, "\tFailed - expected 0 exit status.\n"); in runtest() 180 tst_resm(TINFO, "\tWrong # children waited on, count = %d\n", in runtest() 272 tst_resm(TINFO, "Prev "); in dotest() 275 tst_resm(TINFO, "Next "); in dotest() 289 tst_resm(TINFO, "Prev "); in dotest() 292 tst_resm(TINFO, "Next "); in dotest() 353 tst_resm(TINFO, "Buf: ... "); 355 tst_resm(TINFO, "%x, ", buf[i]); [all …]
|
D | data_space.c | 176 tst_resm(TINFO, "\t%s[%d] exited status = 0x%x\n", prog, child, in runtest() 304 tst_resm(TINFO, "\tPrev "); 307 tst_resm(TINFO, "\tNext "); 321 tst_resm(TINFO, "\tPrev "); 324 tst_resm(TINFO, "\tNext "); 345 tst_resm(TINFO, 385 tst_resm(TINFO, "Buf: ... "); 387 tst_resm(TINFO, "%x, ", buf[i]); 388 tst_resm(TINFO, "\n"); 398 tst_resm(TINFO, "%x, ", buf[idx] & 0xff); [all …]
|
/external/ltp/testcases/kernel/syscalls/getrusage/ |
D | getrusage03.c | 79 tst_resm(TINFO, "allocate 100MB"); in main() 98 tst_resm(TINFO, "Testcase #01: fork inherit"); in inherit_fork() 101 tst_resm(TINFO, "initial.self = %ld", ru.ru_maxrss); in inherit_fork() 109 tst_resm(TINFO, "child.self = %ld", ru.ru_maxrss); in inherit_fork() 124 tst_resm(TINFO, "Testcase #02: fork inherit(cont.)"); in inherit_fork2() 127 tst_resm(TINFO, "initial.children = %ld", ru.ru_maxrss); in inherit_fork2() 138 tst_resm(TINFO, "child.children = %ld", ru.ru_maxrss); in inherit_fork2() 153 tst_resm(TINFO, "Testcase #03: fork + malloc"); in fork_malloc() 156 tst_resm(TINFO, "initial.self = %ld", ru.ru_maxrss); in fork_malloc() 163 tst_resm(TINFO, "child allocate +50MB"); in fork_malloc() [all …]
|
/external/ltp/testcases/network/iproute/ |
D | ip_tests.sh | 34 tst_resm TINFO "inititalizing tests" 75 tst_resm TINFO "test 'ip link set' command" 76 tst_resm TINFO "changing mtu size of $iface device" 96 tst_resm TINFO "test 'ip link show' command (list device attributes)" 109 tst_resm TINFO "test 'ip addr' command with loopback dev" 110 tst_resm TINFO "add a new protocol address to the device" 118 tst_resm TINFO "show protocol address" 125 tst_resm TINFO "delete protocol address" 145 tst_resm TINFO "test 'ip neigh' command" 146 tst_resm TINFO "add a new neighbor (or replace existed)" [all …]
|
/external/ltp/testcases/commands/logrotate/ |
D | logrotate_tests.sh | 120 tst_resm TINFO "CLEAN: removing all cron jobs." 124 tst_resm TINFO "CLEAN: removing $LTPTMP" 150 tst_resm TINFO "Test #1: create a configfile $LTPTMP/var_mesg.config" 151 tst_resm TINFO "Test #1: use logrotate -f <config> to force rotation" 152 tst_resm TINFO "Test #1: this will rotate the log file according to" 153 tst_resm TINFO "Test #1: the specification in the configfile." 154 tst_resm TINFO "Test #1: 1. rotate /var/log/tst_logfile file." 155 tst_resm TINFO "Test #1: 2. compresses it." 260 tst_resm TINFO "Test #2: create a configfile $LTPTMP/tst_largelog.conf" 261 tst_resm TINFO "Test #2: logrotate $LTPTMP/tst_largelog.conf - cronjob" [all …]
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate04.c | 80 tst_res(TINFO, "reading the file, compare with expected buffer"); in check_file_data() 87 tst_res_hexd(TINFO, exp_buf, size, "expected:"); in check_file_data() 88 tst_res_hexd(TINFO, rbuf, size, "but read:"); in check_file_data() 96 tst_res(TINFO, "allocate '%zu' bytes", buf_size); in test01() 117 tst_res(TINFO, "read allocated file size '%zu'", alloc_size0); in test02() 118 tst_res(TINFO, "make a hole with FALLOC_FL_PUNCH_HOLE"); in test02() 134 tst_res(TINFO, "check that file has a hole with lseek(,,SEEK_HOLE)"); in test02() 144 tst_res(TINFO, "lseek() doesn't support SEEK_HOLE, " in test02() 151 tst_res(TINFO, "found a hole at '%ld' offset", ret); in test02() 156 tst_res(TINFO, "allocated file size before '%zu' and after '%zu'", in test02() [all …]
|
/external/ltp/testcases/kernel/syscalls/modify_ldt/ |
D | modify_ldt01.c | 118 tst_resm(TINFO, "Enter block 1"); in main() 137 tst_resm(TINFO, "block 1 FAILED"); in main() 139 tst_resm(TINFO, "block 1 PASSED"); in main() 141 tst_resm(TINFO, "Exit block 1"); in main() 148 tst_resm(TINFO, "Enter block 2"); in main() 168 tst_resm(TINFO, "block 2 FAILED"); in main() 170 tst_resm(TINFO, "block 2 PASSED"); in main() 172 tst_resm(TINFO, "Exit block 2"); in main() 180 tst_brkm(TINFO, cleanup, "Creation of segment failed"); in main() 203 tst_resm(TINFO, "block 3 FAILED"); in main() [all …]
|
D | modify_ldt02.c | 111 tst_resm(TINFO, "Enter block 1"); in main() 116 tst_brkm(TINFO, cleanup, "Creation of segment failed"); in main() 128 tst_resm(TINFO, "block 1 FAILED"); in main() 130 tst_resm(TINFO, "block 1 PASSED"); in main() 133 tst_resm(TINFO, "Exit block 1"); in main() 136 tst_resm(TINFO, "Enter block 2"); in main() 140 tst_brkm(TINFO, cleanup, "Creation of segment failed"); in main() 158 tst_resm(TINFO, "block 2 FAILED"); in main() 160 tst_resm(TINFO, "block 2 PASSED"); in main() 197 tst_resm(TINFO, "received signal: %d", sig); in sigsegv_handler() [all …]
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
D | zram_lib.sh | 27 tst_resm TINFO "zram cleanup" 48 tst_resm TINFO "create '$dev_num' zram device(s)" 71 tst_resm TINFO "set max_comp_streams to zram device(s)" 84 tst_resm TINFO "$sys_path = '$max_streams' ($i/$dev_num)" 99 tst_resm TINFO "test that we can set compression algorithm" 102 tst_resm TINFO "supported algs: $algs" 109 tst_resm TINFO "$sys_path = '$alg' ($i/$dev_num)" 117 tst_resm TINFO "set disk size to zram device(s)" 125 tst_resm TINFO "$sys_path = '$ds' ($i/$dev_num)" 140 tst_resm TINFO "set memory limit to zram device(s)" [all …]
|
D | zram03.c | 86 tst_resm(TINFO, "create a zram device with %ld bytes in size.", SIZE); in set_disksize() 95 tst_resm(TINFO, "map this zram device into memory."); in write_device() 100 tst_resm(TINFO, "write all the memory."); in write_device() 114 tst_resm(TINFO, "verify contents from device."); in verify_device() 141 tst_resm(TINFO, "reset it."); in reset() 185 tst_resm(TINFO, "%s is %s", filename, value); in print() 194 tst_resm(TINFO, "%s from %s is %s", nread, PATH_ZRAM_STAT, in print_stat() 196 tst_resm(TINFO, "%s from %s is %s", nwrite, PATH_ZRAM_STAT, in print_stat() 207 tst_resm(TINFO, "%s from %s is %s", orig, PATH_ZRAM_MM_STAT, in print_mm_stat() 209 tst_resm(TINFO, "%s from %s is %s", compr, PATH_ZRAM_MM_STAT, in print_mm_stat() [all …]
|
/external/ltp/testcases/kernel/sched/pthreads/ |
D | pth_str03.c | 205 tst_resm(TINFO, "thread %d started", my_index); in synchronize_children() 286 tst_resm(TINFO, "pthread_cond_timedwait (sync) %d: %s", in synchronize_children() 370 tst_resm(TINFO, "thread %d creating kids, cdepth=%d", my_index, in doit() 378 tst_resm(TINFO, "pthread_create (doit): %s", in doit() 422 tst_resm(TINFO, in doit() 434 tst_resm(TINFO, "thread %d is a leaf node, depth=%d", my_index, in doit() 466 tst_resm(TINFO, in doit() 503 tst_resm(TINFO, in doit() 516 tst_resm(TINFO, "thread %d exiting, depth=%d, status=%d, addr=%p", in doit() 534 tst_resm(TINFO, "pthread_mutex_init(node_mutex): %s", in main() [all …]
|
D | pth_str01.c | 188 tst_resm(TINFO, "thread %d started", my_index); in synchronize_children() 280 tst_resm(TINFO, in synchronize_children() 377 tst_resm(TINFO, "thread %d creating kids, cdepth=%d", my_index, in doit() 393 tst_resm(TINFO, "pthread_create (doit): %s\n", in doit() 445 tst_resm(TINFO, "thread %d is a leaf node, depth=%d", my_index, in doit() 481 tst_resm(TINFO, in doit() 520 tst_resm(TINFO, in doit() 535 tst_resm(TINFO, "thread %d exiting, depth=%d, status=%d, addr=%p", in doit() 556 tst_resm(TINFO, "pthread_mutex_init(node_mutex): %s\n", in main() 565 tst_resm(TINFO, "pthread_cond_init(node_condvar): %s\n", in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/statvfs/ |
D | statvfs01.c | 65 tst_resm(TINFO, "This call is similar to statfs"); in main() 66 tst_resm(TINFO, "Extracting info about the '%s' file system", in main() 68 tst_resm(TINFO, "file system block size = %lu bytes", buf.f_bsize); in main() 69 tst_resm(TINFO, "file system fragment size = %lu bytes", buf.f_frsize); in main() 70 tst_resm(TINFO, "file system free blocks = %ju", in main() 72 tst_resm(TINFO, "file system total inodes = %ju", in main() 74 tst_resm(TINFO, "file system free inodes = %ju", in main() 76 tst_resm(TINFO, "file system id = %lu", buf.f_fsid); in main() 77 tst_resm(TINFO, "file system max filename length = %lu", buf.f_namemax); in main()
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
D | syslogtst.c | 63 tst_resm(TINFO, in main() 75 tst_resm(TINFO, in main() 161 tst_resm(TINFO, in main() 193 tst_resm(TINFO, "/var/log/messages restored.."); in main() 202 tst_resm(TINFO, "openlog() without LOG_NDELAY option..."); in main() 206 tst_resm(TINFO, in main() 223 tst_resm(TINFO, "openlog() with LOG_NDELAY option..."); in main() 235 tst_resm(TINFO, "open() has returned expected fd: %d", in main() 310 tst_resm(TINFO, "SIGINT is received."); in sig_handler() 315 tst_resm(TINFO, "SIGTERM is received."); in sig_handler() [all …]
|
D | syslog06 | 41 tst_resm TINFO "syslog: Testing the log option: LOG_NDELAY..." 66 tst_resm TINFO " Test the logging option: LOG_NDELAY" 67 tst_resm TINFO " o Do openlog() without LOG_NDELAY option." 68 tst_resm TINFO " o open a file and check the returned file descriptor" 69 tst_resm TINFO " It should be 3." 70 tst_resm TINFO " o Now do openlog() with LOG_NDELAY option." 71 tst_resm TINFO " o open a file and check the returned file descriptor." 72 tst_resm TINFO " It should be greater than 3."
|
/external/ltp/testcases/network/stress/icmp/multi-diffip/ |
D | icmp4-multi-diffip01 | 58 tst_resm TINFO "Verify that the kernel is not crashed with receiving and sending various size of IC… 127 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 128 tst_resm TINFO "- Target number of the connection is $IP_TOTAL_FOR_TCPIP" 129 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 130 tst_resm TINFO "- Size of packets are ( $ICMP_SIZE_ARRAY )" 141 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 144 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 147 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" 180 tst_resm TINFO "This script cannot add more than $ipaddr_pair_num addresses" 206 …tst_resm TINFO "The number of IP address at the local host seems to reach the maximum. The number … [all …]
|