[tools] Let gcc work in the sandbox.
This commit is contained in:
parent
2b08e4d490
commit
6489a11d4c
2 changed files with 3 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ class SandboxFs:
|
|||
|
||||
def __init__(self, holes=None):
|
||||
self.holes = [] if holes is None else holes
|
||||
self.holes += ["/dev/null"]
|
||||
for hole in self.holes:
|
||||
if not hole.startswith("/"):
|
||||
raise ValueError("Holes must be absolute paths: %r" % hole)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue