From 787f4325b2b7bd3d90d9690498dc34881008cc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Mon, 1 Jun 2015 22:44:37 +0200 Subject: [PATCH] update 5.7 exec_check to new style 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/5_container_runtime.sh b/tests/5_container_runtime.sh index a9ff634..156cba3 100644 --- a/tests/5_container_runtime.sh +++ b/tests/5_container_runtime.sh @@ -172,10 +172,10 @@ else fail=0 for c in $containers; do - docker exec "$c" ps -el 2>/dev/null + exec_check=$(docker exec "$c" ps -el 2>/dev/null) if [ $? -eq 255 ]; then warn "$check_5_7" - warn " * Docker exec failed: $c" + warn " * Docker exec fails: $c" fail=1 fi