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/vminfo_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/vminfo_test.go')
| -rw-r--r-- | pkg/vminfo/vminfo_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/vminfo/vminfo_test.go b/pkg/vminfo/vminfo_test.go index 9ffb0dd31..52ddca22e 100644 --- a/pkg/vminfo/vminfo_test.go +++ b/pkg/vminfo/vminfo_test.go @@ -8,6 +8,7 @@ import ( "strings" "testing" + "github.com/google/syzkaller/pkg/flatrpc" "github.com/google/syzkaller/pkg/host" "github.com/google/syzkaller/pkg/ipc" "github.com/google/syzkaller/pkg/mgrconfig" @@ -41,7 +42,7 @@ func TestHostMachineInfo(t *testing.T) { } } -func hostChecker(t *testing.T) (*Checker, []host.FileInfo) { +func hostChecker(t *testing.T) (*Checker, []flatrpc.FileInfoT) { cfg := testConfig(t, runtime.GOOS, runtime.GOARCH) checker := New(cfg) files := host.ReadFiles(checker.RequiredFiles()) |
