Lines Matching refs:test

125 #define FAIL(test)					\
127 if (test) { \
128 printf("FAIL (%s)\n", #test); \
180 * test. We use a pipe to communicate with the child.
216 * test.
243 * XXX this test hangs on FreeBSD NFS filesystems due to limitations
251 * test. We use a pipe to communicate with the child.
287 * test.
321 * test. We use a pipe to communicate with the child.
356 * test.
398 * test. Because our test relies on the child process being
444 * test.
481 * This test involves three process, P, C1 and C2. We set things up so
491 * Because our test relies on the child process being blocked
547 * perform the test.
595 * test. We use a pipe to communicate with the child.
631 * test.
667 * test. We use a pipe to communicate with the child.
703 * test.
744 * test. We use a pipe to communicate with the child.
780 * test.
816 * test. We use a pipe to communicate with the child.
855 * test.
969 * test. We use a pipe to communicate with the child.
1006 * test.
1046 * test. We use a pipe to communicate with the child.
1089 * test.
1124 * Test 14 - soak test
1148 printf("14 - soak test: ");
1317 * To test this, we first arrange for two shared locks on the file,
1330 * test. We use a pipe to communicate with the child.
1369 * test.
1439 * test. We use a pipe to communicate with the child.
1477 * test.
1516 struct test {
1517 int (*testfn)(int, int, const char **); /* function to perform the test */
1518 int num; /* test number */
1519 int intr; /* non-zero if the test interrupts a lock */
1522 struct test tests[] = {
1554 errx(1, "usage: flock <directory> [test number] ...");