projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic pledge/unveil sandbox on OpenBSD
[tinc]
/
test
/
integration
/
splice.py
diff --git
a/test/integration/splice.py
b/test/integration/splice.py
index
578845f
..
ce8136a
100755
(executable)
--- a/
test/integration/splice.py
+++ b/
test/integration/splice.py
@@
-10,6
+10,7
@@
from testlib import check, cmd, path
from testlib.log import log
from testlib.proc import Tinc, Script
from testlib.test import Test
from testlib.log import log
from testlib.proc import Tinc, Script
from testlib.test import Test
+from testlib.feature import SANDBOX_LEVEL
def init(ctx: Test, *options: str) -> T.Tuple[Tinc, Tinc]:
def init(ctx: Test, *options: str) -> T.Tuple[Tinc, Tinc]:
@@
-26,6
+27,7
@@
def init(ctx: Test, *options: str) -> T.Tuple[Tinc, Tinc]:
set Address localhost
set AutoConnect no
set Subnet 10.96.96.1
set Address localhost
set AutoConnect no
set Subnet 10.96.96.1
+ set Sandbox {SANDBOX_LEVEL}
{custom}
"""
foo.cmd(stdin=stdin)
{custom}
"""
foo.cmd(stdin=stdin)
@@
-37,6
+39,7
@@
def init(ctx: Test, *options: str) -> T.Tuple[Tinc, Tinc]:
set DeviceType dummy
set AutoConnect no
set Subnet 10.96.96.2
set DeviceType dummy
set AutoConnect no
set Subnet 10.96.96.2
+ set Sandbox {SANDBOX_LEVEL}
{custom}
"""
bar.cmd(stdin=stdin)
{custom}
"""
bar.cmd(stdin=stdin)