diff options
author | Jesus Christian Cruz Acono <compermisos@gmail.com> | 2018-10-05 11:23:19 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-10-05 11:23:19 +0300 |
commit | 414be240e8c384eee041853abacdd31f73b6b5dd (patch) | |
tree | 3eb04515f8f1384744129bcb449be0dde7d43acf /include | |
parent | fd75c9fd0f08d2ae99d9d8368c426fb19d7057ab (diff) |
Update tests_ports_packages (#586)
change " " <- space for [[:blank:]] (to clean all pausible spaces)
Diffstat (limited to 'include')
-rw-r--r-- | include/tests_ports_packages | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_ports_packages b/include/tests_ports_packages index f37b0249..b57bd5d6 100644 --- a/include/tests_ports_packages +++ b/include/tests_ports_packages @@ -808,7 +808,7 @@ Register --test-no PKGS-7383 --preqs-met ${PREQS_MET} --os Linux --weight M --network NO --category security --description "Check for YUM package update management" if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: YUM package update management" - FIND=$(${YUMBINARY} repolist 2>/dev/null | ${GREPBINARY} repolist | ${SEDBINARY} 's/ //g' | ${SEDBINARY} 's/[,.]//g' | ${AWKBINARY} -F ":" '{print $2}' | ${EGREPBINARY} "^[0-9]+$") + FIND=$(${YUMBINARY} repolist 2>/dev/null | ${GREPBINARY} repolist | ${SEDBINARY} 's/[[:blank:]]//g' | ${SEDBINARY} 's/[,.]//g' | ${AWKBINARY} -F ":" '{print $2}' | ${EGREPBINARY} "^[0-9]+$") if [ -z "${FIND}" -o "${FIND}" = "0" ]; then LogText "Result: YUM package update management failed" Display --indent 2 --text "- YUM package management consistency" --result "${STATUS_WARNING}" --color RED |