trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.9k stars 79 forks source link

Fix test using stderr with Docker `--tty` #732

Closed xy2i closed 1 year ago

xy2i commented 1 year ago

Docker merges stderr into stdout when --tty is set 1.

This was the only test I found with this case.

Fixes #622

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: +0.01% :tada:

Comparison is base (a0fe3fc) 54.51% compared to head (90bd785) 54.52%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #732 +/- ## ========================================== + Coverage 54.51% 54.52% +0.01% ========================================== Files 71 71 Lines 9686 9686 ========================================== + Hits 5280 5281 +1 + Misses 4406 4405 -1 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/732/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.