From 3a81775029176dd4c693542e6715b985fa7ade4d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 3 May 2024 15:24:13 +0200 Subject: pkg/host: remove FileInfo Switch to flatrpc.FileInfoT instead. In preparation for pkg/host removal and to avoid circular dependencies in future changes. --- pkg/vminfo/linux_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/vminfo/linux_test.go') diff --git a/pkg/vminfo/linux_test.go b/pkg/vminfo/linux_test.go index 63a352924..1573a4c78 100644 --- a/pkg/vminfo/linux_test.go +++ b/pkg/vminfo/linux_test.go @@ -13,7 +13,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/google/syzkaller/pkg/host" + "github.com/google/syzkaller/pkg/flatrpc" "github.com/google/syzkaller/pkg/ipc" "github.com/google/syzkaller/pkg/rpctype" "github.com/google/syzkaller/sys/targets" @@ -35,7 +35,7 @@ func TestLinuxSyscalls(t *testing.T) { "minix", "adfs", "ufs", "sysv", "reiserfs", "ocfs2", "nilfs2", "iso9660", "hpfs", "binder", "bcachefs", "", } - files := []host.FileInfo{ + files := []flatrpc.FileInfoT{ { Name: "/proc/version", Exists: true, @@ -128,7 +128,7 @@ func TestCannedCPUInfoLinux(t *testing.T) { } for i, test := range tests { t.Run(fmt.Sprint(i), func(t *testing.T) { - files := createVirtualFilesystem([]host.FileInfo{{ + files := createVirtualFilesystem([]flatrpc.FileInfoT{{ Name: "/proc/cpuinfo", Exists: true, Data: []byte(test.data), -- cgit mrf-deployment