From 1994f382320e627a91e9c510d868c81dd17866bb Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 6 Sep 2022 14:24:34 -0400 Subject: Add --config for Docker compatibility Fixes: https://github.com/containers/podman/issues/14767 Signed-off-by: Daniel J Walsh --- test/system/001-basic.bats | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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" { -- cgit v1.2.3-54-g00ecf