Add e2e and integration test for file sharing
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
The idea on #3239 is avoid creating our own tests and rely on podman integration tests itself. For volumes there is a fully set of tests, mount a local path as volume is included on them
@adrianriobo this is not only for podman bundle but for openshift bundles also.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.