summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-15 09:08:37 -0400
committerGitHub <noreply@github.com>2021-04-15 09:08:37 -0400
commit405331ff9072e6febed123aafdc365517917ab44 (patch)
tree0e965ca02fe57c2c0110d17c46dcdbd7ab68aebf /test/system
parentb2a3bb4a6180b390c87565c49798990384f16976 (diff)
parentbc86c50cd81bc3267ec8b9840e1a0e705231f336 (diff)
downloadpodman-405331ff9072e6febed123aafdc365517917ab44.tar.gz
podman-405331ff9072e6febed123aafdc365517917ab44.tar.bz2
podman-405331ff9072e6febed123aafdc365517917ab44.zip
Merge pull request #10032 from nalind/trace-level
Recognize "trace" logging, and use it for lone errors at exit
Diffstat (limited to 'test/system')
-rw-r--r--test/system/001-basic.bats13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats
index 081bb1171..35107f0a0 100644
--- a/test/system/001-basic.bats
+++ b/test/system/001-basic.bats
@@ -111,4 +111,17 @@ function setup() {
is "$output" "you found me" "sample invocation of 'jq'"
}
+@test "podman --log-level recognizes log levels" {
+ run_podman 1 --log-level=telepathic info
+ is "$output" 'Log Level "telepathic" is not supported.*'
+ run_podman --log-level=trace info
+ run_podman --log-level=debug info
+ run_podman --log-level=info info
+ run_podman --log-level=warn info
+ run_podman --log-level=warning info
+ run_podman --log-level=error info
+ run_podman --log-level=fatal info
+ run_podman --log-level=panic info
+}
+
# vim: filetype=sh