From 5f4bfdb98c2f08ef658208aa682ccc2ba2ea5c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Thu, 13 Aug 2015 21:46:21 +0200 Subject: [PATCH] 'CapAdd=' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- tests/5_container_runtime.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/5_container_runtime.sh b/tests/5_container_runtime.sh index c6e6f66..9bc87a6 100644 --- a/tests/5_container_runtime.sh +++ b/tests/5_container_runtime.sh @@ -92,7 +92,7 @@ else for c in $containers; do caps=$(docker inspect --format 'CapAdd={{ .HostConfig.CapAdd}}' "$c") - if [ "$caps" != "CapAdd=" -a "$caps" != "CapAdd=[]" -a "$caps" != "CapAdd=" ]; then + if [ "$caps" != 'CapAdd=' -a "$caps" != 'CapAdd=[]' -a "$caps" != 'CapAdd=' -a "$caps" != 'CapAdd=' ]; then # If it's the first container, fail the test if [ $fail -eq 0 ]; then warn "$check_5_4"