Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
a73ec1aa
Commit
a73ec1aa
authored
15 years ago
by
Marcel Loose
Browse files
Options
Downloads
Patches
Plain Diff
Bug 1419: Remove 'Debug: registered context' from stdout/stderr
parent
e81c3898
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CEP/MWCommon/test/tstartdproc.run
+5
-4
5 additions, 4 deletions
CEP/MWCommon/test/tstartdproc.run
with
5 additions
and
4 deletions
CEP/MWCommon/test/tstartdproc.run
+
5
−
4
View file @
a73ec1aa
...
@@ -69,11 +69,12 @@ echo "status=$?"
...
@@ -69,11 +69,12 @@ echo "status=$?"
cat
tstartdproc_tmp.out3
cat
tstartdproc_tmp.out3
# Print log file without lines containing directory path and pids.
# Print log file without lines containing directory path and pids.
# Outcomment lines with kill which contain pids.
# Outcomment lines with kill which contain pids.
# Remove other lines containing Killed because some systems print them, some don't.
# Remove other lines containing Killed: some systems print them, some don't.
# Also remove lines containing debug which are written when not using log4cplus/cxx.
# Also remove lines containing "Debug: registered context" which are written
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"
# 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
for
i
in
0 1 2
do
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 "
sed
-e
's/pid=[0-9]*/pid=nn/'
tstartdproc_tmp.out3.envfile.pid-
$i
|
grep
-v
" Killed "
done
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment