Lines Matching refs:testno
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].desc, in main()
141 TEST_RETURN, tdat[testno].retval, in main()
142 TEST_ERRNO, tdat[testno].experrno); in main()
145 tdat[testno].desc); in main()
147 tdat[testno].cleanup(); in main()
173 if (tdat[testno].experrno == EBADF) { in setup0()
194 tdat[testno].experrno = ENOTTY; in setup0()
200 if (tdat[testno].experrno != EBADF) { in cleanup0()
208 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type, in setup1()
209 tdat[testno].proto); in setup1()
213 if (strncmp(tdat[testno].desc, "ATMARK on UDP", 14) == 0) { in setup1()
215 tdat[testno].experrno = ENOTTY; in setup1()
221 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type, in setup2()
222 tdat[testno].proto); in setup2()