aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-05 20:55:15 +0200
committerGitHub <noreply@github.com>2021-04-05 20:55:15 +0200
commit6b23fece7348cd52949a3dd7b7e65483e3cac19b (patch)
tree7b0216fc4797550c6f97fe8623e29bac2c1fb496 /test
parente9e4898048fe669263ca16929132ea63edf0ccef (diff)
parent69ace205356171835d920438fe411839c543f073 (diff)
downloadpodman-6b23fece7348cd52949a3dd7b7e65483e3cac19b.tar.gz
podman-6b23fece7348cd52949a3dd7b7e65483e3cac19b.tar.bz2
podman-6b23fece7348cd52949a3dd7b7e65483e3cac19b.zip
Merge pull request #9911 from rhatdan/storage
Allow users to override default storage opts with --storage-opt
Diffstat (limited to 'test')
-rw-r--r--test/system/005-info.bats9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/system/005-info.bats b/test/system/005-info.bats
index 7452c1901..c0af2e937 100644
--- a/test/system/005-info.bats
+++ b/test/system/005-info.bats
@@ -53,4 +53,13 @@ store.imageStore.number | 1
}
+@test "podman info --storage-opt='' " {
+ skip_if_remote "--storage-opt flag is not supported for remote"
+ skip_if_rootless "storage opts are required for rootless running"
+ run_podman --storage-opt='' info
+ # Note this will not work in rootless mode, unless you specify
+ # storage-driver=vfs, until we have kernels that support rootless overlay
+ # mounts.
+ is "$output" ".*graphOptions: {}" "output includes graphOptions: {}"
+}
# vim: filetype=sh