diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-18 10:48:38 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-18 10:48:38 +0100 |
| commit | 1e30dd27eeb009adf8dfbd70ce863f5d99b5f483 (patch) | |
| tree | 36a09897ef5beb171da250fb29f77d2641e4baac | |
| parent | 446ca483e28eeb72d77658330ce7635c13390c55 (diff) | |
syz-ci: run syzkaller tests without sandbox
pkg/vcs git tests fail with sandboxing as part of git
invocations is sandboxed and part is not.
| -rw-r--r-- | syz-ci/syzupdater.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/syz-ci/syzupdater.go b/syz-ci/syzupdater.go index c86a678d3..66c8812a1 100644 --- a/syz-ci/syzupdater.go +++ b/syz-ci/syzupdater.go @@ -258,7 +258,10 @@ func (upd *SyzUpdater) build(commit *vcs.Commit) error { } cmd = osutil.Command("go", "test", "-short", "./...") cmd.Dir = upd.syzkallerDir - cmd.Env = append([]string{"GOPATH=" + upd.gopathDir}, os.Environ()...) + cmd.Env = append([]string{ + "GOPATH=" + upd.gopathDir, + "SYZ_DISABLE_SANDBOXING=yes", + }, os.Environ()...) if _, err := osutil.Run(time.Hour, cmd); err != nil { return osutil.PrependContext("testing failed: %v", err) } |
