From 6bfd4f09db1079ee95e0ee10f770e34499e9eeee Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 3 Aug 2018 18:12:24 +0200 Subject: 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. --- pkg/ipc/ipc_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkg/ipc/ipc_test.go') 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) } -- cgit mrf-deployment