crc icon indicating copy to clipboard operation
crc copied to clipboard

Add e2e and integration test for file sharing

Open praveenkumar opened this issue 3 years ago • 2 comments

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

praveenkumar avatar Aug 09 '22 06:08 praveenkumar

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 avatar Aug 09 '22 06:08 adrianriobo

@adrianriobo this is not only for podman bundle but for openshift bundles also.

praveenkumar avatar Aug 09 '22 06:08 praveenkumar

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.

stale[bot] avatar Oct 29 '22 06:10 stale[bot]