Merge pull request #169 from kevinll/master

fix test 2.2 check for log level
Close #166
This commit is contained in:
Thomas Sjögren 2016-10-13 22:26:56 +02:00 committed by GitHub
commit 84a764e3d8

View file

@ -14,9 +14,14 @@ fi
# 2.2
check_2_2="2.2 - Set the logging level"
get_docker_effective_command_line_args '-l' | grep "debug" >/dev/null 2>&1
get_docker_effective_command_line_args '-l' >/dev/null 2>&1
if [ $? -eq 0 ]; then
warn "$check_2_2"
get_docker_effective_command_line_args '-l' | grep "info" >/dev/null 2>&1
if [ $? -eq 0 ]; then
pass "$check_2_2"
else
warn "$check_2_2"
fi
else
pass "$check_2_2"
fi