diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 15:24:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 15:12:45 +0000 |
| commit | 3a81775029176dd4c693542e6715b985fa7ade4d (patch) | |
| tree | 8b6558acff0249792c4be3b26a018f70dbd4535d /pkg/vminfo/linux_test.go | |
| parent | 3ff099b95730725adf7e5a1fae1a1463a3647a3d (diff) | |
pkg/host: remove FileInfo
Switch to flatrpc.FileInfoT instead.
In preparation for pkg/host removal and to avoid
circular dependencies in future changes.
Diffstat (limited to 'pkg/vminfo/linux_test.go')
| -rw-r--r-- | pkg/vminfo/linux_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
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), |
