summaryrefslogtreecommitdiff
path: root/test/system/005-info.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-21 17:40:24 +0200
committerGitHub <noreply@github.com>2021-05-21 17:40:24 +0200
commit6a6ef402c3c8e14a621a98a4029255e3be41d5ef (patch)
treeb0eb760b8c8f96e94abe07a1f84bab48aec5dabb /test/system/005-info.bats
parente48aa8c82f7f26260f6911bb3ea99ff54c294675 (diff)
parent55f00bac02fcde7fbe960a9a80131dbc72630b5b (diff)
downloadpodman-6a6ef402c3c8e14a621a98a4029255e3be41d5ef.tar.gz
podman-6a6ef402c3c8e14a621a98a4029255e3be41d5ef.tar.bz2
podman-6a6ef402c3c8e14a621a98a4029255e3be41d5ef.zip
Merge pull request #10400 from rhatdan/root
Clear the storage-options from the graphdriver if users specifies --root
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 83d79221a..4b419841e 100644
--- a/test/system/005-info.bats
+++ b/test/system/005-info.bats
@@ -82,4 +82,12 @@ store.imageStore.number | 1
# mounts.
is "$output" ".*graphOptions: {}" "output includes graphOptions: {}"
}
+
+@test "podman --root PATH info - basic output" {
+ if ! is_remote; then
+ run_podman --storage-driver=vfs --root ${PODMAN_TMPDIR}/nothing-here-move-along info --format '{{ .Store.GraphOptions }}'
+ is "$output" "map\[\]" "'podman --root should reset Graphoptions to []"
+ fi
+}
+
# vim: filetype=sh