aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ipc/ipc_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-03 18:12:24 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-08-03 18:12:24 +0200
commit6bfd4f09db1079ee95e0ee10f770e34499e9eeee (patch)
treedcad32286f42c6cb8533ec4b7f5ddfab4ba3c8b0 /pkg/ipc/ipc_test.go
parent5ff1f9faece0ff7318d05c21a3efd0b44a009ac8 (diff)
pkg/ipc: move flags into subpackage
Move all ipc flags into pkg/ipc/ipcconfig package so that importing pkg/ipc does pull in the flags.
Diffstat (limited to 'pkg/ipc/ipc_test.go')
-rw-r--r--pkg/ipc/ipc_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/ipc/ipc_test.go b/pkg/ipc/ipc_test.go
index 3a97d9c2d..55a8749bb 100644
--- a/pkg/ipc/ipc_test.go
+++ b/pkg/ipc/ipc_test.go
@@ -1,7 +1,7 @@
// Copyright 2015 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-package ipc
+package ipc_test
import (
"fmt"
@@ -13,6 +13,8 @@ import (
"time"
"github.com/google/syzkaller/pkg/csource"
+ . "github.com/google/syzkaller/pkg/ipc"
+ "github.com/google/syzkaller/pkg/ipc/ipcconfig"
"github.com/google/syzkaller/pkg/osutil"
"github.com/google/syzkaller/prog"
_ "github.com/google/syzkaller/sys"
@@ -42,7 +44,7 @@ func initTest(t *testing.T) (*prog.Target, rand.Source, int, EnvFlags) {
if err != nil {
t.Fatal(err)
}
- cfg, _, err := DefaultConfig(target)
+ cfg, _, err := ipcconfig.Default(target)
if err != nil {
t.Fatal(err)
}