Lines Matching refs:testno
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].tolen; in main()
389 msgdat.msg_iov = tdat[testno].iov; in main()
390 msgdat.msg_iovlen = tdat[testno].iovcnt; in main()
395 TEST(sendmsg(s, tdat[testno].msg, tdat[testno].flags)); in main()
400 if (TEST_RETURN != tdat[testno].retval || in main()
402 TEST_ERRNO != tdat[testno].experrno)) { in main()
405 " %d)", tdat[testno].desc, in main()
406 TEST_RETURN, tdat[testno].retval, in main()
407 TEST_ERRNO, tdat[testno].experrno); in main()
410 tdat[testno].desc); in main()
412 tdat[testno].cleanup(); in main()
578 if (tdat[testno].experrno == EBADF) in setup0()
592 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type, in setup1()
593 tdat[testno].proto); in setup1()
594 if (tdat[testno].type == SOCK_STREAM && in setup1()
595 connect(s, (struct sockaddr *)tdat[testno].to, in setup1()
596 tdat[testno].tolen) < 0) { in setup1()
612 "test %d: %s", testno, strerror(errno)); in setup2()
618 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type, in setup3()
619 tdat[testno].proto); in setup3()
656 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type, in setup5()
657 tdat[testno].proto); in setup5()