diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2022-04-06 11:32:21 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-04-06 17:14:35 +0200 |
| commit | 4a7cb474c2f19630d8b1c2609f69ea25f249d535 (patch) | |
| tree | 688e6ea3f8928ce50629506ddcd69cc4303c7de5 /pkg/instance/instance_test.go | |
| parent | 86b4b7f81837a5f26db1e1e2cbbefc7c3885fb08 (diff) | |
pkg/instance: explicitly specify optional fuzzer arguments
Otherwise we get problems while testing patches for older syzkaller
versions, which didn't support optional arguments.
Adjust tests so that problems with how OldFuzzerCmd handles such
arguments could be seen.
Diffstat (limited to 'pkg/instance/instance_test.go')
| -rw-r--r-- | pkg/instance/instance_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/instance_test.go b/pkg/instance/instance_test.go index 92903512c..2f5c08625 100644 --- a/pkg/instance/instance_test.go +++ b/pkg/instance/instance_test.go @@ -33,7 +33,7 @@ func TestFuzzerCmd(t *testing.T) { flagDebug := flags.Bool("debug", false, "debug output from executor") flagV := flags.Int("v", 0, "verbosity") cmdLine := OldFuzzerCmd(os.Args[0], "/myexecutor", "myname", targets.Linux, targets.I386, "localhost:1234", - "namespace", 3, true, true, false, 0) + "namespace", 3, true, true, false, 5) args := strings.Split(cmdLine, " ")[1:] if err := flags.Parse(args); err != nil { t.Fatal(err) |
