Log Message:
-----------
tests: fix 53-sim-binary_tree to use binary tree
SCMP_FLTATR_CTL_OPTIMIZE = 2 was not being set for test
53-sim-binary_tree.py. Set the optimization level to 2 to
ensure that the binary tree is being employed.
Fixes: 38f04da84748 ("tests: add tests for the binary tree")
Signed-off-by: Tom Hromatka <tom.hr...@oracle.com>
Acked-by: Paul Moore <pa...@paul-moore.com>
(cherry picked from commit c1c2e28520689779626dbbad8f11866b9b962748)
Changed paths:
M tests/.gitignore
A tests/59-basic-empty_binary_tree.c
A tests/59-basic-empty_binary_tree.py
A tests/59-basic-empty_binary_tree.tests
M tests/Makefile.am
Log Message:
-----------
tests: Add a binary tree test with zero syscalls
Add a test that exercises the binary tree optimization but
the seccomp filter has zero syscalls in it.