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"