summaryrefslogtreecommitdiff
path: root/test/system/005-info.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-25 09:35:03 -0400
committerGitHub <noreply@github.com>2022-04-25 09:35:03 -0400
commita9f8fb9cea7763e45e2e848a62df345d79893ef0 (patch)
treef6826812a0cf2d27d66fe963893d31d04434c57a /test/system/005-info.bats
parentba6356280a86531d3cda7016859aef98bb3d8272 (diff)
parent13079abe3f7998f01d1b2e30dae3660cfb5a98c8 (diff)
downloadpodman-a9f8fb9cea7763e45e2e848a62df345d79893ef0.tar.gz
podman-a9f8fb9cea7763e45e2e848a62df345d79893ef0.tar.bz2
podman-a9f8fb9cea7763e45e2e848a62df345d79893ef0.zip
Merge pull request #13981 from rhatdan/volume
Add support for passing --volumepath
Diffstat (limited to 'test/system/005-info.bats')
-rw-r--r--test/system/005-info.bats8
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