8000 fix the mtd test if /dev/mtd0 can not be opened by rminnich · Pull Request #2846 · u-root/u-root · GitHub
[go: up one dir, main page]

Skip to content

fix the mtd test if /dev/mtd0 can not be opened #2846

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

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

rminnich
Copy link
Member

No description provided.

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
@rminnich rminnich added the Awaiting reviewer Waiting for a reviewer. label Jan 11, 2024
@rminnich
Copy link
Member Author

this eliminates a failure running locally as non-root, or when mtd0 is just not there.

Copy link
codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0f77722) 75.71% compared to head (89d6d42) 75.52%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2846      +/-   ##
==========================================
- Coverage   75.71%   75.52%   -0.19%     
==========================================
  Files         423      423              
  Lines       42769    42769              
==========================================
- Hits        32381    32303      -78     
- Misses      10388    10466      +78     
Flag Coverage Δ
.-amd64 67.87% <ø> (ø)
cmds/...-amd64 71.67% <ø> (-0.05%) ⬇️
integration/generic-tests/...-amd64 0.00% <ø> (ø)
integration/generic-tests/...-arm 0.00% <ø> (ø)
integration/generic-tests/...-arm64 0.00% <ø> (ø)
integration/gotests/...-amd64 ?
integration/gotests/...-arm64 74.91% <ø> (+<0.01%) ⬆️
pkg/...-amd64 76.11% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rminnich rminnich merged commit 02dfe97 into u-root:main Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting reviewer Waiting for a reviewer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0