Skip to content

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

Merged
rminnich merged 2 commits into
u-root:mainfrom
rminnich:fix-mtd-test
Jan 11, 2024
Merged

fix the mtd test if /dev/mtd0 can not be opened#2846
rminnich merged 2 commits into
u-root:mainfrom
rminnich:fix-mtd-test

Conversation

@rminnich

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@codecov

codecov Bot commented Jan 11, 2024

Copy link
Copy Markdown

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