/third_party/ltp/testcases/kernel/syscalls/sockioctl/ |
H A D | sockioctl01.c | 46 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 D | listen01.c | 59 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 D | getsockname01.c | 58 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 D | getsockopt01.c | 58 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 D | recv01.c | 59 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 D | sendto01.c | 47 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 D | fdatasync02.c | 93 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 D | recvfrom01.c | 59 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 D | send01.c | 48 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 D | connect01.c | 59 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 D | setresgid01.c | 94 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 D | sendmsg01.c | 54 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 D | rtspd.c | 80 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 D | sws.c | 92 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 D | mremap05.c | 215 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 D | set_tid_address01.c | 48 int testno; variable 114 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/ssetmask/ |
H A D | ssetmask01.c | 50 int testno; variable 114 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/sgetmask/ |
H A D | sgetmask01.c | 59 int testno; variable 125 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigaction/ |
H A D | rt_sigaction02.c | 41 static int testno; variable 84 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/signalfd4/ |
H A D | signalfd4_01.c | 71 int testno; variable 136 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
H A D | signalfd4_02.c | 67 int testno; variable 132 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/newuname/ |
H A D | newuname01.c | 51 int testno; variable 117 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
H A D | timerfd02.c | 70 int testno; variable 134 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
H A D | timerfd03.c | 66 int testno; variable 130 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
|
/third_party/curl/tests/ |
H A D | ftpserver.pl | 97 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...] |