From 9d91f7dac7e3ab9199bff8907154632b795c1c83 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 22 Sep 2016 14:54:55 +0200 Subject: [PATCH] [PKGS-7381] Improved output of log and warning --- include/tests_ports_packages | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/tests_ports_packages b/include/tests_ports_packages index 06436455..596e38f3 100644 --- a/include/tests_ports_packages +++ b/include/tests_ports_packages @@ -623,7 +623,6 @@ LogText "Result: pkg audit results are clean" Display --indent 2 --text "- Checking pkg audit to obtain vulnerable packages" --result "${STATUS_NONE}" --color GREEN else - LogText "Result: ${FIND}" if [ ! -z "${FIND}" ]; then VULNERABLE_PACKAGES_FOUND=1 Display --indent 2 --text "- Checking pkg audit to obtain vulnerable packages" --result "${STATUS_FOUND}" --color YELLOW @@ -633,7 +632,7 @@ LogText "Vulnerable package: ${ITEM}" AddHP 1 2 done - ReportWarning ${TEST_NO} "Found vulnerable packages" "pkg" "text:${COUNT} vulnerable packages}" + ReportWarning ${TEST_NO} "Found vulnerable packages" "pkg" "text:${COUNT} vulnerable packages" else LogText "Result: found an exit code greater than zero, yet no output" fi