diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-03-21 11:07:05 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-03-21 11:07:05 +0300 |
commit | 943e09db01bf524c99396e64c5e053f53ec1f732 (patch) | |
tree | 9d802300e741deffb6b88871ce8677f1de1142c4 /include/tests_logging | |
parent | 928023ec6aead100a517d8c342c1e9b9f649a5fc (diff) |
[LOGG-2180] minor cleanup
Diffstat (limited to 'include/tests_logging')
-rw-r--r-- | include/tests_logging | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tests_logging b/include/tests_logging index 27e6baef..c7995b47 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -465,13 +465,11 @@ FIND=$(${LSOFBINARY} -n 2>&1 | ${GREPBINARY} "log$" | ${EGREPBINARY} -v "WARNING|Output information" | ${AWKBINARY} '{ if ($5=="REG") { print $9 } }' | ${SORTBINARY} -u | ${GREPBINARY} -v "^$") for I in ${FIND}; do LogText "Found logfile: ${I}" - Report "open_logfile[]=${I}" done Display --indent 2 --text "- Checking open log files" --result "${STATUS_DONE}" --color GREEN else LogText "Result: lsof not installed, skipping test" - Display --indent 2 --text "- Checking open log files" --result "${STATUS_SKIPPED}" --color YELLOW - # Add suggestion + Display --indent 2 --text "- Checking open log files" --result "${STATUS_SKIPPED}" --color WHITE fi fi # |