Lines Matching refs:CHECK

64 #define CHECK(expr)     do {						\  macro
197 CHECK(capsysctl != NULL); in test_operation()
204 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
212 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
216 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
218 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in test_operation()
228 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
230 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in test_operation()
240 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
242 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_WRITE)); in test_operation()
247 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
249 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_WRITE)); in test_operation()
253 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
255 CHECK(runtest(capsysctl) == SYSCTL0_READ0); in test_operation()
266 CHECK(capsysctl != NULL); in test_operation()
273 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
279 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
283 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
287 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
290 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
292 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in test_operation()
306 CHECK(capsysctl != NULL); in test_operation()
311 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
317 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
323 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
327 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
329 CHECK(runtest(capsysctl) == 0); in test_operation()
340 CHECK(capsysctl != NULL); in test_operation()
345 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
351 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
357 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
361 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
363 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in test_operation()
377 CHECK(capsysctl != NULL); in test_operation()
383 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
389 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
393 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
397 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
401 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
403 CHECK(runtest(capsysctl) == (SYSCTL1_READ0 | SYSCTL1_READ1 | in test_operation()
415 CHECK(capsysctl != NULL); in test_operation()
421 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
427 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
431 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
435 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
437 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in test_operation()
451 CHECK(capsysctl != NULL); in test_operation()
458 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
464 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
470 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
474 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
478 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
482 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
486 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
489 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
492 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
494 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_READ0)); in test_operation()
505 CHECK(capsysctl != NULL); in test_operation()
512 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
518 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
524 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
528 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
532 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
536 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
540 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
543 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
546 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
548 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_READ0)); in test_operation()
559 CHECK(capsysctl != NULL); in test_operation()
564 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
570 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
576 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
582 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
586 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
590 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
594 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
598 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
602 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
605 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
608 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
610 CHECK(runtest(capsysctl) == 0); in test_operation()
621 CHECK(capsysctl != NULL); in test_operation()
626 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
632 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
638 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
644 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
648 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
652 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
656 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
660 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
664 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
667 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
670 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
672 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_READ0)); in test_operation()
683 CHECK(capsysctl != NULL); in test_operation()
689 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
694 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
696 CHECK(runtest(capsysctl) == SYSCTL1_READ0); in test_operation()
707 CHECK(capsysctl != NULL); in test_operation()
713 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
718 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
720 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_READ0)); in test_operation()
731 CHECK(capsysctl != NULL); in test_operation()
738 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
744 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
750 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
754 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
758 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
762 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
766 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
769 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
772 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
774 CHECK(runtest(capsysctl) == (SYSCTL0_WRITE | SYSCTL1_WRITE)); in test_operation()
785 CHECK(capsysctl != NULL); in test_operation()
792 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
798 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
804 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
808 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
812 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
816 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
820 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
823 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
826 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
828 CHECK(runtest(capsysctl) == (SYSCTL0_WRITE | SYSCTL1_WRITE)); in test_operation()
839 CHECK(capsysctl != NULL); in test_operation()
844 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
850 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
856 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
862 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
866 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
870 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
874 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
878 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
882 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
885 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
888 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
890 CHECK(runtest(capsysctl) == 0); in test_operation()
901 CHECK(capsysctl != NULL); in test_operation()
906 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
912 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
918 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
924 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
928 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
932 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
936 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
940 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
944 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
947 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
950 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
952 CHECK(runtest(capsysctl) == (SYSCTL0_WRITE | SYSCTL1_WRITE)); in test_operation()
963 CHECK(capsysctl != NULL); in test_operation()
969 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
974 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
976 CHECK(runtest(capsysctl) == SYSCTL1_WRITE); in test_operation()
987 CHECK(capsysctl != NULL); in test_operation()
993 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
998 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
1000 CHECK(runtest(capsysctl) == (SYSCTL0_WRITE | SYSCTL1_WRITE)); in test_operation()
1011 CHECK(capsysctl != NULL); in test_operation()
1018 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
1020 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_WRITE)); in test_operation()
1031 CHECK(capsysctl != NULL); in test_operation()
1038 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
1040 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_WRITE)); in test_operation()
1051 CHECK(capsysctl != NULL); in test_operation()
1056 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
1058 CHECK(runtest(capsysctl) == 0); in test_operation()
1069 CHECK(capsysctl != NULL); in test_operation()
1074 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
1076 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_WRITE)); in test_operation()
1087 CHECK(capsysctl != NULL); in test_operation()
1093 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
1095 CHECK(runtest(capsysctl) == SYSCTL1_WRITE); in test_operation()
1106 CHECK(capsysctl != NULL); in test_operation()
1112 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_operation()
1114 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL1_WRITE)); in test_operation()
1131 CHECK(capsysctl != NULL); in test_names()
1136 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1142 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1146 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1150 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1153 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1155 CHECK(runtest(capsysctl) == SYSCTL0_READ0); in test_names()
1165 CHECK(capsysctl != NULL); in test_names()
1170 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1176 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1180 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1184 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1187 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1189 CHECK(runtest(capsysctl) == SYSCTL1_READ0); in test_names()
1199 CHECK(capsysctl != NULL); in test_names()
1204 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1210 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1214 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1218 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1221 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1223 CHECK(runtest(capsysctl) == SYSCTL0_WRITE); in test_names()
1233 CHECK(capsysctl != NULL); in test_names()
1238 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1244 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1248 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1252 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1255 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1257 CHECK(runtest(capsysctl) == SYSCTL1_WRITE); in test_names()
1267 CHECK(capsysctl != NULL); in test_names()
1272 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1278 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1282 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1286 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1289 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1291 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in test_names()
1302 CHECK(capsysctl != NULL); in test_names()
1307 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1313 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1317 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1321 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1324 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1326 CHECK(runtest(capsysctl) == (SYSCTL1_READ0 | SYSCTL1_READ1 | in test_names()
1337 CHECK(capsysctl != NULL); in test_names()
1341 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1345 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1348 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1350 CHECK(runtest(capsysctl) == 0); in test_names()
1360 CHECK(capsysctl != NULL); in test_names()
1364 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1368 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1371 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1373 CHECK(runtest(capsysctl) == SYSCTL1_READ0); in test_names()
1383 CHECK(capsysctl != NULL); in test_names()
1387 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1391 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1394 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1396 CHECK(runtest(capsysctl) == 0); in test_names()
1406 CHECK(capsysctl != NULL); in test_names()
1410 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1414 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1417 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1419 CHECK(runtest(capsysctl) == SYSCTL1_WRITE); in test_names()
1429 CHECK(capsysctl != NULL); in test_names()
1433 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1437 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1440 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1442 CHECK(runtest(capsysctl) == 0); in test_names()
1452 CHECK(capsysctl != NULL); in test_names()
1456 CHECK(cap_limit_set(capsysctl, limits) == 0); in test_names()
1460 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1463 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_names()
1465 CHECK(runtest(capsysctl) == (SYSCTL1_READ0 | SYSCTL1_READ1 | in test_names()
1498 CHECK(runtest(capsysctl) == (SYSCTL0_READ0 | SYSCTL0_READ1 | in main()
1509 CHECK(sysctlbyname(SYSCTL0_NAME, NULL, NULL, &scvalue0, in main()
1511 CHECK(sysctlbyname(SYSCTL1_NAME, NULL, NULL, &scvalue1, in main()