Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/system: fix podman --image-volume to allow tmpfs storage
The test check the the default volume is not on tmpfs, however what it should really check that the volume is on our container storage fs. It is possible that users run the storage on top of tmpfs so this test always failed there. The better check is to compare the fs from the graphroot and the volume. Unfortunately, for unknown reasons stat -f -c %T returns UNKNOWN and not the actual fs. I have no idea why, to work around that we now parse /proc/mounts manually for the fs. Not nice but at least it works correctly. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
- Loading branch information