From bf5c30c90ac41c0f3033122f619c05705eeafd0c Mon Sep 17 00:00:00 2001 From: Ger van Diepen <diepen@astron.nl> Date: Tue, 13 Oct 2009 13:35:41 +0000 Subject: [PATCH] bug 1419: Remove debug lines in case running without log4cplus/cxx --- CEP/MWCommon/test/tstartdproc.run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CEP/MWCommon/test/tstartdproc.run b/CEP/MWCommon/test/tstartdproc.run index 018bdc3a024..ebd4b74fb55 100755 --- a/CEP/MWCommon/test/tstartdproc.run +++ b/CEP/MWCommon/test/tstartdproc.run @@ -69,8 +69,9 @@ 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 Kill because some systems print them, some don't. -sed -e "s%$curdir%%g" -e 's/pid=[0-9]*/pid=nn/' -e 's/kill -9 .*/kill -9 /' tstartdproc_tmp.log3a +# 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" for i in 0 1 2 do sed -e "s%$curdir%%g" tstartdproc_tmp.log3b-$i -- GitLab