Skip to content

Consider adding fast tests without real vmnet or real vm (qemu, lima) #86

Description

@nirs

If we mock the few vmnet functions we use, we can run socket_vment or unit tests sending fake packet from "vmnet" or from the "vm".

fake vm <-socket-> socket_vment -> fake_vmnet

The fake vm can open the socket and echo packets received from the socket back to the socket.
The fake vmnet can forward packets from socket_vmnet to the test code, and allow the test code to send packets.

We can simulate one or more vms connected to socket_vmnet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions