aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-09 13:17:14 +0200
committerGitHub <noreply@github.com>2022-09-09 13:17:14 +0200
commite37dd95b7a7839865f9259e5bc91db3dfd175daa (patch)
tree2708e1790a0e1c9e7cc3863baf9c779da730a504 /test
parentf24bdeef268ad769707e12c1a4010b98e9b8de93 (diff)
parent1994f382320e627a91e9c510d868c81dd17866bb (diff)
downloadpodman-e37dd95b7a7839865f9259e5bc91db3dfd175daa.tar.gz
podman-e37dd95b7a7839865f9259e5bc91db3dfd175daa.tar.bz2
podman-e37dd95b7a7839865f9259e5bc91db3dfd175daa.zip
Merge pull request #15658 from rhatdan/config
Add --config for Docker compatibility
Diffstat (limited to 'test')
-rw-r--r--test/system/001-basic.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats
index 1148aaae7..e3302bec3 100644
--- a/test/system/001-basic.bats
+++ b/test/system/001-basic.bats
@@ -29,6 +29,12 @@ function setup() {
local built=$(expr "$output" : ".*Built: \+\(.*\)" | head -n1)
local built_t=$(date --date="$built" +%s)
assert "$built_t" -gt 1546300800 "Preposterous 'Built' time in podman version"
+
+ run_podman -v
+ is "$output" "podman.*version \+" "'Version line' in output"
+
+ run_podman --config foobar version
+ is "$output" ".*The --config flag is ignored by Podman. Exists for Docker compatibility\+" "verify warning for --config option"
}
@test "podman info" {