Searched defs:testno (Results 51 - 73 of 73) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/setns/
H A Dsetns01.c191 int lc, testno; local
197 for (testno = 0; testno < TST_TOTAL; testno++)
198 test_setns(&tdat[testno]);
/external/ltp/testcases/kernel/syscalls/setresgid/
H A Dsetresgid01.c93 static int testno; variable
129 for (testno = 0; testno < TST_TOTAL; ++testno) {
131 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid,
132 *tdat[testno].sgid));
136 (tdat[testno].exp_rgid->pw_gid,
137 tdat[testno].exp_egid->pw_gid,
138 tdat[testno]
[all...]
H A Dsetresgid02.c98 static int testno; variable
136 for (testno = 0; testno < TST_TOTAL; ++testno) {
138 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid,
139 *tdat[testno].sgid));
143 (tdat[testno].exp_rgid->pw_gid,
144 tdat[testno].exp_egid->pw_gid,
145 tdat[testno]
[all...]
H A Dsetresgid03.c99 static int testno; variable
128 for (testno = 0; testno < TST_TOTAL; ++testno) {
130 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid,
131 *tdat[testno].sgid));
137 (tdat[testno].exp_rgid->pw_gid,
138 tdat[testno].exp_egid->pw_gid,
139 tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/setsockopt/
H A Dsetsockopt01.c59 int testno; variable
140 for (testno = 0; testno < TST_TOTAL; ++testno) {
141 tdat[testno].setup();
143 TEST(setsockopt(s, tdat[testno].level,
144 tdat[testno].optname,
145 tdat[testno].optval,
146 tdat[testno].optlen));
151 if (TEST_RETURN != tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/sockioctl/
H A Dsockioctl01.c45 int testno; variable
130 for (testno = 0; testno < TST_TOTAL; ++testno) {
131 tdat[testno].setup();
133 TEST(ioctl(s, tdat[testno].cmd, tdat[testno].arg));
134 if (TEST_RETURN != tdat[testno].retval ||
136 TEST_ERRNO != tdat[testno].experrno)) {
139 " %d)", tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/waitid/
H A Dwaitid02.c287 int lc, testno; local
294 for (testno = 0; testno < TST_TOTAL; testno++)
295 test_waitid(&tdat[testno]);
/external/curl/tests/server/
H A Dutil.c186 char *test2file(long testno) argument
189 snprintf(filename, sizeof(filename), TEST_DATA_PATH, path, testno);
H A Drtspd.c77 testno+partno request shows up again */
98 long testno; /* test number found in the request */ member in struct:httprequest
340 logmsg("ProcessRequest() called with testno %ld and line [%s]",
341 req->testno, line);
345 if((req->testno == DOCNUMBER_NOTHING) &&
387 req->testno = DOCNUMBER_WERULEZ;
393 req->testno = DOCNUMBER_QUIT;
403 req->testno = strtol(ptr, &ptr, 10);
405 if(req->testno > 10000) {
406 req->partno = req->testno
[all...]
H A Dtftpd.c110 long testno; /* test case number */ member in struct:testcase
567 snprintf(outfile, sizeof(outfile), "log/upload.%ld", test->testno);
1063 /* Based on the testno, parse the correct server commands. */
1070 filename = test2file(req->testno);
1077 logmsg(" Couldn't open test file %ld", req->testno);
1136 long testno, partno; local
1168 testno = strtol(ptr, &ptr, 10);
1170 if(testno > 10000) {
1171 partno = testno % 10000;
1172 testno /
[all...]
H A Dsws.c88 testno+partno request shows up again */
100 long testno; /* test number found in the request */ member in struct:httprequest
347 /* based on the testno, parse the correct server commands */
354 filename = test2file(req->testno);
361 logmsg(" Couldn't open test file %ld", req->testno);
470 (req->testno == DOCNUMBER_NOTHING) &&
473 req->testno = DOCNUMBER_WERULEZ;
477 else if((req->testno == DOCNUMBER_NOTHING) &&
503 req->testno = DOCNUMBER_WERULEZ;
509 req->testno
[all...]
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
H A Dclock_nanosleep01.c64 int testno; variable
374 for (testno = 0; testno < TST_TOTAL; ++testno) {
/external/ltp/testcases/kernel/syscalls/connect/
H A Dconnect01.c58 int testno; variable
132 for (testno = 0; testno < TST_TOTAL; ++testno) {
133 tdat[testno].setup();
136 (s, tdat[testno].sockaddr, tdat[testno].salen));
138 if (TEST_RETURN != tdat[testno].retval ||
140 TEST_ERRNO != tdat[testno].experrno)) {
143 " %d)", tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/mq_notify/
H A Dmq_notify01.c52 int testno; variable
318 for (testno = 0; testno < TST_TOTAL; ++testno) {
/external/ltp/testcases/kernel/syscalls/mq_open/
H A Dmq_open01.c68 int testno; variable
405 for (testno = 0; testno < TST_TOTAL; ++testno) {
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/
H A Dmq_timedreceive01.c72 int testno; variable
447 for (testno = 0; testno < TST_TOTAL; ++testno) {
/external/ltp/testcases/kernel/syscalls/mq_timedsend/
H A Dmq_timedsend01.c70 int testno; variable
450 for (testno = 0; testno < TST_TOTAL; ++testno) {
/external/ltp/testcases/kernel/syscalls/recv/
H A Drecv01.c58 int testno; variable
125 for (testno = 0; testno < TST_TOTAL; ++testno) {
127 && (tdat[testno].flags & MSG_ERRQUEUE)
128 && (tdat[testno].type & SOCK_STREAM)) {
134 tdat[testno].setup();
135 TEST(recv(s, tdat[testno].buf, tdat[testno].buflen,
136 tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/recvfrom/
H A Drecvfrom01.c58 int testno; variable
147 for (testno = 0; testno < TST_TOTAL; ++testno) {
149 && (tdat[testno].flags & MSG_ERRQUEUE)
150 && (tdat[testno].type & SOCK_STREAM)) {
156 tdat[testno].setup();
157 TEST(recvfrom(s, tdat[testno].buf, tdat[testno].buflen,
158 tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/send/
H A Dsend01.c47 int testno; variable
267 for (testno = 0; testno < TST_TOTAL; ++testno) {
268 tdat[testno].setup();
270 TEST(send(s, tdat[testno].buf, tdat[testno].buflen,
271 tdat[testno].flags));
278 if (TEST_ERRNO != tdat[testno].experrno) {
281 " %d)", tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/sendto/
H A Dsendto01.c46 int testno; variable
336 for (testno = 0; testno < TST_TOTAL; ++testno) {
337 tdat[testno].setup();
339 TEST(sendto(s, tdat[testno].buf, tdat[testno].buflen,
340 tdat[testno].flags,
341 (const struct sockaddr *)tdat[testno].to,
342 tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/recvmsg/
H A Drecvmsg01.c61 int testno; variable
202 for (testno = 0; testno < TST_TOTAL; ++testno) {
204 && (tdat[testno].flags & MSG_ERRQUEUE)
205 && (tdat[testno].type & SOCK_STREAM)) {
211 tdat[testno].setup();
214 iov[0].iov_base = tdat[testno].buf;
215 iov[0].iov_len = tdat[testno].buflen;
216 msgdat.msg_name = tdat[testno]
[all...]
/external/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg01.c53 int testno; variable
379 for (testno = 0; testno < TST_TOTAL; ++testno) {
380 tdat[testno].setup();
382 iov[0].iov_base = tdat[testno].buf;
383 iov[0].iov_len = tdat[testno].buflen;
384 if (tdat[testno].type != SOCK_STREAM) {
385 msgdat.msg_name = tdat[testno].to;
386 msgdat.msg_namelen = tdat[testno]
[all...]

Completed in 554 milliseconds

123