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

CodSpeed Performance Report

Merging #10034 will not alter performance

Comparing minimoog:fix-10024 (f06ac2e) with main (8cf88cd)

Summary

✅ 139 untouched
⏩ 37 skipped1

Footnotes

  1. 37 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.
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