summaryrefslogtreecommitdiff
path: root/test/system/001-basic.bats
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-09-06 14:24:34 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-09-08 16:20:30 -0400
commit1994f382320e627a91e9c510d868c81dd17866bb (patch)
tree071c6e598370b92f4e2501f66bd06972e04b4e8f /test/system/001-basic.bats
parent95eff1aa402c3d159c8ad25d8140b879d5feccf2 (diff)
downloadpodman-1994f382320e627a91e9c510d868c81dd17866bb.tar.gz
podman-1994f382320e627a91e9c510d868c81dd17866bb.tar.bz2
podman-1994f382320e627a91e9c510d868c81dd17866bb.zip
Add --config for Docker compatibility
Fixes: https://github.com/containers/podman/issues/14767 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/001-basic.bats')
-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" {