summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-05 20:54:15 +0200
committerGitHub <noreply@github.com>2021-04-05 20:54:15 +0200
commite9e4898048fe669263ca16929132ea63edf0ccef (patch)
tree0447362a63c56c880a850cc6636adf755f7e8ba1 /test/system
parentca095e435c6b55ef101b1f2b9653214bd18164f6 (diff)
parentc6a21a38b3c799f966e0a0bac2cc740f79526382 (diff)
downloadpodman-e9e4898048fe669263ca16929132ea63edf0ccef.tar.gz
podman-e9e4898048fe669263ca16929132ea63edf0ccef.tar.bz2
podman-e9e4898048fe669263ca16929132ea63edf0ccef.zip
Merge pull request #9907 from rhatdan/options
Add support for podman --context default
Diffstat (limited to 'test/system')
-rw-r--r--test/system/001-basic.bats7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats
index d276cfda1..081bb1171 100644
--- a/test/system/001-basic.bats
+++ b/test/system/001-basic.bats
@@ -10,6 +10,13 @@ function setup() {
:
}
+@test "podman --context emits reasonable output" {
+ run_podman 125 --context=swarm version
+ is "$output" "Error: Podman does not support swarm, the only --context value allowed is \"default\"" "--context=default or fail"
+
+ run_podman --context=default version
+}
+
@test "podman version emits reasonable output" {
run_podman version