/external/ltp/testcases/kernel/syscalls/setns/ |
H A D | setns01.c | 191 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 D | setresgid01.c | 93 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 D | setresgid02.c | 98 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 D | setresgid03.c | 99 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 D | setsockopt01.c | 59 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 D | sockioctl01.c | 45 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 D | waitid02.c | 287 int lc, testno; local 294 for (testno = 0; testno < TST_TOTAL; testno++) 295 test_waitid(&tdat[testno]);
|
/external/curl/tests/server/ |
H A D | util.c | 186 char *test2file(long testno) argument 189 snprintf(filename, sizeof(filename), TEST_DATA_PATH, path, testno);
|
H A D | rtspd.c | 77 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 D | tftpd.c | 110 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 D | sws.c | 88 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 D | clock_nanosleep01.c | 64 int testno; variable 374 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/connect/ |
H A D | connect01.c | 58 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 D | mq_notify01.c | 52 int testno; variable 318 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/mq_open/ |
H A D | mq_open01.c | 68 int testno; variable 405 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
H A D | mq_timedreceive01.c | 72 int testno; variable 447 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/mq_timedsend/ |
H A D | mq_timedsend01.c | 70 int testno; variable 450 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/recv/ |
H A D | recv01.c | 58 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 D | recvfrom01.c | 58 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 D | send01.c | 47 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 D | sendto01.c | 46 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 D | recvmsg01.c | 61 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 D | sendmsg01.c | 53 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...] |