feat(runner): compile Go and check answers per test group
This commit is contained in:
1 parent
e95c681165
commit
afee564bf4
61 files changed
+2592
-143
No files matched your search
@@ -75,9 +75,10 @@ func validateConfig(cfg Config) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// NewBox creates the read-only file directory of a run.
|
||||
// NewBox creates the directory of one program; the sandbox user owns its
|
||||
// build output.
|
||||
func (e *Executor) NewBox(fileName string, content []byte) (*Box, error) {
|
||||
return CreateBox(e.cfg.WorkRoot, fileName, content)
|
||||
return CreateBox(e.cfg.WorkRoot, fileName, content, Owner{UID: e.cfg.SandboxUID, GID: e.cfg.SandboxGID})
|
||||
}
|
||||
|
||||
// Leftovers lists boxes and run cgroups that still exist. After every run
|
||||
|
||||
Reference in new issue
Block a user