[Fuego] [PATCH 3/3] logger: remove dependency on logging mechanism

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Thu Oct 13 09:31:34 UTC 2016


Remove hardwired logger calls and force them to use ov_logger
so that it can be implemented in a different way depending
on the dist file.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/scripts/functions.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/engine/scripts/functions.sh b/engine/scripts/functions.sh
index 2d23bc0..fc589be 100755
--- a/engine/scripts/functions.sh
+++ b/engine/scripts/functions.sh
@@ -266,7 +266,7 @@ function pre_test {
   cmd "rm -rf $FUEGO_HOME/fuego.$1 /tmp/$1; mkdir -p $FUEGO_HOME/fuego.$1 /tmp/fuego.$1" || abort_job "Could not create $1 and /tmp/$1 on $DEVICE"
 
 # Log test name
-  ov_logger "logger \"Starting test ${JOB_NAME}\""
+  ov_logger "Starting test ${JOB_NAME}"
 
   dump_syslogs $1 "before"
 
@@ -374,7 +374,7 @@ function post_test {
   cmd "rm -rf $FUEGO_HOME/fuego.$1 /tmp/fuego.$1"
 
 # log test completion message.
-  cmd "logger \"Test $1 is finished\""
+  ov_logger "Test $1 is finished"
 
 # Syslog comparison
   syslog_cmp $1
-- 
2.7.4




More information about the Fuego mailing list