/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/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/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() 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() 199 tst_resm(TFAIL, in main() [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/fs/stream/ |
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 …]
|
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 …]
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
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 "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0-1\"" [all …]
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl01.c | 76 tst_resm(TFAIL | TERRNO, "fcntl(.., 1) failed"); in main() 79 tst_resm(TFAIL, "new fd has unexpected value: " in main() 83 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[3]) failed"); in main() 86 tst_resm(TFAIL, "new fd has unexpected value, got %d, " in main() 90 tst_resm(TFAIL | TERRNO, "fcntl(.., fd2[5]) failed"); in main() 93 tst_resm(TFAIL, "new fd has unexpected value: " in main() 98 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main() 107 tst_resm(TFAIL, "unexpected flag 0x%x, expected 0x%x", in main() 112 tst_resm(TFAIL | TERRNO, "fcntl(.., O_APPEND) failed"); in main() 116 tst_resm(TFAIL, "unexpected flag ox%x, expected 0x%x", in main() [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 | 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 | fcntl20.c | 105 tst_resm(TFAIL | TERRNO, "mkstemp failed"); in setup() 114 tst_brkm(TFAIL | TERRNO, cleanup, "SIGCHLD signal setup 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() [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() 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() 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() 88 tst_resm(TFAIL, "F_GETLK: fcntl(2) failed to FAIL"); in main() 90 tst_resm(TFAIL, "F_GETLK: Expected EFAULT got %d", in main() 105 tst_resm(TFAIL, "fcntl(2) failed to FAIL"); in main() 107 tst_resm(TFAIL, "Expected EINVAL, got %d", errno); in main() [all …]
|
/external/ltp/testcases/network/iptables/ |
D | iptables_tests.sh | 61 tst_res TFAIL "$cmd failed to list rules." 67 tst_res TFAIL "$cmd failed to list rules." 79 tst_res TFAIL "$cmd failed to list rules." 85 tst_res TFAIL "$cmd failed to list rules." 97 tst_res TFAIL "$cmd failed to list rules." 103 tst_res TFAIL "$cmd failed to list rules." 120 tst_res TFAIL "iptables command failed to append new rule." 130 tst_res TFAIL \ 138 tst_res TFAIL "iptables did not block icmp from 127.0.0.1" 146 tst_res TFAIL "iptables did not remove the rule." [all …]
|
/external/ltp/testcases/kernel/mem/shmt/ |
D | shmt06.c | 89 tst_resm(TFAIL, "Error: shmget: shmid = %d, errno = %d\n", 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\n"); in child() 171 tst_resm(TFAIL, "child: not B\n"); in child() 174 tst_resm(TFAIL, "child: not C\n"); in child() [all …]
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl07.c | 72 tst_resm(TFAIL, "semctl() failed errno = %d", errno); in main() 82 tst_resm(TFAIL, "error: unexpected number of sems %lu", in main() 87 tst_resm(TFAIL, "error: unexpected uid %d", in main() 92 tst_resm(TFAIL, "error: unexpected gid %d", in main() 97 tst_resm(TFAIL, "error: unexpected cuid %d", in main() 102 tst_resm(TFAIL, "error: unexpected cgid %d", in main() 107 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno); in main() 112 tst_resm(TFAIL, "SEMCTL(SETVAL) failed errno = %d", errno); in main() 116 tst_resm(TFAIL, "semctl(GETVAL) failed errno = %d", errno); in main() 120 tst_resm(TFAIL, "error: unexpected value %d", status); in main() [all …]
|
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, "\tWrong # children waited on, count = %d", in dotest() [all …]
|
/external/ltp/testcases/kernel/io/direct_io/ |
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 | TERRNO, in child_function() [all …]
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/ |
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 "set root group parameter failed." [all …]
|
/external/ltp/testcases/kernel/syscalls/vfork/ |
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, "Device/inode number " in main() [all …]
|
/external/ltp/testcases/network/iproute/ |
D | ip_tests.sh | 81 tst_resm TFAIL "ip command failed" 90 tst_resm TFAIL "MTU value set to $MTUSZ, but expected 1281" 100 tst_resm TFAIL "'ip link show $iface' command failed" 114 tst_resm TFAIL "'ip addr add' command failed" 121 tst_resm TFAIL "'ip addr show' command failed" 128 tst_resm TFAIL "'ip addr del' command failed" 134 tst_resm TFAIL "ip addr del command failed" 149 tst_resm TFAIL "'ip neigh replace' command failed" 158 tst_resm TFAIL "'ip neigh show' command failed" 164 tst_resm TFAIL "expected output differs from actual output" [all …]
|
/external/ltp/testcases/kernel/pty/ |
D | ptem01.c | 78 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1() 82 tst_brkm(TFAIL, NULL, "TCGETS"); in test1() 86 tst_brkm(TFAIL, NULL, "TCSETS"); in test1() 90 tst_brkm(TFAIL, NULL, "TCSETSW"); in test1() 94 tst_brkm(TFAIL, NULL, "TCSETSF"); in test1() 98 tst_brkm(TFAIL, NULL, "TCSETS"); in test1() 102 tst_brkm(TFAIL, NULL, "TCGETA"); in test1() 106 tst_brkm(TFAIL, NULL, "TCSETA"); in test1() 110 tst_brkm(TFAIL, NULL, "TCSETAW"); in test1() 114 tst_brkm(TFAIL, NULL, "TCSETAF"); in test1() [all …]
|
/external/ltp/testcases/kernel/io/stress_floppy/ |
D | stress_floppy | 74 tst_resm TFAIL "Format failed!" 87 tst_resm TFAIL "$the_file Tar write failed!" 94 tst_resm TFAIL "$the_file Tar read failed!" 101 tst_resm TFAIL "Diff of the $the_file tar files failed!" 116 tst_resm TFAIL "Could not create dumpdir directory in $TCtmp" 122 tst_resm TFAIL "$the_file dump write failed!" 133 tst_resm TFAIL "$the_file restore read failed!" 145 tst_resm TFAIL \ 166 tst_resm TFAIL "$the_file cpio write failed!" 173 tst_resm TFAIL "Could not change to $TCtmp directory!" [all …]
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ |
D | ext4_inode_version_test.sh | 38 tst_resm TFAIL "failed to create ext4 filesystem" 46 tst_resm TFAIL "failed to mount ext4 filesystem" 56 tst_resm TFAIL "inode version is smaller than 1" 68 tst_resm TFAIL "inode version is not 32 bits" 75 tst_resm TFAIL "failed to umount ext4 filesystem" 88 tst_resm TFAIL "failed to create ext4 filesystem" 94 tst_resm TFAIL "failed to mount ext4 filesystem" 101 tst_resm TFAIL "inode version is wrong" 108 tst_resm TFAIL "failed to umount ext4 filesystem" 115 tst_resm TFAIL "failed to mount to ext3" [all …]
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl01.c | 46 tst_res(TFAIL | TTERRNO, "msgctl() returned %li", TST_RET); in verify_msgctl() 55 tst_res(TFAIL, "msg_stime = %lu", (unsigned long)buf.msg_stime); in verify_msgctl() 60 tst_res(TFAIL, "msg_rtime = %lu", (unsigned long)buf.msg_rtime); in verify_msgctl() 66 tst_res(TFAIL, "msg_ctime = %lu, expected %lu", in verify_msgctl() 73 tst_res(TFAIL, "msg_qnum = %li", (long)buf.msg_qnum); in verify_msgctl() 78 tst_res(TFAIL, "msg_qbytes = %li", (long)buf.msg_qbytes); in verify_msgctl() 83 tst_res(TFAIL, "msg_lspid = %u", (unsigned)buf.msg_lspid); in verify_msgctl() 88 tst_res(TFAIL, "msg_lrpid = %u", (unsigned)buf.msg_lrpid); in verify_msgctl() 93 tst_res(TFAIL, "msg_perm.__key == %u, expected %u", in verify_msgctl() 100 tst_res(TFAIL, "msg_perm.uid = %u, expected %u", in verify_msgctl() [all …]
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
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, "%s %s errno:%d %s", in do_ENOENT() [all …]
|