Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openbsd: remove shorten report logic #986

Merged
merged 1 commit into from
Feb 9, 2019
Merged

openbsd: remove shorten report logic #986

merged 1 commit into from
Feb 9, 2019

Conversation

mptre
Copy link
Collaborator

@mptre mptre commented Feb 9, 2019

A line length of 79 in the ddb output does not necessarily imply that the
following line is a continuation of the current line. Since there's no way
to distinguish between ordinary and continuation lines, it could end up
corrupting the report by joining two lines that are disjoint

Instead, disable line wrapping in ddb. If we want some kind of wrapping in
the future it's easier done by pkg/report.

@krytarowski
Copy link
Collaborator

@R3x We want to set this way ddb.maxwidth too.

@blackgnezdo
Copy link
Collaborator

blackgnezdo commented Feb 9, 2019

I love the patches that mostly consist of code removals!

Could you fix the build and the change should be good to go:
https://travis-ci.org/google/syzkaller/jobs/490962308#L1581

Once submitted I'll update the worker image.

A line length of 79 in the ddb output does not necessarily imply that the
following line is a continuation of the current line. Since there's no way
to distinguish between ordinary and continuation lines, it could end up
corrupting the report by joining two lines that are disjoint[1].

Instead, disable line wrapping in ddb. If we want some kind of wrapping in
the future it's easier done by pkg/report.

[1] https://syzkaller.appspot.com/bug?extid=03f7377a9848d7d008c9
@codecov-io
Copy link

Codecov Report

Merging #986 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #986      +/-   ##
=========================================
- Coverage   67.72%   67.7%   -0.02%     
=========================================
  Files         114     114              
  Lines       20225   20216       -9     
=========================================
- Hits        13697   13687      -10     
- Misses       5888    5889       +1     
  Partials      640     640
Impacted Files Coverage Δ
pkg/report/openbsd.go 84.41% <ø> (-1.8%) ⬇️
vm/vmimpl/openbsd.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d75f768...428aaa6. Read the comment docs.

@blackgnezdo blackgnezdo merged commit c69659e into google:master Feb 9, 2019
@mptre mptre deleted the openbsd-shorten-report branch February 9, 2019 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants