diff options
author | Paul Moore <paul@paul-moore.com> | 2020-03-10 20:36:25 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-03-10 20:47:31 -0400 |
commit | dc2831e8fdcad71d565ba02abf732c8ffd260f66 (patch) | |
tree | 0b13f04f1dc9803b941a6359ff1864628a703499 /tests | |
parent | 26b483b4d5dc180c8334a0adad3c92e23605010e (diff) | |
download | libseccomp-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-x | tests/53-sim-binary_tree.py | 6 |
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"]), |