platform_external_selinux/libsepol/tests/test-neverallow.h
Christian Göttsche 7c0a84c8cc libsepol/tests: add tests for neverallow assertions
Add tests for neverallow assertion checks.
This creates a foundation for the status quo, and enables to spot
regressions in future changes to the - quite complex - assertion logic.
One example is the support for not-self rules.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-11-21 14:34:37 -05:00

10 lines
228 B
C

#ifndef TEST_NEVERALLOW_H__
#define TEST_NEVERALLOW_H__
#include <CUnit/Basic.h>
int neverallow_test_init(void);
int neverallow_test_cleanup(void);
int neverallow_add_tests(CU_pSuite suite);
#endif /* TEST_NEVERALLOW_H__ */