Lines Matching defs:test

130 #define FAIL(test)					\
132 if (test) { \
133 printf("FAIL (%s)\n", #test); \
185 * test. We use a pipe to communicate with the child.
221 * test.
248 * XXX this test hangs on FreeBSD NFS filesystems due to limitations
256 * test. We use a pipe to communicate with the child.
292 * test.
326 * test. We use a pipe to communicate with the child.
361 * test.
403 * test. Because our test relies on the child process being
449 * test.
486 * This test involves three process, P, C1 and C2. We set things up so
496 * Because our test relies on the child process being blocked
552 * perform the test.
600 * test. We use a pipe to communicate with the child.
636 * test.
672 * test. We use a pipe to communicate with the child.
708 * test.
749 * test. We use a pipe to communicate with the child.
785 * test.
821 * test. We use a pipe to communicate with the child.
860 * test.
974 * test. We use a pipe to communicate with the child.
1011 * test.
1051 * test. We use a pipe to communicate with the child.
1094 * test.
1129 * Test 14 - soak test
1153 printf("14 - soak test: ");
1322 * To test this, we first arrange for two shared locks on the file,
1335 * test. We use a pipe to communicate with the child.
1374 * test.
1444 * test. We use a pipe to communicate with the child.
1482 * test.
1521 struct test {
1522 int (*testfn)(int, int, const char **); /* function to perform the test */
1523 int num; /* test number */
1524 int intr; /* non-zero if the test interrupts a lock */
1527 static struct test tests[] = {
1558 errx(1, "usage: flock <directory> [test number] ...");