summaryrefslogtreecommitdiff
path: root/tests/03-sim-basic_chains.py
diff options
context:
space:
mode:
authorBrian Cain <brian.cain@gmail.com>2015-03-14 10:27:03 -0700
committerPaul Moore <pmoore@redhat.com>2015-03-20 16:30:27 -0400
commit49419d82c80129323c78ad51a7fd7b317e511b5f (patch)
tree94136ef8a51dedbee1758058c2af67aad51361c0 /tests/03-sim-basic_chains.py
parent5b813a7331dcadd5d8b63532df8d07cdf47a041e (diff)
downloadlibseccomp-49419d82c80129323c78ad51a7fd7b317e511b5f.tar.gz
tests: purge the heretical semicolons
These were likely vestiges from the C implementation of the corresponding tests. But in python, we've been liberated from the bonds of semicolons, let us rejoice and instead serve our new whitespace masters! Signed-off-by: Brian Cain <brian.cain@gmail.com> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/03-sim-basic_chains.py')
-rwxr-xr-xtests/03-sim-basic_chains.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/03-sim-basic_chains.py b/tests/03-sim-basic_chains.py
index 324170d..81eac1a 100755
--- a/tests/03-sim-basic_chains.py
+++ b/tests/03-sim-basic_chains.py
@@ -30,11 +30,11 @@ from seccomp import *
def test(args):
f = SyscallFilter(KILL)
- f.add_rule_exactly(ALLOW, "read", Arg(0, EQ, sys.stdin.fileno()));
- f.add_rule_exactly(ALLOW, "write", Arg(0, EQ, sys.stdout.fileno()));
- f.add_rule_exactly(ALLOW, "write", Arg(0, EQ, sys.stderr.fileno()));
- f.add_rule_exactly(ALLOW, "close");
- f.add_rule_exactly(ALLOW, "rt_sigreturn");
+ f.add_rule_exactly(ALLOW, "read", Arg(0, EQ, sys.stdin.fileno()))
+ f.add_rule_exactly(ALLOW, "write", Arg(0, EQ, sys.stdout.fileno()))
+ f.add_rule_exactly(ALLOW, "write", Arg(0, EQ, sys.stderr.fileno()))
+ f.add_rule_exactly(ALLOW, "close")
+ f.add_rule_exactly(ALLOW, "rt_sigreturn")
return f
args = util.get_opt()