Lines Matching refs:do_test
119 do_test(char const *msg, int expectation, ...) in do_test() function
164 do_test("default is disallow all", DEAD, NULL);
165 do_test("disallow all dies", DEAD, DENY(0, 1), NULL);
166 do_test("allow all lives", ALIVE, ALLOW(0, 1), NULL);
167 do_test("allow testmask lives", ALIVE, ALLOW(0, 12), NULL);
168 do_test("disallow testmask overrides dies", DEAD, ALLOW(0, 1), DENY(1, 12), NULL);
189 do_test("non-fatal: default is disallow all", ALIVE, NULL);
190 do_test("non-fatal: disallow all", ALIVE, DENY(0, 1), NULL);
191 do_test("non-fatal: allow all", ALIVE, ALLOW(0, 1), NULL);
192 do_test("non-fatal: allow testmask", ALIVE, ALLOW(0, 12), NULL);
193 do_test("non-fatal: disallow testmask overrides", ALIVE, ALLOW(0, 1), DENY(1, 12), NULL);
200 do_test("force-fatal: default is disallow all", DEAD, "-F", NULL);
201 do_test("force-fatal: disallow all", DEAD, DENY(0, 1), "-F", NULL);
202 do_test("force-fatal: allow all", ALIVE, ALLOW(0, 1), "-F", NULL);
203 do_test("force-fatal: allow testmask", ALIVE, ALLOW(0, 12), "-F", NULL);
204 do_test("force-fatal: disallow testmask overrides", DEAD, ALLOW(0, 1), DENY(1, 12), "-F", NULL);