diff options
author | Paul Moore <pmoore@redhat.com> | 2014-04-15 14:30:04 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-04-15 18:19:57 -0400 |
commit | 2b9c637c6834ff377f209bf7f4c829b3a22d7d16 (patch) | |
tree | 24c4498d726978bf97272a80b2ac6eacd823b4c3 /tests/16-sim-arch_basic.py | |
parent | 9b119de38267358f6e776e826adad0b1be58ed53 (diff) | |
download | libseccomp-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-x | tests/16-sim-arch_basic.py | 2 |
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())) |