Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fix 54-live-binary_tree to use binary tree
Apparently, an early implementation of the binary tree optimization used to enable the feature when the number of rules added was > 16. The code was later changed to add and use SCMP_FLTATR_CTL_OPTIMIZE, but the 54-live-binary_tree test case was left as is. So, despite its name, it is not testing the binary tree. Fix this, and remove the comment that referred to the old implementation. Fixes: 38f04da ("tests: add tests for the binary tree") Reviewed-by: Tom Hromatka <[email protected]> Signed-off-by: Kir Kolyshkin <[email protected]> [PM: restyled the "Fixes" tag] Signed-off-by: Paul Moore <[email protected]>
- Loading branch information