summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2020-03-10 20:36:25 -0400
committerPaul Moore <paul@paul-moore.com>2020-03-10 20:47:31 -0400
commitdc2831e8fdcad71d565ba02abf732c8ffd260f66 (patch)
tree0b13f04f1dc9803b941a6359ff1864628a703499 /tests
parent26b483b4d5dc180c8334a0adad3c92e23605010e (diff)
downloadlibseccomp-dc2831e8fdcad71d565ba02abf732c8ffd260f66.tar.gz
tests: fix some problems with test 53
Two fixes to ensure that test 53 runs correctly: * remove a debug "print()" in the Python test * use the native ABI in the Python test Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/53-sim-binary_tree.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/53-sim-binary_tree.py b/tests/53-sim-binary_tree.py
index 3b933b9..0d3a77f 100755
--- a/tests/53-sim-binary_tree.py
+++ b/tests/53-sim-binary_tree.py
@@ -72,13 +72,7 @@ table = [
def test(args):
f = SyscallFilter(ALLOW)
- f.remove_arch(Arch())
- f.add_arch(Arch("x86_64"))
- f.add_arch(Arch("x86"))
- f.set_attr(Attr.CTL_OPTIMIZE, 2)
-
for entry in table:
- print(entry)
if entry["arg_cnt"] == 2:
f.add_rule(ERRNO(entry["error"]), entry["syscall"],
Arg(0, EQ, entry["arg1"]),