diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-04-23 07:05:59 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-04-23 08:03:36 -0400 |
commit | 13079abe3f7998f01d1b2e30dae3660cfb5a98c8 (patch) | |
tree | cc8c0c15b5d09358f4beb9e2c4bc6389604ecca3 /test/system | |
parent | f65f3320e1124c94db053c1f811487920ae2a70e (diff) | |
download | podman-13079abe3f7998f01d1b2e30dae3660cfb5a98c8.tar.gz podman-13079abe3f7998f01d1b2e30dae3660cfb5a98c8.tar.bz2 podman-13079abe3f7998f01d1b2e30dae3660cfb5a98c8.zip |
Add support for passing --volumepath
Fixes: https://github.com/containers/podman/issues/13860
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/005-info.bats | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/system/005-info.bats b/test/system/005-info.bats index 1d84ede9b..333553b07 100644 --- a/test/system/005-info.bats +++ b/test/system/005-info.bats @@ -107,4 +107,12 @@ host.slirp4netns.executable | $expr_path fi } +@test "podman --root PATH --volumepath info - basic output" { + volumePath=${PODMAN_TMPDIR}/volumesGoHere + if ! is_remote; then + run_podman --storage-driver=vfs --root ${PODMAN_TMPDIR}/nothing-here-move-along --volumepath ${volumePath} info --format '{{ .Store.VolumePath }}' + is "$output" "${volumePath}" "'podman --volumepath should reset VolumePath" + fi +} + # vim: filetype=sh |