blob: e0b260d7c71a7d02ff6abe1bfac7c222b2412b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
https://bugs.gentoo.org/982101
--- a/tests/test-sandbox.py
+++ b/tests/test-sandbox.py
@@ -309,7 +309,7 @@ class TestSandbox(unittest.TestCase):
@in_sandbox()
def test_ro_bind_root_is_recursive(self):
"""The base --ro-bind / / should apply read-only to sub-mounts."""
- skip_prefixes = ('/dev', '/proc', '/sys', '/tmp')
+ skip_prefixes = ('/dev', '/proc', '/sys', '/tmp', '/run')
for mountpoint in list_mounts():
if any(mountpoint == p or mountpoint.startswith(p + '/')
for p in skip_prefixes):
|