aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance_test.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2022-03-16 15:34:04 +0100
committerGitHub <noreply@github.com>2022-03-16 15:34:04 +0100
commitdfa9a8ed6b12b102fe3625ca8fc786aa86d54a5a (patch)
tree0fe8bc242c79504af94268583c4808fa65e67198 /pkg/instance/instance_test.go
parent46cc3b2193a3be0e0043d9cb98af1121aeebf09d (diff)
syz-verifier: don't use -collide in the runner (#3032)
Diffstat (limited to 'pkg/instance/instance_test.go')
-rw-r--r--pkg/instance/instance_test.go7
1 files changed, 1 insertions, 6 deletions
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)
}