/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 TFAIL "allocat [all...] |
/third_party/ltp/lib/newlib_tests/ |
H A D | test_parse_filesize.c | 18 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test() 23 tst_res(TFAIL, "%lli != %lli", val, 1LL); in do_test() 28 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test() 33 tst_res(TFAIL, "%lli != %lli", val, 1024LL); in do_test() 37 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test() 42 tst_res(TFAIL, "%lli != %lli", val, 1048576LL); in do_test() 46 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test() 51 tst_res(TFAIL, "%lli != %lli", val, 1073741824LL); in do_test() 56 tst_res(TFAIL, "return code %d (%s)", ret, tst_strerrno(ret)); in do_test() 61 tst_res(TFAIL, " in do_test() [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 TFAIL "se [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 TFAIL "Resul [all...] |
/third_party/ltp/testcases/kernel/fs/stream/ |
H A D | stream05.c | 77 tst_brkm(TFAIL, NULL, "fopen(%s) a+ failed: %s", in main() 85 tst_brkm(TFAIL, NULL, "fopen(%s) r+ failed: %s", in main() 92 tst_resm(TFAIL, "ferror did not return zero: %s", in main() 100 tst_resm(TFAIL, "Test failed in block0."); in main() 111 tst_brkm(TFAIL, NULL, "read failed: %s", in main() 115 tst_resm(TFAIL, "read did not read right number"); in main() 119 tst_resm(TFAIL, "read returned bad values"); in main() 125 tst_resm(TFAIL, "Test failed in block1."); in main() 136 tst_brkm(TFAIL, NULL, "fopen(%s) r+ failed: %s", in main() 141 tst_resm(TFAIL, in main() [all...] |
H A D | stream03.c | 82 tst_resm(TFAIL, "file pointer descrepancy 1"); in main() 88 tst_brkm(TFAIL, NULL, "fwrite failed: %s", in main() 95 tst_resm(TFAIL, in main() 106 tst_resm(TFAIL, in main() 114 tst_brkm(TFAIL, NULL, "fseek failed: %s", in main() 121 tst_resm(TFAIL, in main() 129 tst_brkm(TFAIL, NULL, "fseek failed: %s", in main() 136 tst_resm(TFAIL, in main() 144 tst_brkm(TFAIL, NULL, "fseek failed: %s", in main() 151 tst_resm(TFAIL, in main() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl01.c | 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() 108 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main() 113 tst_resm(TFAIL | TERRNO, "fcntl(.., O_APPEND) failed"); in main() 117 tst_resm(TFAIL, "unexpecte in main() [all...] |
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(TFAIL, "fcnt 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(TFAIL, "fcnt in unlock_file() [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(TFAIL | TERRN in child_function() [all...] |
/third_party/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt06.c | 89 tst_resm(TFAIL, "Error: shmget: shmid = %d, errno = %d", in main() 100 tst_resm(TFAIL, in main() 121 tst_resm(TFAIL, "Waited on the wrong child"); in main() 122 tst_resm(TFAIL, in main() 133 tst_resm(TFAIL, "shmdt"); in main() 155 tst_resm(TFAIL, in child() 163 tst_resm(TFAIL, in child() 168 tst_resm(TFAIL, "child: not A"); in child() 171 tst_resm(TFAIL, "child: not B"); in child() 174 tst_resm(TFAIL, "chil in child() [all...] |
/third_party/ltp/testcases/kernel/syscalls/vfork/ |
H A D | vfork01.c | 128 tst_resm(TFAIL, "vfork() Failed, errno=%d : %s", in main() 137 tst_resm(TFAIL, "getresuid() fails to " in main() 144 tst_resm(TFAIL, "getresgid() fails to " in main() 169 tst_resm(TFAIL, "getcwd failed for the " in main() 180 tst_resm(TFAIL, "stat(2) failed to get " in main() 191 tst_resm(TFAIL, "stat(2) failed to get " in main() 202 tst_resm(TFAIL, "Attribute values of " in main() 212 tst_resm(TFAIL, "Working directories " in main() 227 tst_resm(TFAIL, "Device/inode number " in main() 245 tst_resm(TFAIL, "Devic in main() [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/ |
H A D | cpuset_load_balance_test.sh | 75 tst_resm TFAIL "set root group parameter failed." 82 tst_resm TFAIL "set general group parameter failed." 92 tst_resm TFAIL "There is something wrong with test tasks" 100 tst_resm TFAIL "attach test tasks to group "\ 111 tst_resm TFAIL "send the signal to fork the child tasks " \ 120 tst_resm TFAIL "forking test tasks failed" 128 tst_resm TFAIL "send the signal to run the child tasks " \ 138 tst_resm TFAIL "send the signal to stop the child tasks " \ 146 tst_resm TFAIL "load balance test failed." 185 tst_resm TFAIL "se [all...] |
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl07.c | 41 tst_res(TFAIL, "sem_nsems = %lu, expected %lu", in verify_semctl() 48 tst_res(TFAIL, "sem_perm.uid = %d, expected %d", in verify_semctl() 55 tst_res(TFAIL, "sem_perm.gid = %d, expected %d", in verify_semctl() 62 tst_res(TFAIL, "sem_perm.cuid = %d, expected %d", in verify_semctl() 69 tst_res(TFAIL, "sem_perm.cgid = %d, expected %d", in verify_semctl() 76 tst_res(TFAIL | TERRNO, "semctl(GETVAL)"); in verify_semctl() 83 tst_res(TFAIL | TERRNO, "SEMCTL(SETVAL)"); in verify_semctl() 88 tst_res(TFAIL | TERRNO, "semctl(GETVAL)"); in verify_semctl() 93 tst_res(TFAIL, "semctl(GETVAL) returned %d expected %d", in verify_semctl() 100 tst_res(TFAIL | TERRN in verify_semctl() [all...] |
H A D | semctl06.c | 110 tst_resm(TFAIL, "\tsignal failed. errno = %d", errno); in main() 116 tst_resm(TFAIL, in main() 136 tst_resm(TFAIL, "%s[%d] Test failed. exit=0x%x", prog, in main() 148 tst_resm(TFAIL, "\tWrong # children waited on, count = %d", in main() 156 tst_resm(TFAIL, "semctl06 failed"); in main() 173 tst_resm(TFAIL, "\tsemget() failed errno %d", errno); in dotest() 186 tst_resm(TFAIL, "\tfirst semop() failed errno %d", errno); in dotest() 192 tst_resm(TFAIL, "\tfork failed"); in dotest() 210 tst_resm(TFAIL, "\t%s:dotest[%d] exited status = 0x%x", in dotest() 222 tst_resm(TFAIL, "\tWron in dotest() [all...] |
/third_party/ltp/testcases/network/iproute/ |
H A D | ip_tests.sh | 65 tst_res TFAIL "ip command failed" 74 tst_res TFAIL "MTU value set to $MTUSZ, but expected 1281" 84 tst_res TFAIL "'ip link show $iface' command failed" 98 tst_res TFAIL "'ip addr add' command failed" 105 tst_res TFAIL "'ip addr show' command failed" 112 tst_res TFAIL "'ip addr del' command failed" 118 tst_res TFAIL "ip addr del command failed" 133 tst_res TFAIL "'ip neigh replace' command failed" 142 tst_res TFAIL "'ip neigh show' command failed" 148 tst_res TFAIL "expecte [all...] |
/third_party/ltp/testcases/kernel/pty/ |
H A D | ptem01.c | 75 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1() 79 tst_brkm(TFAIL, NULL, "TCGETS"); in test1() 83 tst_brkm(TFAIL, NULL, "TCSETS"); in test1() 87 tst_brkm(TFAIL, NULL, "TCSETSW"); in test1() 91 tst_brkm(TFAIL, NULL, "TCSETSF"); in test1() 95 tst_brkm(TFAIL, NULL, "TCSETS"); in test1() 99 tst_brkm(TFAIL, NULL, "TCGETA"); in test1() 103 tst_brkm(TFAIL, NULL, "TCSETA"); in test1() 107 tst_brkm(TFAIL, NULL, "TCSETAW"); in test1() 111 tst_brkm(TFAIL, NUL in test1() [all...] |
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
H A D | msgctl01.c | 33 tst_res(TFAIL | TTERRNO, "msgctl() returned %li", TST_RET); in verify_msgctl() 42 tst_res(TFAIL, "msg_stime = %lu", (unsigned long)buf.msg_stime); in verify_msgctl() 47 tst_res(TFAIL, "msg_rtime = %lu", (unsigned long)buf.msg_rtime); in verify_msgctl() 53 tst_res(TFAIL, "msg_ctime = %lu, expected %lu", in verify_msgctl() 60 tst_res(TFAIL, "msg_qnum = %li", (long)buf.msg_qnum); in verify_msgctl() 65 tst_res(TFAIL, "msg_qbytes = %li", (long)buf.msg_qbytes); in verify_msgctl() 70 tst_res(TFAIL, "msg_lspid = %u", (unsigned)buf.msg_lspid); in verify_msgctl() 75 tst_res(TFAIL, "msg_lrpid = %u", (unsigned)buf.msg_lrpid); in verify_msgctl() 80 tst_res(TFAIL, "msg_perm.__key == %u, expected %u", in verify_msgctl() 87 tst_res(TFAIL, "msg_per in verify_msgctl() [all...] |
/third_party/ltp/libs/libltpsigwait/ |
H A D | sigwait.c | 29 tst_res(TFAIL | TTERRNO, "Expected error number EINTR, got"); in test_empty_set() 31 tst_res(TFAIL, "Expected return value -1, got: %ld", TST_RET); in test_empty_set() 59 tst_res(TFAIL | TTERRNO, "Expected error number EAGAIN, got"); in test_timeout() 61 tst_res(TFAIL, "Expected return value -1, got: %ld", TST_RET); in test_timeout() 90 tst_res(TFAIL, "struct siginfo mismatch"); in test_unmasked_matching() 92 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_unmasked_matching() 115 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_unmasked_matching_noinfo() 150 tst_res(TFAIL, "struct siginfo mismatch"); in test_masked_matching() 152 tst_res(TFAIL | TTERRNO, "sigwaitinfo() failed"); in test_masked_matching() 162 tst_res(TFAIL, in test_masked_matching() [all...] |
/third_party/ltp/testcases/kernel/syscalls/nftw/ |
H A D | lib64.c | 66 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in get_long_name_buffer() 73 tst_resm(TFAIL, "pathconf(_PC_NAME_MAX) failed: %s", in get_long_name_buffer() 80 tst_resm(TFAIL, in get_long_name_buffer() 88 tst_resm(TFAIL, "malloc(%zi) failed: %s", path_length + extra, in get_long_name_buffer() 113 tst_resm(TFAIL, "%s callback did not work correctly", name); in execute_function() 118 tst_resm(TFAIL, in execute_function() 125 tst_resm(TFAIL, "%s failed: errno should be %i but is %i", name, in execute_function() 184 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in test_ENAMETOOLONG_path() 195 tst_resm(TFAIL, "malloc(%zu) for path failed: %s", in test_ENAMETOOLONG_path() 227 tst_resm(TFAIL, in test_ENAMETOOLONG_path() [all...] |
H A D | lib.c | 66 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in get_long_name_buffer() 73 tst_resm(TFAIL, "pathconf(_PC_NAME_MAX) failed: %s", in get_long_name_buffer() 80 tst_resm(TFAIL, in get_long_name_buffer() 88 tst_resm(TFAIL, "malloc(%zi) failed: %s", path_length + extra, in get_long_name_buffer() 113 tst_resm(TFAIL, "%s callback did not work correctly", name); in execute_function() 118 tst_resm(TFAIL, in execute_function() 125 tst_resm(TFAIL, "%s failed: errno should be %i but is %i", name, in execute_function() 184 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in test_ENAMETOOLONG_path() 195 tst_resm(TFAIL, "malloc(%zu) for path failed: %s", in test_ENAMETOOLONG_path() 227 tst_resm(TFAIL, in test_ENAMETOOLONG_path() [all...] |
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink01.c | 864 TEST_RESULT = TFAIL; in ck_object() 869 TEST_RESULT = TFAIL; in ck_object() 880 TEST_RESULT = TFAIL; in ck_object() 1033 tst_resm(TFAIL, "%s %s", in do_EEXIST() 1044 tst_resm(TFAIL, "%s %s", in do_EEXIST() 1056 tst_resm(TFAIL, "%s %s errno:%d %s", in do_EEXIST() 1081 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT() 1090 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT() 1103 tst_resm(TFAIL, "%s %s errno:%d %s", in do_ENOENT() 1114 tst_resm(TFAIL, " in do_ENOENT() [all...] |
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
H A D | msgrcv07.c | 64 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_EXCEPT) failed"); in test_msg_except() 73 tst_res(TFAIL, "MSG_EXCEPT didn't get MSGTYPE1 message"); in test_msg_except() 91 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_NOERROR) failed"); in test_msg_noerror() 100 tst_res(TFAIL, "MSG_NOERROR truncated message incorrectly"); in test_msg_noerror() 129 tst_res(TFAIL | TTERRNO, "msgrcv(0, MSG_COPY) failed"); in test_msg_copy() 139 tst_res(TFAIL, "MSG_COPY got MSGTYPE1 data incorrectly"); in test_msg_copy() 144 tst_res(TFAIL | TTERRNO, "msgrcv(1, MSG_COPY) failed"); in test_msg_copy() 153 tst_res(TFAIL, "MSG_COPY got MSGTYPE2 data incorrectly"); in test_msg_copy() 159 tst_res(TFAIL, "Expected 2 msgs in queue got %d", in test_msg_copy() 174 tst_res(TFAIL | TTERRN in test_zero_msgtyp() [all...] |
/third_party/ltp/testcases/kernel/mem/hugetlb/hugefallocate/ |
H A D | hugefallocate01.c | 48 tst_res(TFAIL|TERRNO, "fallocate()"); in run_test() 54 tst_res(TFAIL, "fallocate 1 byte did not preallocate entire huge page"); in run_test() 65 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test() 71 tst_res(TFAIL, "fallocate hole punch 1 byte free'ed a huge page"); in run_test() 82 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test() 88 tst_res(TFAIL, "fallocate hole punch 2 * hpage_size - 1 byte did not" in run_test() 100 tst_res(TFAIL, "fallocate()"); in run_test() 106 tst_res(TFAIL, "fallocate 1 byte offset, huge page size did not" in run_test() 121 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test() 127 tst_res(TFAIL, "fallocat in run_test() [all...] |
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/ |
H A D | cgroup_fj_function.sh | 40 tst_res TFAIL "Failed to attach task" 45 tst_res TFAIL "Failed to attach task" 64 tst_res TFAIL "Failed to move $start_path/ltp_2 to $start_path/ltp_3" 70 tst_res TFAIL "Failed to remove $start_path/ltp_3" 89 tst_res TFAIL "Moved $start_path/ltp_2 over existing $start_path/ltp_1" 102 tst_res TFAIL "Failed to attach $pid to $start_path/ltp_1" 107 tst_res TFAIL "Removed $start_path/ltp_1 which contains task $pid" 129 tst_res TFAIL "Removed $start_path/ltp_1 which contains subdir 'a'" 151 tst_res TFAIL "Subgroup $start_path/ltp_1 outside hierarchy to $PWD/ltp" 162 tst_res TFAIL "Task [all...] |