Skip to content

Conversation

@minimoog
Copy link

@minimoog minimoog commented Jan 3, 2026

Use |= instead of = to accumulate errors when processing multiple files. Previously, if the last file succeeded, the exit code would be 0 even if earlier files failed.

Added tests to verify correct exit code behavior.

@sylvestre
Copy link
Contributor

Some jobs are failing

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 4, 2026

Merging this PR will not alter performance

✅ 153 untouched benchmarks
⏩ 169 skipped benchmarks1


Comparing minimoog:fix-10024 (22d69a2) with main (bb91a5b)

Open in CodSpeed

Footnotes

  1. 169 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

}

#[test]
#[cfg(not(target_vendor = "apple"))]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why? It should work

@github-actions
Copy link

github-actions bot commented Jan 4, 2026

GNU testsuite comparison:

GNU test failed: tests/tty/tty-eof. tests/tty/tty-eof is passing on 'main'. Maybe you have to rebase?

Toni Jovanoski added 5 commits January 4, 2026 10:50
Use |= instead of = to accumulate errors when processing multiple
files. Previously, if the last file succeeded, the exit code would
be 0 even if earlier files failed.

Added tests to verify correct exit code behavior.
The test test_chgrp_multiple_files_error_on_first_success_on_last is
disabled on apple scenario.

Clean up unnecessary comment.
Test reenabled for apple scenario by using getegid().
Use at_and_ucmd! macro instead TestScenario.
@ChrisDryden
Copy link
Collaborator

This issue was already addressed by: #10035

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/pr/bounded-memory is no longer failing!

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.

3 participants