summaryrefslogtreecommitdiff
path: root/tests/16-sim-arch_basic.py
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-04-15 14:30:04 -0400
committerPaul Moore <pmoore@redhat.com>2014-04-15 18:19:57 -0400
commit2b9c637c6834ff377f209bf7f4c829b3a22d7d16 (patch)
tree24c4498d726978bf97272a80b2ac6eacd823b4c3 /tests/16-sim-arch_basic.py
parent9b119de38267358f6e776e826adad0b1be58ed53 (diff)
downloadlibseccomp-2b9c637c6834ff377f209bf7f4c829b3a22d7d16.tar.gz
python: add MIPS and MIPSEL to the python bindings
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/16-sim-arch_basic.py')
-rwxr-xr-xtests/16-sim-arch_basic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/16-sim-arch_basic.py b/tests/16-sim-arch_basic.py
index d29a5ff..21272eb 100755
--- a/tests/16-sim-arch_basic.py
+++ b/tests/16-sim-arch_basic.py
@@ -38,6 +38,8 @@ def test(args):
f.add_arch(Arch.X32)
if not f.exist_arch(Arch.ARM):
f.add_arch(Arch.ARM)
+ if not f.exist_arch(Arch.MIPSEL):
+ f.add_arch(Arch.MIPSEL)
f.add_rule(ALLOW, "read", Arg(0, EQ, sys.stdin.fileno()))
f.add_rule(ALLOW, "write", Arg(0, EQ, sys.stdout.fileno()))
f.add_rule(ALLOW, "write", Arg(0, EQ, sys.stderr.fileno()))