diff options
author | John Eismeier <32205350+jeis2497052@users.noreply.github.com> | 2018-04-23 11:54:44 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-04-23 11:54:44 +0300 |
commit | c5dcbe8c31a70b3f2dea4bf4527567f86be0c4bf (patch) | |
tree | 9badb634b69df2486a2b2ceaa10b53ff14b5cdd5 /include | |
parent | 7e0b300e27d6427ce85606d448aceafb107540ed (diff) |
Propose fix some typos (#538)
Diffstat (limited to 'include')
-rwxr-xr-x[-rw-r--r--] | include/functions | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | include/tests_logging | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | include/tests_squid | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | include/tests_time | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/functions b/include/functions index 82d9fa6a..d5311548 100644..100755 --- a/include/functions +++ b/include/functions @@ -2207,7 +2207,7 @@ if [ ${SKIPTEST} -eq 0 -a ! -z "${TEST_NEED_PLATFORM}" -a ! "${HARDWARE}" = "${TEST_NEED_PLATFORM}" ]; then SKIPTEST=1; SKIPREASON="Incorrect hardware platform"; fi # Not all prerequisites met, like missing tool - if [ ${SKIPTEST} -eq 0 -a "${PREQS_MET}" = "NO" ]; then SKIPTEST=1; if [ -z "${SKIPREASON}" ]; then SKIPREASON="Prerequisities not met (ie missing tool, other type of Linux distribution)"; fi; fi + if [ ${SKIPTEST} -eq 0 -a "${PREQS_MET}" = "NO" ]; then SKIPTEST=1; if [ -z "${SKIPREASON}" ]; then SKIPREASON="Prerequisites not met (ie missing tool, other type of Linux distribution)"; fi; fi # Skip if a test is root only and we are running a non-privileged test if [ ${SKIPTEST} -eq 0 -a ${ROOT_ONLY} -eq 1 -a ! ${MYID} = "0" ]; then diff --git a/include/tests_logging b/include/tests_logging index dbd79f21..fe231f75 100644..100755 --- a/include/tests_logging +++ b/include/tests_logging @@ -305,7 +305,7 @@ # # Test : LOGG-2152 # Description : Check for Solaris 'loghost' entry in /etc/inet/hosts, or - # succesful resolving via DNS or any other name service. + # successful resolving via DNS or any other name service. Register --test-no LOGG-2152 --weight L --os Solaris --network NO --category security --description "Checking loghost" if [ ${SKIPTEST} -eq 0 ]; then # Try local hosts file @@ -322,7 +322,7 @@ FIND=$(getent hosts loghost | ${GREPBINARY} loghost) if [ ! -z "${FIND}" ]; then SOLARIS_LOGHOST_FOUND=1 - LogText "Result: name resolving was succesful" + LogText "Result: name resolving was successful" LogText "Output: ${FIND}" else LogText "Result: name resolving didn't find results" diff --git a/include/tests_squid b/include/tests_squid index ee7a9704..31eced8b 100644..100755 --- a/include/tests_squid +++ b/include/tests_squid @@ -302,7 +302,7 @@ # Test : SQD-3680 # Description : Check httpd_suppress_version_string if [ ${SQUID_DAEMON_RUNNING} -eq 1 -a ! -z "${SQUID_DAEMON_CONFIG}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi - Register --test-no SQD-3680 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check Squid version suppresion" + Register --test-no SQD-3680 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check Squid version suppression" if [ ${SKIPTEST} -eq 0 ]; then FIND=$(${GREPBINARY} "^httpd_suppress_version_string " ${SQUID_DAEMON_CONFIG} | ${GREPBINARY} " on") if [ -z "${FIND}" ]; then diff --git a/include/tests_time b/include/tests_time index 78cb65b3..316cf55a 100644..100755 --- a/include/tests_time +++ b/include/tests_time @@ -360,10 +360,10 @@ FIND=$(${NTPQBINARY} -p -n | ${EGREPBINARY} '^x') if [ -z "${FIND}" ]; then Display --indent 2 --text "- Checking falsetickers" --result "${STATUS_OK}" --color GREEN - LogText "Result: No falsetickers found (items preceeding with an 'x')" + LogText "Result: No falsetickers found (items preceding with an 'x')" else Display --indent 2 --text "- Checking falsetickers" --result "${STATUS_NONE}" --color YELLOW - LogText "Result: Found one or more falsetickers (items preceeding with an 'x')" + LogText "Result: Found one or more falsetickers (items preceding with an 'x')" for I in ${FIND}; do I=$(echo ${I} | ${SEDBINARY} 's/x//g') LogText "Falseticker found: ${I}" |