diff --git a/test/functional/hvsock_test.go b/test/functional/hvsock_test.go index 19a581281b..fb57943573 100644 --- a/test/functional/hvsock_test.go +++ b/test/functional/hvsock_test.go @@ -135,7 +135,7 @@ func TestHVSock_UVM_HostBind(t *testing.T) { return err }) - guestPath := share_self(ctx, t, vm, "") + guestPath := shareSelf(ctx, t, vm, "") reexecCmd := fmt.Sprintf(`%s -test.run=%s`, guestPath, util.TestNameRegex(t)) if testing.Verbose() { @@ -231,7 +231,7 @@ func TestHVSock_UVM_GuestBind(t *testing.T) { ctx, cancel := context.WithTimeout(ctx, hvsockTestTimeout) //nolint:govet // ctx is shadowed t.Cleanup(cancel) - guestPath := share_self(ctx, t, vm, "") + guestPath := shareSelf(ctx, t, vm, "") reexecCmd := fmt.Sprintf(`%s -test.run=%s`, guestPath, util.TestNameRegex(t)) if testing.Verbose() { @@ -1148,7 +1148,7 @@ func goBlockT[T any](f func() T) <-chan T { return ch } -func share_self(ctx context.Context, tb testing.TB, vm *uvm.UtilityVM, base string) string { +func shareSelf(ctx context.Context, tb testing.TB, vm *uvm.UtilityVM, base string) string { tb.Helper() if base == "" {