diff options
| author | Zubin Mithra <zsm@chromium.org> | 2019-11-04 11:06:36 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-05 09:15:56 +0100 |
| commit | 0a2d7d829341f42f7df148a6623428283a30821f (patch) | |
| tree | 763d6bea3c26b9f2387255a79bd186d60bc6b33b /tools/syz-bisect | |
| parent | 76630fc9477809305ab0fc257f92826e7671cb7e (diff) | |
pkg/bisect: modify Run() to return information about commit
* Modify Run() to return the commit object when a failure occurs on the
oldest tested release(for BisectCause) and latest tested
release(for BisectFix).
* Modify tests to check the returned commit object.
Diffstat (limited to 'tools/syz-bisect')
| -rw-r--r-- | tools/syz-bisect/bisect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-bisect/bisect.go b/tools/syz-bisect/bisect.go index e86bb9afa..352dda272 100644 --- a/tools/syz-bisect/bisect.go +++ b/tools/syz-bisect/bisect.go @@ -103,7 +103,7 @@ func main() { loadFile("kernel.config", &cfg.Kernel.Config) loadFile("repro.syz", &cfg.Repro.Syz) loadFile("repro.opts", &cfg.Repro.Opts) - if _, _, err := bisect.Run(cfg); err != nil { + if _, _, _, err := bisect.Run(cfg); err != nil { fmt.Fprintf(os.Stderr, "bisection failed: %v\n", err) os.Exit(1) } |
