/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..." 74 tst_resm TFAIL "Format failed!" 76 tst_resm TPASS "Format successful." 84 tst_resm TINFO "Testing $the_file tar..." 87 tst_resm TFAIL "$the_file Tar write failed!" 90 tst_resm TINFO "$the_file Tar write passed." 94 tst_resm TFAIL "$the_file Tar read failed!" 97 tst_resm TINFO "$the_file Tar read passed." 101 tst_resm TFAIL "Diff of the $the_file tar files failed!" [all …]
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl21.c | 102 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 …]
|
D | fcntl19.c | 104 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 …]
|
D | fcntl20.c | 105 tst_resm(TFAIL | TERRNO, "mkstemp 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() 240 tst_resm(TFAIL, "couldn't get message from child"); in parent_get() [all …]
|
D | fcntl17.c | 109 tst_resm(TFAIL, "Couldn't create parent_pipe! errno = %d", in setup() 114 tst_resm(TFAIL, "Couldn't create child_pipe1! errno = %d", in setup() 119 tst_resm(TFAIL, "Couldn't create child_pipe2! errno = %d", in setup() 124 tst_resm(TFAIL, "Couldn't create child_pipe3! errno = %d", in setup() 132 tst_resm(TFAIL, "Couldn't open temp file! errno = %d", errno); in setup() 136 tst_resm(TFAIL, "Couldn't write to temp file! errno = %d", in setup() 145 tst_resm(TFAIL, "SIGALRM signal setup failed, errno: %d", in setup() 155 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup() 189 tst_resm(TINFO, "child 1 starting"); in do_child1() 192 tst_resm(TINFO, "child 1 lock err %d", err); in do_child1() [all …]
|
D | fcntl18.c | 75 tst_resm(TINFO, "Enter block 1"); in main() 78 tst_resm(TFAIL, "file opening error"); in main() 85 tst_resm(TPASS, "Test F_GETLK: for errno EFAULT PASSED"); in main() 87 tst_resm(TFAIL, "Test F_GETLK: for errno EFAULT FAILED"); 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() 108 tst_resm(TPASS, "Test F_GETLK64: for errno EFAULT PASSED"); in main() [all …]
|
D | fcntl13.c | 62 tst_resm(TFAIL, "fcntl(2) failed to FAIL"); in main() 64 tst_resm(TFAIL, "Expected EINVAL got %d", errno); in main() 66 tst_resm(TPASS, "got EINVAL"); 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() 75 tst_resm(TPASS, "F_SETLK: got EFAULT"); 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() 84 tst_resm(TPASS, "F_SETLKW: got EFAULT"); in main() 88 tst_resm(TFAIL, "F_GETLK: fcntl(2) failed to FAIL"); in main() [all …]
|
D | fcntl11.c | 101 tst_resm(TFAIL, "Couldn't open temp file! errno = %d", errno); in setup() 123 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in do_child() 156 tst_resm(TFAIL, "lock type is wrong should be %s is %s", in compare_lock() 160 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", in compare_lock() 164 tst_resm(TFAIL, "region starts in wrong place, should be " in compare_lock() 168 tst_resm(TFAIL, in compare_lock() 173 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock() 182 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in unlock_file() 277 tst_resm(TINFO, "Enter block 1"); in main() 284 tst_resm(TFAIL | TERRNO, "fcntl on file failed"); in main() [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" 81 tst_resm TFAIL "ip command failed" 87 tst_resm TPASS "successfully changed mtu size" 90 tst_resm TFAIL "MTU value set to $MTUSZ, but expected 1281" 96 tst_resm TINFO "test 'ip link show' command (list device attributes)" 100 tst_resm TFAIL "'ip link show $iface' command failed" 104 tst_resm TPASS "$iface correctly listed" 109 tst_resm TINFO "test 'ip addr' command with loopback dev" [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() 90 tst_resm(TFAIL | TERRNO, "getpgid(0) failed"); in main() 95 tst_resm(TINFO, "Test block 1: getpgid(0) FAILED"); in main() 97 tst_resm(TPASS, "Test block 1: getpgid(0) PASSED"); in main() 98 tst_resm(TINFO, "Exit block 1"); in main() 101 tst_resm(TINFO, "Enter block 2"); in main() 106 tst_resm(TFAIL | TERRNO, "getpgid(%d) failed", my_pid); in main() 109 tst_resm(TFAIL, "getpgid(my_pid=%d) != getpgid(0) " in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/eventfd/ |
D | eventfd01.c | 93 tst_resm(TINFO | TERRNO, "error clearing counter"); in clear_counter() 121 tst_resm(TINFO | TERRNO, "error setting counter value"); in set_counter() 138 tst_resm(TBROK | TERRNO, "error reading eventfd"); in read_test() 143 tst_resm(TPASS, "counter value matches required"); in read_test() 145 tst_resm(TFAIL, "counter value mismatch: " in read_test() 159 tst_resm(TBROK, "error clearing counter"); in read_eagain_test() 166 tst_resm(TPASS, "read failed with EAGAIN as expected"); in read_eagain_test() 168 tst_resm(TFAIL | TERRNO, "read failed (wanted EAGAIN)"); in read_eagain_test() 170 tst_resm(TFAIL, "read returned with %d", ret); in read_eagain_test() 185 tst_resm(TBROK, "error setting counter value to %" PRIu64, val); in write_test() [all …]
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 128 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_A); in main() 133 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_A); in main() 138 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_A); in main() 144 tst_resm(TFAIL, "%s: Incorrect modes, setgid bit set", in main() 151 tst_resm(TFAIL, "%s: Incorrect group (got %d and %d)", in main() 161 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_B); in main() 166 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_B); in main() 171 tst_resm(TFAIL | TERRNO, "chmod(%s) failed", DIR_B); in main() 176 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_B); in main() 182 tst_resm(TFAIL, in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 144 tst_resm(TFAIL, "Creation of %s failed", DIR_A); in main() 149 tst_resm(TFAIL, "Chown of %s failed", DIR_A); in main() 154 tst_resm(TFAIL, "Stat of %s failed", DIR_A); in main() 160 tst_resm(TFAIL, "%s: Incorrect modes, setgid bit set", in main() 167 tst_resm(TFAIL, "%s: Incorrect group", DIR_A); in main() 168 tst_resm(TINFO, "got %u and %u", buf.st_gid, in main() 178 tst_resm(TFAIL, "Creation of %s failed", DIR_B); in main() 183 tst_resm(TFAIL, "Chown of %s failed", DIR_B); in main() 188 tst_resm(TFAIL, "Chmod of %s failed", DIR_B); in main() 193 tst_resm(TFAIL, "Stat of %s failed", DIR_B); in main() [all …]
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_testset.sh | 69 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/device-drivers/rtc/ |
D | rtc01.c | 68 tst_resm(TINFO, "RTC READ TEST:"); in read_alarm_test() 73 tst_resm(TFAIL | TERRNO, "RTC_RD_TIME ioctl failed"); in read_alarm_test() 77 tst_resm(TPASS, "RTC READ TEST Passed"); in read_alarm_test() 79 tst_resm(TINFO, "Current RTC date/time is %d-%d-%d, %02d:%02d:%02d.", in read_alarm_test() 83 tst_resm(TINFO, "RTC ALARM TEST :"); in read_alarm_test() 103 tst_resm(TCONF | TERRNO, "RTC_ALM_SET not supported"); in read_alarm_test() 105 tst_resm(TFAIL | TERRNO, "RTC_ALM_SET ioctl failed"); in read_alarm_test() 113 tst_resm(TCONF | TERRNO, "RTC_ALM_READ not suported"); in read_alarm_test() 115 tst_resm(TFAIL | TERRNO, "RTC_ALM_READ ioctl failed"); in read_alarm_test() 119 tst_resm(TINFO, "Alarm time set to %02d:%02d:%02d.", in read_alarm_test() [all …]
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink01.c | 664 tst_resm(TPASS, "symlink(%s, %s) was succesful.", path1, path2); in creat_symlink() 691 tst_resm(TPASS, "creat(%s, %#o) was succesful.", path1, MODE); in creat_object() 919 tst_resm(TBROK, in do_syscalltests() 943 tst_resm(TEST_RESULT, "%s", test_msg); in do_syscalltests() 959 tst_resm(TBROK, "Test Case Declaration Error"); in do_syscalltests() 963 tst_resm(TBROK, "Test Case Declaration Error"); in do_syscalltests() 979 tst_resm(TEST_RESULT, "%s", in do_syscalltests() 983 tst_resm(TEST_RESULT, "%s", in do_syscalltests() 986 tst_resm(TEST_RESULT, "%s", test_msg); in do_syscalltests() 1008 tst_resm(TBROK, in do_syscalltests() [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() 129 tst_resm(TPASS, "initial.children ~= 100MB"); in inherit_fork2() 131 tst_resm(TFAIL, "initial.children !~= 100MB"); 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() [all …]
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/ |
D | cpuset_memory_pressure_testset.sh | 49 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/sigaction/ |
D | sigaction02.c | 76 tst_resm(TINFO, "Inside signal handler. Got signal: %d", sig); in handler() 120 tst_resm(TINFO, "Enter test %d: set handler for SIGKILL", in main() 123 tst_resm(TFAIL, "sigaction() succeeded, should have failed"); in main() 126 tst_resm(TFAIL, "sigaction set incorrect errno. Expected " in main() 129 tst_resm(TPASS, "call failed with expected EINVAL error"); in main() 136 tst_resm(TINFO, "Enter test %d: set handler for SIGSTOP", in main() 139 tst_resm(TFAIL, "sigaction() succeeded, should have failed"); in main() 142 tst_resm(TFAIL, "sigaction set incorrect errno. Expected " in main() 145 tst_resm(TPASS, "call failed with expected EINVAL error"); in main() 151 tst_resm(TINFO, "Enter test %d: set handler for bad " in main() [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)" 57 tst_resm TPASS "test succeeded" 66 tst_resm TCONF "The device attribute max_comp_streams was"\ 71 tst_resm TINFO "set max_comp_streams to zram device(s)" 84 tst_resm TINFO "$sys_path = '$max_streams' ($i/$dev_num)" 87 tst_resm TPASS "test succeeded" 93 tst_resm TCONF "device attribute comp_algorithm is"\ 99 tst_resm TINFO "test that we can set compression algorithm" 102 tst_resm TINFO "supported algs: $algs" [all …]
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
D | cgroup_fj_function.sh | 50 tst_resm TFAIL "Failed to attach task" 55 tst_resm TFAIL "Failed to attach task" 59 tst_resm TPASS "Task attached succesfully" 68 tst_resm TFAIL "Failed to move $start_path/ltp_2 to $start_path/ltp_3" 74 tst_resm TFAIL "Failed to remove $start_path/ltp_3" 78 tst_resm TPASS "Successfully moved $start_path/ltp_2 to $start_path/ltp_3" 87 tst_resm TFAIL "Moved $start_path/ltp_2 over existing $start_path/ltp_1" 91 tst_resm TPASS "Failed to move $start_path/ltp_2 over existing $start_path/ltp_1" 100 tst_resm TFAIL "Failed to attach $pid to $start_path/ltp_1" 105 tst_resm TFAIL "Removed $start_path/ltp_1 which contains task $pid" [all …]
|
/external/ltp/testcases/network/stress/tcp/multi-diffip/ |
D | tcp4-multi-diffip01 | 59 tst_resm TINFO "Verify that the kernel is not crashed with multiple connection to the different IP … 140 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 141 tst_resm TINFO "- Target number of the connection is $IP_TOTAL_FOR_TCPIP" 142 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 147 tst_resm TBROK "$message" 150 tst_resm TINFO "- Network delay is ${NET_DELAY}ms +/- ${NET_DELAY_DEFL}ms" 156 tst_resm TBROK "$message" 162 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 165 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 168 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" [all …]
|
/external/ltp/testcases/network/stress/tcp/multi-diffnic/ |
D | tcp4-multi-diffnic01 | 59 tst_resm TINFO "Verify that the kernel is not crashed with multiple connection to the different NIC… 142 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 147 tst_resm TBROK "The number of element in LHOST_HWADDRS differs from RHOST_HWADDRS" 151 tst_resm TBROK "This test case requires plural NICs." 154 tst_resm TINFO "- Target number of the connection is $link_total" 156 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 161 tst_resm TBROK "$message" 164 tst_resm TINFO "- Network delay is ${NET_DELAY}ms +/- ${NET_DELAY_DEFL}ms" 170 tst_resm TBROK "$message" 176 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" [all …]
|
/external/ltp/testcases/network/stress/tcp/multi-diffport/ |
D | tcp4-multi-diffport01 | 59 tst_resm TINFO "Verify that the kernel is not crashed with multiple connection to the different por… 140 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 141 tst_resm TINFO "- Target number of the connection is $CONNECTION_TOTAL" 142 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 147 tst_resm TBROK "$message" 150 tst_resm TINFO "- Network delay is ${NET_DELAY}ms +/- ${NET_DELAY_DEFL}ms" 156 tst_resm TBROK "$message" 162 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 165 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 168 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" [all …]
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
D | tbio.c | 125 tst_resm(TINFO, in setup() 138 tst_resm(TINFO, "Device opened successfully "); in setup() 150 tst_resm(TINFO, "posix_memalign failed"); in tbio_to_dev() 159 tst_resm(TINFO, "malloc cmd space failed"); in tbio_to_dev() 170 tst_resm(TINFO, "Ioctl error for TBIO_TO_DEV"); in tbio_to_dev() 189 tst_resm(TINFO, "posix_memalign failed"); in tbio_from_dev() 199 tst_resm(TINFO, "malloc cmd space failed"); in tbio_from_dev() 210 tst_resm(TINFO, "Ioctl error for TBIO_TO_DEV"); in tbio_from_dev() 215 tst_resm(TINFO, "TBIO_FROM_DEV failed"); in tbio_from_dev() 236 tst_resm(TINFO, "posix_memalign failed"); in tbio_split_to_dev() [all …]
|