summaryrefslogtreecommitdiff
path: root/tests/08-sim-subtree_checks.py
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2018-01-17 22:05:18 -0500
committerPaul Moore <paul@paul-moore.com>2018-01-17 22:05:18 -0500
commit6aa2200d3baf7c95cfbd687348155c7373e066f0 (patch)
tree32c8b8cd7faab93ac4860ff104519bc0088acacb /tests/08-sim-subtree_checks.py
parentce3dda9a1747cc6a4c044eafe5a2eb653c974919 (diff)
downloadlibseccomp-6aa2200d3baf7c95cfbd687348155c7373e066f0.tar.gz
tests: update the python tests
Commit ce3dda9a1747 ("all: massive src/db.c rework") failed to update the python tests to match the native/C tests; this patch fixes that oversight. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests/08-sim-subtree_checks.py')
-rwxr-xr-xtests/08-sim-subtree_checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/08-sim-subtree_checks.py b/tests/08-sim-subtree_checks.py
index 20f313c..66dac3c 100755
--- a/tests/08-sim-subtree_checks.py
+++ b/tests/08-sim-subtree_checks.py
@@ -105,10 +105,10 @@ def test(args):
Arg(1, NE, 1))
f.add_rule_exactly(TRAP, 1007,
- Arg(2, EQ, 1),
+ Arg(2, EQ, 2),
Arg(3, EQ, 3))
f.add_rule_exactly(ALLOW, 1007,
- Arg(2, EQ, 1),
+ Arg(2, EQ, 2),
Arg(3, NE, 3))
f.add_rule_exactly(ALLOW, 1007,
Arg(3, NE, 3))