Home
last modified time | relevance | path

Searched refs:Test_cases (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/stat/
Dstat06.c150 } Test_cases[] = { variable
170 int TST_TOTAL = ARRAY_SIZE(Test_cases);
201 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
203 fname = Test_cases[ind].pathname; in main()
204 desc = Test_cases[ind].desc; in main()
205 stbuf = Test_cases[ind].stbuf; in main()
234 Test_cases[ind].exp_errno) in main()
242 Test_cases in main()
248 Test_cases[ind].exp_errno); in main()
277 Test_cases[6].pathname = bad_addr; in setup()
[all …]
Dstat03.c112 } Test_cases[] = { variable
122 int TST_TOTAL = ARRAY_SIZE(Test_cases);
147 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
148 file_name = Test_cases[ind].pathname; in main()
149 test_desc = Test_cases[ind].desc; in main()
160 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
168 Test_cases[ind].exp_errno); in main()
174 Test_cases[ind].exp_errno); in main()
225 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
226 if (!Test_cases[ind].pathname) in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod06.c102 } Test_cases[] = { variable
113 int TST_TOTAL = ARRAY_SIZE(Test_cases);
137 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
138 node_name = Test_cases[ind].pathname; in main()
139 test_desc = Test_cases[ind].desc; in main()
153 Test_cases[ind].exp_errno); in main()
157 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
163 TEST_ERRNO, Test_cases[ind].exp_errno); in main()
201 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
202 if (!Test_cases[ind].pathname) in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c121 } Test_cases[] = { variable
161 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
162 test_file = Test_cases[ind].file; in main()
163 sym_file = Test_cases[ind].link; in main()
164 test_desc = Test_cases[ind].desc; in main()
178 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
186 Test_cases[ind].exp_errno); in main()
191 Test_cases[ind].exp_errno); in main()
232 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
233 if (!Test_cases[ind].link) in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/pread/
Dpread02.c103 } Test_cases[] = { variable
128 for (i = 0; Test_cases[i].desc != NULL; i++) { in main()
129 fildes = Test_cases[i].fd; in main()
130 test_desc = Test_cases[i].desc; in main()
131 nbytes = Test_cases[i].nb; in main()
132 offset = Test_cases[i].offst; in main()
152 TEST_RETURN, Test_cases[i].exp_errno); in main()
158 if (TEST_ERRNO == Test_cases[i].exp_errno) { in main()
164 TEST_ERRNO, Test_cases[i].exp_errno); in main()
191 for (i = 0; Test_cases[i].desc != NULL; i++) { in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek02.c108 } Test_cases[] = { variable
135 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
136 fildes = Test_cases[ind].fd; in main()
137 test_desc = Test_cases[ind].desc; in main()
138 whence = Test_cases[ind].Whence; in main()
158 Test_cases[ind].exp_errno); in main()
161 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
167 TEST_ERRNO, Test_cases[ind].exp_errno); in main()
194 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
195 Test_cases[ind].setupfunc(); in setup()
/external/ltp/testcases/kernel/syscalls/sigaltstack/
Dsigaltstack02.c97 } Test_cases[] = { variable
124 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
125 sigstk.ss_size = Test_cases[ind].size; in main()
126 sigstk.ss_flags = Test_cases[ind].flag; in main()
127 test_desc = Test_cases[ind].desc; in main()
135 Test_cases[ind].exp_errno) { in main()
144 Test_cases in main()
150 Test_cases[ind].exp_errno); in main()
/external/ltp/testcases/kernel/syscalls/setgroups/
Dsetgroups03.c99 } Test_cases[] = { variable
128 if (Test_cases[i].setupfunc != NULL) { in main()
129 Test_cases[i].setupfunc(); in main()
132 gidsetsize = ngroups_max + Test_cases[i].gsize_add; in main()
133 test_desc = Test_cases[i].desc; in main()
145 TEST_RETURN, Test_cases[i].exp_errno); in main()
149 if (TEST_ERRNO == Test_cases[i].exp_errno) { in main()
157 Test_cases[i].exp_errno); in main()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime06.c72 } Test_cases[] = { variable
79 int TST_TOTAL = ARRAY_SIZE(Test_cases);
96 utime_verify(&Test_cases[i]); in main()