Lines Matching defs:test
25 * Additional file locking test cases for checking proper notifictaion
29 * Various test cases are used to lock a file opened without mandatory
48 #include "test.h"
272 static int test;
287 * cleanup - performs all the ONE TIME cleanup for this test at completion or
311 test + 1, kid, errno);
319 test + 1, kid, errno);
334 tst_resm(TFAIL, "Test case %d, errno = %d", test + 1,
398 * setup - performs all ONE TIME steup for this test
452 /* loop through all test cases */
453 for (test = start; test < end; test++) {
461 thiscase = &testcases[test];
467 tst_resm(TFAIL, "Test case %d, errno = %d", test + 1,
482 test + 1, errno);
503 test, thislock, fd) < 0) {
542 test + 1);
553 test + 1, errno);
567 test + 1, errno);
626 "or got bad status (x%x)", test + 1,
636 "children", test + 1, nexited, child_count);
658 maybe_run_child(dochild_uc, "ddddd", &kid_uc, &parent, &test,