/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A 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(TFAI in unlock_file() [all...] |
H A 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(TFAI in unlock_file() [all...] |
H A 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(TINF in do_child1() [all...] |
H A 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(TFAI in parent_get() [all...] |
H A 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(TPAS in main() [all...] |
H A D | fcntl01.c | 67 tst_resm(TBROK | TERRNO, "open failed"); in main() 77 tst_resm(TFAIL | TERRNO, "fcntl(.., 1) failed"); in main() 80 tst_resm(TFAIL, "new fd has unexpected value: " in main() 84 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[3]) failed"); in main() 87 tst_resm(TFAIL, "new fd has unexpected value, got %d, " in main() 91 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[5]) failed"); in main() 94 tst_resm(TFAIL, "new fd has unexpected value: " in main() 99 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main() 104 tst_resm(TBROK | TERRNO, "fcntl(.., O_NDELAY) failed"); in main() 108 tst_resm(TFAI in main() [all...] |
H A 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(TFAI in main() [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
H A 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 TFAI [all...] |
/third_party/ltp/testcases/kernel/device-drivers/rtc/ |
H A 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(TINF in read_alarm_test() [all...] |
/third_party/ltp/testcases/kernel/syscalls/sigaction/ |
H A D | sigaction02.c | 78 tst_resm(TINFO, "Inside signal handler. Got signal: %d", sig); in handler() 122 tst_resm(TINFO, "Enter test %d: set handler for SIGKILL", in main() 125 tst_resm(TFAIL, "sigaction() succeeded, should have failed"); in main() 128 tst_resm(TFAIL, "sigaction set incorrect errno. Expected " in main() 131 tst_resm(TPASS, "call failed with expected EINVAL error"); in main() 138 tst_resm(TINFO, "Enter test %d: set handler for SIGSTOP", in main() 141 tst_resm(TFAIL, "sigaction() succeeded, should have failed"); in main() 144 tst_resm(TFAIL, "sigaction set incorrect errno. Expected " in main() 147 tst_resm(TPASS, "call failed with expected EINVAL error"); in main() 153 tst_resm(TINF in main() [all...] |
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink01.c | 664 tst_resm(TPASS, "symlink(%s, %s) was successful.", path1, path2); in creat_symlink() 691 tst_resm(TPASS, "creat(%s, %#o) was successful.", 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(TBRO in do_syscalltests() [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
H A D | cpuset_syscall_testset.sh | 57 tst_resm TFAIL "mkdir -p $TEST_CPUSET fail." 62 tst_resm TFAIL "set $TEST_CPUSET/cupset.cpus as $1 fail." 67 tst_resm TFAIL "set $TEST_CPUSET/cpuset.mems as $2 fail." 74 tst_resm TFAIL "Attaching test task into group fail." 92 tst_resm TFAIL "Test task exited abnormally.(expect return value is 0)" 97 tst_resm TFAIL "Test task exited abnormally.(expect return value is !0)" 110 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\"" 122 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\"" 134 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"1\"" 146 tst_resm TFAI [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/ |
H A D | cpuset_memory_pressure_testset.sh | 51 tst_resm TFAIL "Closing memory_pressure_enabled failed." 59 tst_resm TFAIL "Memory_pressure had memory pressure rate." 70 tst_resm TFAIL "Closing memory_pressure_enabled failed." 80 tst_resm TFAIL "Memory_pressure had memory pressure rate." 91 tst_resm TFAIL "Opening memory_pressure_enabled failed." 98 tst_resm TFAIL "set general group parameter failed." 106 tst_resm TFAIL "root group's memory_pressure had memory pressure rate." 110 tst_resm TFAIL "sub group's memory_pressure had memory pressure rate." 122 tst_resm TFAIL "Opening memory_pressure_enabled failed." 129 tst_resm TFAI [all...] |
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
H A D | tbio.c | 120 tst_resm(TINFO, in setup() 133 tst_resm(TINFO, "Device opened successfully "); in setup() 145 tst_resm(TINFO, "posix_memalign failed"); in tbio_to_dev() 154 tst_resm(TINFO, "malloc cmd space failed"); in tbio_to_dev() 165 tst_resm(TINFO, "Ioctl error for TBIO_TO_DEV"); in tbio_to_dev() 184 tst_resm(TINFO, "posix_memalign failed"); in tbio_from_dev() 194 tst_resm(TINFO, "malloc cmd space failed"); in tbio_from_dev() 205 tst_resm(TINFO, "Ioctl error for TBIO_TO_DEV"); in tbio_from_dev() 210 tst_resm(TINFO, "TBIO_FROM_DEV failed"); in tbio_from_dev() 231 tst_resm(TINF in tbio_split_to_dev() [all...] |
/third_party/ltp/testcases/network/stress/tcp/multi-diffnic/ |
H A 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 TINF [all...] |
/third_party/ltp/testcases/network/stress/tcp/multi-diffport/ |
H A D | tcp4-multi-diffport01 | 59 tst_resm TINFO "Verify that the kernel is not crashed with multiple connection to the different ports." 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 TINF [all...] |
/third_party/ltp/testcases/kernel/io/direct_io/ |
H A D | diotest3.c | 101 tst_resm(TFAIL | TERRNO, "valloc for buf1 failed"); in runtest() 105 tst_resm(TFAIL | TERRNO, "valloc for buf2 failed"); in runtest() 113 tst_resm(TFAIL | TERRNO, "lseek (fd_w, ..) failed"); in runtest() 117 tst_resm(TFAIL | TERRNO, "write failed"); in runtest() 123 tst_resm(TFAIL | TERRNO, "fsync failed"); in runtest() 128 tst_resm(TFAIL | TERRNO, "lseek(fd_r, ..) failed"); in runtest() 132 tst_resm(TFAIL | TERRNO, "read failed"); in runtest() 136 tst_resm(TFAIL, in runtest() 155 tst_resm(TFAIL | TERRNO, in child_function() 161 tst_resm(TFAI in child_function() [all...] |
/third_party/ltp/testcases/network/stress/tcp/multi-sameport/ |
H A D | tcp4-multi-sameport01 | 59 tst_resm TINFO "Verify that the kernel is not crashed with multiple connection to the same port." 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 TINF [all...] |
/third_party/ltp/testcases/network/stress/icmp/multi-diffip/ |
H A D | icmp4-multi-diffip01 | 58 tst_resm TINFO "Verify that the kernel is not crashed with receiving and sending various size of ICMP message at the different IP address(alias) simultaneously with the following conditions" 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 )" 135 tst_resm TBROK "$message" 141 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 144 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 147 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" 156 tst_resm TBRO [all...] |
/third_party/ltp/testcases/network/stress/tcp/multi-diffip/ |
H A D | tcp4-multi-diffip01 | 59 tst_resm TINFO "Verify that the kernel is not crashed with multiple connection to the different IP address(alias)." 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 TINF [all...] |
/third_party/ltp/testcases/network/stress/udp/uni-basic/ |
H A D | udp4-uni-basic01 | 58 tst_resm TINFO "Verify that the kernel is not crashed with receiving and sending UDP datagram with the following conditions" 121 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 122 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 127 tst_resm TBROK "$message" 133 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 136 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 139 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" 147 tst_resm TBROK "Failed to get the interface name at the local host" 152 tst_resm TBROK "Failed to get the interface name at the remote host" 178 tst_resm TBRO [all...] |
/third_party/ltp/testcases/network/stress/tcp/uni-basic/ |
H A D | tcp4-uni-basic01 | 69 $NON_BASIC || tst_resm TINFO "Verify that the kernel is not crashed by a TCP connection" 189 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 190 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 205 tst_resm TBROK "$message" 210 $DO_NET_DELAY && tst_resm TINFO "- Network delay is ${NET_DELAY}ms +/- ${NET_DELAY_DEFL}ms" 212 $DO_PACKET_LOSS && tst_resm TINFO "- Packet loss rate is ${PACKET_LOSS_RATE}%%" 214 $DO_PACKET_DUP && tst_resm TINFO "- Packet duplication rate is ${PACKET_DUP_RATE}%%" 220 tst_resm TBROK "$message" 226 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 229 tst_resm TINF [all...] |
/third_party/ltp/testcases/network/stress/udp/multi-diffport/ |
H A D | udp4-multi-diffport01 | 58 tst_resm TINFO "Verify that the kernel is not crashed with receiving and sending UDP datagram at many different ports with the following conditions" 124 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 125 tst_resm TINFO "- Target number of the connection is $CONNECTION_TOTAL" 126 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 131 tst_resm TBROK "$message" 137 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 140 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 143 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" 151 tst_resm TBROK "Failed to get the interface name at the local host" 157 tst_resm TBRO [all...] |
/third_party/ltp/testcases/network/stress/udp/multi-diffnic/ |
H A D | udp4-multi-diffnic01 | 58 tst_resm TINFO "Verify that the kernel is not crashed with receiving and sending UDP datagram at the different NICs with the following conditions" 126 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 131 tst_resm TBROK "The number of element in LHOST_HWADDRS differs from RHOST_HWADDRS" 135 tst_resm TBROK "This test case requires plural NICs." 138 tst_resm TINFO "- Target number of the connection is $link_total" 140 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 145 tst_resm TBROK "$message" 151 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 154 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 157 tst_resm TINF [all...] |
/third_party/ltp/testcases/network/stress/udp/multi-diffip/ |
H A D | udp4-multi-diffip01 | 58 tst_resm TINFO "Verify that the kernel is not crashed with receiving and sending UDP datagram at the different IP addresses(aliases) with the following conditions" 124 tst_resm TINFO "- Test duration is $NS_DURATION [sec]" 125 tst_resm TINFO "- Target number of the connection is $IP_TOTAL_FOR_TCPIP" 126 tst_resm TINFO "- Version of IP is IPv${IP_VER}" 131 tst_resm TBROK "$message" 137 tst_resm TINFO "- IPsec [ AH / $IPSEC_MODE ]" 140 tst_resm TINFO "- IPsec [ ESP / $IPSEC_MODE ]" 143 tst_resm TINFO "- IPcomp [ $IPSEC_MODE ]" 151 tst_resm TBROK "Failed to get the interface name at the local host" 157 tst_resm TBRO [all...] |