/external/ltp/testcases/network/iptables/ |
D | iptables_tests.sh | 33 tst_resm TINFO "INIT: Inititalizing tests." 43 tst_resm TINFO "INIT: Flushing all rules." 71 tst_resm TINFO "$cmd will list all rules in table filter." 84 tst_resm TINFO "$cmd lists rules." 89 tst_resm TINFO "$cmd will list all rules in table nat." 102 tst_resm TINFO "$cmd lists rules." 107 tst_resm TINFO "$cmd will list all rules in table mangle." 119 tst_resm TINFO "$cmd lists rules." 128 tst_resm TINFO "Use iptables to DROP packets from particular IP" 129 tst_resm 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 | 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 | 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 | 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() 125 tst_resm(TINFO, "Testcase #02: fork inherit(cont.)"); in inherit_fork2() 128 tst_resm(TINFO, "initial.children = %ld", ru.ru_maxrss); in inherit_fork2() 139 tst_resm(TINFO, "child.children = %ld", ru.ru_maxrss); in inherit_fork2() 155 tst_resm(TINFO, "Testcase #03: fork + malloc"); in fork_malloc() 158 tst_resm(TINFO, "initial.self = %ld", ru.ru_maxrss); in fork_malloc() 165 tst_resm(TINFO, "child allocate +50MB"); in fork_malloc() [all …]
|
/external/ltp/testcases/network/iproute/ |
D | ip_tests.sh | 33 tst_resm TINFO "inititalizing tests" 74 tst_resm TINFO "test 'ip link set' command" 75 tst_resm TINFO "changing mtu size of $iface device" 95 tst_resm TINFO "test 'ip link show' command (list device attributes)" 108 tst_resm TINFO "test 'ip addr' command with loopback dev" 109 tst_resm TINFO "add a new protocol address to the device" 117 tst_resm TINFO "show protocol address" 124 tst_resm TINFO "delete protocol address" 142 tst_resm TINFO "test 'ip neigh' command" 143 tst_resm TINFO "add a new neighbor (or replace existed)" [all …]
|
/external/ltp/testcases/commands/logrotate/ |
D | logrotate_tests.sh | 119 tst_resm TINFO "CLEAN: removing all cron jobs." 123 tst_resm TINFO "CLEAN: removing $LTPTMP" 149 tst_resm TINFO "Test #1: create a configfile $LTPTMP/var_mesg.config" 150 tst_resm TINFO "Test #1: use logrotate -f <config> to force rotation" 151 tst_resm TINFO "Test #1: this will rotate the log file according to" 152 tst_resm TINFO "Test #1: the specification in the configfile." 153 tst_resm TINFO "Test #1: 1. rotate /var/log/tst_logfile file." 154 tst_resm TINFO "Test #1: 2. compresses it." 254 tst_resm TINFO "Test #2: create a configfile $LTPTMP/tst_largelog.conf" 255 tst_resm TINFO "Test #2: logrotate $LTPTMP/tst_largelog.conf - cronjob" [all …]
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd02.c | 105 tst_resm(TINFO, "%s: can't run %s", TCID, pwd); in main() 131 tst_resm(TINFO, "Enter Block 1"); in do_block1() 142 tst_resm(TINFO, "Exit Block 1"); in do_block1() 153 tst_resm(TINFO, "Enter Block 2"); in do_block2() 160 tst_resm(TINFO, "Exit Block 2"); in do_block2() 171 tst_resm(TINFO, "Enter Block 3"); in do_block3() 178 tst_resm(TINFO, "Exit Block 3"); in do_block3() 191 tst_resm(TINFO, "Enter Block 4"); in do_block4() 198 tst_resm(TINFO, "Exit Block 4"); in do_block4() 205 tst_resm(TINFO, "Skipping Block 4 on uClinux"); in do_block4() [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)" 72 tst_resm TINFO "set max_comp_streams to zram device(s)" 86 tst_resm TINFO "$sys_path = '$max_streams' ($i/$dev_num)" 101 tst_resm TINFO "test that we can set compression algorithm" 105 tst_resm TINFO "supported algs: $algs" 112 tst_resm TINFO "$sys_path = '$alg' ($i/$dev_num)" 120 tst_resm TINFO "set disk size to zram device(s)" 128 tst_resm TINFO "$sys_path = '$ds' ($i/$dev_num)" 143 tst_resm TINFO "set memory limit to zram device(s)" [all …]
|
/external/ltp/testcases/commands/gzip/ |
D | gzip_tests.sh | 43 tst_resm TINFO "INIT: Inititalizing tests" 66 tst_resm TINFO "Test #$1: Creating $numdirs directories" 67 tst_resm TINFO "Test #$1: filling each dir with $numfiles files" 120 tst_resm TINFO "Test #1: gzip -r will recursively compress contents" \ 132 tst_resm TINFO "Test #1: creating output file" 135 tst_resm TINFO "Test #1: creating expected output file" 138 tst_resm TINFO "Test #1: comparing expected out and actual" \ 146 tst_resm TINFO "Test #1: expected same as actual" 158 tst_resm TINFO "Test #2: gunzip -r will recursively uncompress" \ 180 tst_resm TINFO "Test #2: creating output file" [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/fallocate/ |
D | fallocate04.c | 105 tst_resm(TINFO, "reading the file, compare with expected buffer"); in check_file_data() 112 tst_resm_hexd(TINFO, exp_buf, size, "expected:"); in check_file_data() 113 tst_resm_hexd(TINFO, rbuf, size, "but read:"); in check_file_data() 121 tst_resm(TINFO, "allocate '%zu' bytes", buf_size); in test01() 142 tst_resm(TINFO, "read allocated file size '%zu'", alloc_size0); in test02() 143 tst_resm(TINFO, "make a hole with FALLOC_FL_PUNCH_HOLE"); in test02() 159 tst_resm(TINFO, "check that file has a hole with lseek(,,SEEK_HOLE)"); in test02() 169 tst_resm(TINFO, "lseek() doesn't support SEEK_HOLE, " in test02() 176 tst_resm(TINFO, "found a hole at '%ld' offset", ret); in test02() 181 tst_resm(TINFO, "allocated file size before '%zu' and after '%zu'", in test02() [all …]
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
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."
|
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 …]
|
/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 …]
|
/external/ltp/testcases/commands/cron/ |
D | cron_tests.sh | 85 $LTPBIN/tst_resm TINFO "Test #1: crontab <filename> installs the crontab file" 86 $LTPBIN/tst_resm TINFO "Test #1: cron schedules the job listed in crontab file." 112 $LTPBIN/tst_resm TINFO "Test #1: Installing cron job ... " 122 $LTPBIN/tst_resm TINFO "Test #1: Cronjob installed successfully" 134 $LTPBIN/tst_resm TINFO "Test #1: /var/log/cron: Trying altenate log..." 145 $LTPBIN/tst_resm TINFO \ 216 $LTPBIN/tst_res TINFO $LTPTMP/tst1_cron.log \ 231 $LTPBIN/tst_resm TINFO "Test #1: /var/log/cron: alternate..." 261 $LTPBIN/tst_resm TINFO "Test #2: crontab -r removes the crontab file." 276 $LTPBIN/tst_resm TINFO "Test #2: installing crontab file." [all …]
|