summaryrefslogtreecommitdiff
path: root/tests/11-basic-basic_errors.py
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-05-08 10:59:11 -0400
committerPaul Moore <pmoore@redhat.com>2014-05-08 11:11:29 -0400
commit5bfd306219835ff01efd611921ab64fd7ea10918 (patch)
treec51b5be784e764f032f5dbd3af48d6f189f32d43 /tests/11-basic-basic_errors.py
parentf05fc7cbc294f95fd62fb0aea52561c14f52aba9 (diff)
downloadlibseccomp-5bfd306219835ff01efd611921ab64fd7ea10918.tar.gz
tests: update the tests to use the new architecture resolving functionality
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/11-basic-basic_errors.py')
-rwxr-xr-xtests/11-basic-basic_errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/11-basic-basic_errors.py b/tests/11-basic-basic_errors.py
index 5f5eccf..10e5d7d 100755
--- a/tests/11-basic-basic_errors.py
+++ b/tests/11-basic-basic_errors.py
@@ -74,8 +74,8 @@ def test():
pass
f = SyscallFilter(ALLOW)
- f.remove_arch(Arch.NATIVE)
- f.add_arch(Arch.X86)
+ f.remove_arch(Arch())
+ f.add_arch(Arch("x86"))
try:
f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 2))
except RuntimeError: