Home
last modified time | relevance | path

Searched refs:testno (Results 1 - 25 of 36) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/sockioctl/
H A Dsockioctl01.c46 int testno; variable
131 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
132 tdat[testno].setup(); in main()
134 TEST(ioctl(s, tdat[testno].cmd, tdat[testno].arg)); in main()
135 if (TEST_RETURN != tdat[testno].retval || in main()
137 TEST_ERRNO != tdat[testno].experrno)) { in main()
140 " %d)", tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/listen/
H A Dlisten01.c59 int testno; variable
95 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
96 tdat[testno].setup(); in main()
98 TEST(listen(s, tdat[testno].backlog)); in main()
99 if (TEST_RETURN != tdat[testno].retval || in main()
101 TEST_ERRNO != tdat[testno].experrno)) { in main()
104 " %d)", tdat[testno].desc, in main()
105 TEST_RETURN, tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/getsockname/
H A Dgetsockname01.c58 int testno; variable
115 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
116 tdat[testno].setup(); in main()
118 TEST(getsockname(s, tdat[testno].sockaddr, in main()
119 tdat[testno].salen)); in main()
120 if (TEST_RETURN != tdat[testno].retval || in main()
122 TEST_ERRNO != tdat[testno].experrno)) { in main()
125 " %d)", tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/getsockopt/
H A Dgetsockopt01.c58 int testno; variable
140 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
141 tdat[testno].setup(); in main()
143 TEST(getsockopt(s, tdat[testno].level, in main()
144 tdat[testno].optname, in main()
145 tdat[testno].optval, in main()
146 tdat[testno].optlen)); in main()
147 if (TEST_RETURN != tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/recv/
H A Drecv01.c59 int testno; variable
126 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
128 && (tdat[testno].flags & MSG_ERRQUEUE) in main()
129 && (tdat[testno].type & SOCK_STREAM)) { in main()
135 tdat[testno].setup(); in main()
136 TEST(recv(s, tdat[testno].buf, tdat[testno].buflen, in main()
137 tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/sendto/
H A Dsendto01.c47 int testno; variable
336 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
337 tdat[testno].setup(); in main()
339 TEST(sendto(s, tdat[testno].buf, tdat[testno].buflen, in main()
340 tdat[testno].flags, in main()
341 (const struct sockaddr *)tdat[testno].to, in main()
342 tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/fdatasync/
H A Dfdatasync02.c93 static int testno; variable
121 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
122 if ((tdat[testno].setup) && (tdat[testno].setup())) { in main()
130 (TEST_ERRNO == tdat[testno].experrno)) { in main()
132 "errno: %d", tdat[testno].desc, in main()
137 "(expected %d)", tdat[testno].desc, in main()
139 TEST_ERRNO, tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/recvfrom/
H A Drecvfrom01.c59 int testno; variable
148 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
150 && (tdat[testno].flags & MSG_ERRQUEUE) in main()
151 && (tdat[testno].type & SOCK_STREAM)) { in main()
157 tdat[testno].setup(); in main()
158 TEST(recvfrom(s, tdat[testno].buf, tdat[testno].buflen, in main()
159 tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/send/
H A Dsend01.c48 int testno; variable
267 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
268 tdat[testno].setup(); in main()
270 TEST(send(s, tdat[testno].buf, tdat[testno].buflen, in main()
271 tdat[testno].flags)); in main()
278 if (TEST_ERRNO != tdat[testno].experrno) { in main()
281 " %d)", tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/connect/
H A Dconnect01.c59 int testno; variable
151 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
152 tdat[testno].setup(); in main()
155 (s, tdat[testno].sockaddr, tdat[testno].salen)); in main()
157 if (TEST_RETURN != tdat[testno].retval || in main()
159 TEST_ERRNO != tdat[testno].experrno)) { in main()
162 " %d)", tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/setresgid/
H A Dsetresgid01.c94 static int testno; variable
130 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
132 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, in main()
133 *tdat[testno].sgid)); in main()
137 (tdat[testno].exp_rgid->pw_gid, in main()
138 tdat[testno].exp_egid->pw_gid, in main()
139 tdat[testno] in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg01.c54 int testno; variable
380 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
381 tdat[testno].setup(); in main()
383 iov[0].iov_base = tdat[testno].buf; in main()
384 iov[0].iov_len = tdat[testno].buflen; in main()
385 if (tdat[testno].type != SOCK_STREAM) { in main()
386 msgdat.msg_name = tdat[testno].to; in main()
387 msgdat.msg_namelen = tdat[testno] in main()
[all...]
/third_party/curl/tests/server/
H A Drtspd.c80 testno+partno request shows up again */
101 long testno; /* test number found in the request */ member
216 logmsg("ProcessRequest() called with testno %ld and line [%s]", in ProcessRequest()
217 req->testno, line); in ProcessRequest()
221 if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
262 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
268 req->testno = DOCNUMBER_QUIT; in ProcessRequest()
278 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
280 if(req->testno > 10000) { in ProcessRequest()
281 req->partno = req->testno in ProcessRequest()
[all...]
H A Dsws.c92 testno+partno request shows up again */
104 long testno; /* test number found in the request */ member
252 req->testno = testnum; in parse_cmdfile()
260 /* based on the testno, parse the correct server commands */
266 stream = test2fopen(req->testno, logdir); in parse_servercmd()
273 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
384 (req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
387 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
391 else if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
447 req->testno in ProcessRequest()
564 char *testno = strstr(line, "\\nTestno: "); ProcessRequest() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/mremap/
H A Dmremap05.c215 int lc, testno; in main() local
222 for (testno = 0; testno < TST_TOTAL; testno++) { in main()
223 tdat[testno].setup(&tdat[testno]); in main()
224 test_mremap(&tdat[testno]); in main()
225 tdat[testno].cleanup(&tdat[testno]); in main()
/third_party/ltp/testcases/kernel/syscalls/set_tid_address/
H A Dset_tid_address01.c48 int testno; variable
114 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/ltp/testcases/kernel/syscalls/ssetmask/
H A Dssetmask01.c50 int testno; variable
114 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/ltp/testcases/kernel/syscalls/sgetmask/
H A Dsgetmask01.c59 int testno; variable
125 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/ltp/testcases/kernel/syscalls/rt_sigaction/
H A Drt_sigaction02.c41 static int testno; variable
84 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/ltp/testcases/kernel/syscalls/signalfd4/
H A Dsignalfd4_01.c71 int testno; variable
136 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
H A Dsignalfd4_02.c67 int testno; variable
132 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/ltp/testcases/kernel/syscalls/newuname/
H A Dnewuname01.c51 int testno; variable
117 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/ltp/testcases/kernel/syscalls/timerfd/
H A Dtimerfd02.c70 int testno; variable
134 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
H A Dtimerfd03.c66 int testno; variable
130 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
/third_party/curl/tests/
H A Dftpserver.pl97 my $testno = 0; # test case number (read from server.cmd)
942 my $testno = $smtp_client;
943 my $filename = "$logdir/upload.$testno";
945 logmsg "Store test number $testno in $filename\n";
1292 my $testno = $mailbox;
1293 my $filename = "$logdir/upload.$testno";
1295 logmsg "Store test number $testno in $filename\n";
2195 my $testno = $_[0];
2197 if ($testno > 10000) {
2198 $testpart = $testno
[all...]

Completed in 12 milliseconds

12