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

Fix regressions from stderr/stdout changes #1677

Merged

Conversation

evan-goode
Copy link
Member

Follow-up to #1641, I forgot to push these two commits.

More details in the commit messages.

Fixes the following ci-dnf-stack tests:

  • dnf/install-file-conflicts.feature:8 An error is reported when a package with a file conflict is tried to be installed
  • dnf/dnf-automatic/reboot.feature:95 dnf-automatic shows error message when reboot command failed

dnf5-automatic tests expect these error messages on stderr rather than in the
dnf5-automatic output.

Not all of these error messages can be moved, e.g. the "Error: reboot
command returned nonzero exit code" message. dnf5-automatic output is
emitted before the reboot command is called, so there would be no way to
capture and report that error message.
Copy link
Member

@jan-kolarik jan-kolarik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@jan-kolarik jan-kolarik added this pull request to the merge queue Sep 6, 2024
Merged via the queue into rpm-software-management:main with commit 2706e64 Sep 6, 2024
12 of 20 checks passed
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.

2 participants