From dfa9a8ed6b12b102fe3625ca8fc786aa86d54a5a Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Wed, 16 Mar 2022 15:34:04 +0100 Subject: syz-verifier: don't use -collide in the runner (#3032) --- pkg/instance/instance_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'pkg/instance/instance_test.go') diff --git a/pkg/instance/instance_test.go b/pkg/instance/instance_test.go index e27361091..92903512c 100644 --- a/pkg/instance/instance_test.go +++ b/pkg/instance/instance_test.go @@ -152,11 +152,10 @@ func TestRunnerCmd(t *testing.T) { flagArch := flags.String("arch", "", "target architecture") flagPool := flags.Int("pool", 0, "index of pool that started VM") flagVM := flags.Int("vm", 0, "index of VM that started the Runner") - flagCollide := flags.Bool("collide", true, "collide syscalls to provoke data races") flagThreaded := flags.Bool("threaded", true, "use threaded mode in executor") flagEnv := flags.Bool("new-env", true, "create a new environment for each program") - cmdLine := RunnerCmd(os.Args[0], "localhost:1234", targets.Linux, targets.AMD64, 0, 0, false, false, false) + cmdLine := RunnerCmd(os.Args[0], "localhost:1234", targets.Linux, targets.AMD64, 0, 0, false, false) args := strings.Split(cmdLine, " ")[1:] if err := flags.Parse(args); err != nil { t.Fatalf("error parsing flags: %v, want: nil", err) @@ -182,10 +181,6 @@ func TestRunnerCmd(t *testing.T) { t.Errorf("bad vm index: %d, want: %d", got, want) } - if got, want := *flagCollide, false; got != want { - t.Errorf("bad collide: %t, want: %t", got, want) - } - if got, want := *flagThreaded, false; got != want { t.Errorf("bad threaded: %t, want: %t", got, want) } -- cgit mrf-deployment