From 13079abe3f7998f01d1b2e30dae3660cfb5a98c8 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 23 Apr 2022 07:05:59 -0400 Subject: Add support for passing --volumepath Fixes: https://github.com/containers/podman/issues/13860 Signed-off-by: Daniel J Walsh --- test/system/005-info.bats | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/system') 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 -- cgit v1.2.3-54-g00ecf