From f0eccc70522c2107f70d9ab6626924612b3da80d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 28 Aug 2016 13:51:09 +0200 Subject: repro: use correct sandbox mode Update #59 --- tools/syz-repro/repro.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/syz-repro') diff --git a/tools/syz-repro/repro.go b/tools/syz-repro/repro.go index b15d07dc0..903daeabf 100644 --- a/tools/syz-repro/repro.go +++ b/tools/syz-repro/repro.go @@ -216,8 +216,8 @@ func testProg(cfg *config.Config, p *prog.Prog, multiplier int, threaded, collid repeat *= multiplier timeoutSec *= multiplier timeout := time.Duration(timeoutSec) * time.Second - command := fmt.Sprintf("%v -executor %v -cover=0 -procs=%v -repeat=%v -threaded=%v -collide=%v %v", - inst.execprogBin, inst.executorBin, cfg.Procs, repeat, threaded, collide, bin) + command := fmt.Sprintf("%v -executor %v -cover=0 -procs=%v -repeat=%v -sandbox %v -threaded=%v -collide=%v %v", + inst.execprogBin, inst.executorBin, cfg.Procs, repeat, cfg.Sandbox, threaded, collide, bin) log.Printf("testing program (threaded=%v, collide=%v, repeat=%v, timeout=%v):\n%s\n", threaded, collide, repeat, timeout, pstr) return testImpl(inst, command, timeout) -- cgit mrf-deployment