aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-09-07 14:50:23 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-09-07 14:50:23 +0200
commit8d40bf3f14c67122a138a687751f903611f24d59 (patch)
treeca7b94705b4ccee7a1c58b65791d6a8a31346ba5 /test
parent7946628734ba7cf866fcc8445b00f7dd8d9b245c (diff)
downloadpodman-8d40bf3f14c67122a138a687751f903611f24d59.tar.gz
podman-8d40bf3f14c67122a138a687751f903611f24d59.tar.bz2
podman-8d40bf3f14c67122a138a687751f903611f24d59.zip
proper --debug/-D flag support
--debug should not be a global flag, you can only use this as podman --debug never podman ps --debug. This matches docker and allows us to add the shorthand "D" since they now no longer conflict. Fixes changes from commit 2d30b4dee596 which claims to add -D but never did. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/system/001-basic.bats2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats
index 584511388..1148aaae7 100644
--- a/test/system/001-basic.bats
+++ b/test/system/001-basic.bats
@@ -190,7 +190,9 @@ See 'podman version --help'" "podman version --remote"
run_podman --log-level=error info
run_podman --log-level=fatal info
run_podman --log-level=panic info
+ # docker compat
run_podman --debug info
+ run_podman -D info
run_podman 1 --debug --log-level=panic info
is "$output" "Setting --log-level and --debug is not allowed"
}