From 0cac0e339d733a2aeca0f03555a9d3c22181d739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Thu, 29 Aug 2019 09:53:40 +0200 Subject: [PATCH] catch community editions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- tests/8_docker_enterprise_configuration.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/8_docker_enterprise_configuration.sh b/tests/8_docker_enterprise_configuration.sh index 29359fc..ad064d0 100644 --- a/tests/8_docker_enterprise_configuration.sh +++ b/tests/8_docker_enterprise_configuration.sh @@ -10,7 +10,7 @@ check_8() { } check_product_license() { - if docker version | grep -qi '^Client.*Community$'; then + if docker version | grep -Eqi '^Server.*Community$|Version.*-ce$'; then info " * Community Engine license, skipping section 8" enterprise_license=0 else @@ -23,7 +23,6 @@ check_8_1() { return fi - logit "\n" id_8_1="8.1" desc_8_1="Universal Control Plane Configuration" check_8_1="$id_8_1 - $desc_8_1"