Skip to content

Add e2e and integration test for file sharing #3296

Open
@praveenkumar

Description

Since we have file sharing enabled by default for linux/mac so better to have a e2e or integration test which covers it. It can be as simple as creating a container with host mounted path and check if it is exist.

$ mkdir test
$ echo "hello from vm" >> test/hello
$ podman run  --rm  -v $(pwd)/test:/test busybox busybox cat /test/hello
hello from vm
$ podman run -ti --rm  -v $(pwd)/test:/test:Z busybox touch /test/bye
$ ls test/
bye  hello

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

    status/staleIssue went stale; did not receive attention or no reply from the OP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions