diff options
author | Tom Hromatka <tom.hromatka@oracle.com> | 2022-03-16 11:22:26 -0600 |
---|---|---|
committer | Tom Hromatka <tom.hromatka@oracle.com> | 2022-03-18 12:55:34 -0600 |
commit | c1c2e28520689779626dbbad8f11866b9b962748 (patch) | |
tree | 4f0fd7d715d41ca304b382ca85628fbbaf9b7405 | |
parent | 2de3b87122c18b58b3e2b32ab2e81ac43774a7aa (diff) | |
download | libseccomp-c1c2e28520689779626dbbad8f11866b9b962748.tar.gz |
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.hromatka@oracle.com>
Acked-by: Paul Moore <paul@paul-moore.com>
-rwxr-xr-x | tests/53-sim-binary_tree.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/53-sim-binary_tree.py b/tests/53-sim-binary_tree.py index 39b2769..8ee58cd 100755 --- a/tests/53-sim-binary_tree.py +++ b/tests/53-sim-binary_tree.py @@ -68,6 +68,7 @@ table = [ def test(args): f = SyscallFilter(ALLOW) + f.set_attr(Attr.CTL_OPTIMIZE, 2) f.remove_arch(Arch()) f.add_arch(Arch("aarch64")) |