From a73ec1aa8a4f708aa16eaf57e11720847f76eee3 Mon Sep 17 00:00:00 2001 From: Marcel Loose <loose@astron.nl> Date: Wed, 14 Oct 2009 09:19:28 +0000 Subject: [PATCH] Bug 1419: Remove 'Debug: registered context' from stdout/stderr --- CEP/MWCommon/test/tstartdproc.run | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CEP/MWCommon/test/tstartdproc.run b/CEP/MWCommon/test/tstartdproc.run index ebd4b74fb55..6af363f1c8a 100755 --- a/CEP/MWCommon/test/tstartdproc.run +++ b/CEP/MWCommon/test/tstartdproc.run @@ -69,11 +69,12 @@ echo "status=$?" cat tstartdproc_tmp.out3 # Print log file without lines containing directory path and pids. # Outcomment lines with kill which contain pids. -# Remove other lines containing Killed because some systems print them, some don't. -# Also remove lines containing debug which are written when not using log4cplus/cxx. -sed -e "s%$curdir%%g" -e 's/pid=[0-9]*/pid=nn/' -e 's/kill -9 .*/kill -9 /' tstartdproc_tmp.log3a | grep -i -v "debug" +# Remove other lines containing Killed: some systems print them, some don't. +# Also remove lines containing "Debug: registered context" which are written +# when not using log4cplus/cxx. +sed -e "s%$curdir%%g" -e 's/pid=[0-9]*/pid=nn/' -e 's/kill -9 .*/kill -9 /' tstartdproc_tmp.log3a for i in 0 1 2 do - sed -e "s%$curdir%%g" tstartdproc_tmp.log3b-$i + sed -e "s%$curdir%%g" tstartdproc_tmp.log3b-$i | grep -v "^Debug: registered context" sed -e 's/pid=[0-9]*/pid=nn/' tstartdproc_tmp.out3.envfile.pid-$i | grep -v " Killed " done -- GitLab