Files
gentoo/sys-apps/bubblewrap/files/bubblewrap-0.12.0-tests-run.patch
Sam James 8b8d65790e sys-apps/bubblewrap: fix tests
I'm not sure why I only see this on some of my machines.

Closes: https://bugs.gentoo.org/982101
Signed-off-by: Sam James <sam@gentoo.org>
2026-09-08 23:00:12 +01:00

13 lines
570 B
Diff

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):