diff --git a/tests/1_host_configuration.sh b/tests/1_host_configuration.sh index ce22dae..31f3bf7 100644 --- a/tests/1_host_configuration.sh +++ b/tests/1_host_configuration.sh @@ -31,7 +31,7 @@ check_1_2() { totalChecks=$((totalChecks + 1)) note "$check_1_2" logjson "1.2" "INFO" - currentScore=$((currentScore - 0)) + currentScore=$((currentScore + 0)) } # 1.3 @@ -47,13 +47,13 @@ check_1_3() { info " * Using $docker_version, verify is it up to date as deemed necessary" info " * Your operating system vendor may provide support and security maintenance for Docker" logjson "1.3" "INFO" - currentScore=$((currentScore - 0)) + currentScore=$((currentScore + 0)) else pass "$check_1_3" info " * Using $docker_version which is current" info " * Check with your operating system vendor for support and security maintenance for Docker" logjson "1.3" "PASS" - currentScore=$((currentScore - 0)) + currentScore=$((currentScore + 0)) fi } @@ -67,7 +67,7 @@ check_1_4() { info " * $u" logjson "1.4" "$u" done - currentScore=$((currentScore - 0)) + currentScore=$((currentScore + 0)) } # 1.5 diff --git a/tests/2_docker_daemon_configuration.sh b/tests/2_docker_daemon_configuration.sh index 06c1311..0d615b4 100644 --- a/tests/2_docker_daemon_configuration.sh +++ b/tests/2_docker_daemon_configuration.sh @@ -165,7 +165,7 @@ check_2_6() { info "$check_2_6" info " * Docker daemon not listening on TCP" logjson "2.6" "INFO" - currentScore=$((currentScore +0)) + currentScore=$((currentScore + 0)) fi } diff --git a/tests/3_docker_daemon_configuration_files.sh b/tests/3_docker_daemon_configuration_files.sh index 7c2a3a7..f1851cf 100644 --- a/tests/3_docker_daemon_configuration_files.sh +++ b/tests/3_docker_daemon_configuration_files.sh @@ -471,7 +471,7 @@ check_3_18() { info "$check_3_18" info " * File not found" logjson "3.18" "INFO" - currentScore=$((currentScore - 0)) + currentScore=$((currentScore + 0)) fi } diff --git a/tests/4_container_images.sh b/tests/4_container_images.sh index 8d35267..10e02a5 100644 --- a/tests/4_container_images.sh +++ b/tests/4_container_images.sh @@ -144,7 +144,7 @@ check_4_7() { if [ $fail -eq 0 ]; then pass "$check_4_7" logjson "4.7" "PASS" - currentScore=$((currentScore + 1)) + currentScore=$((currentScore + 0)) else currentScore=$((currentScore + 0)) fi