Skip to content

Conversation

@ChrisDryden
Copy link
Collaborator

@ChrisDryden ChrisDryden commented Jan 10, 2026

There's a bunch of deviation from our implementation of Yes and Timeout and the gnu version and a long time ago, the gnu tests were patched so that for some tests it used the system yes and timeout. Now that we have proper signal handling implementations for our utilities we can revert this change and also see the gaps in our yes and timeout implementation and the gnu implementation by removing the overrides.

One key area that this will fail is the env-signal-handler test. It was relying on a bunch on non-implemented functionality in timeout that we need to implement for this test to pass. Mainly related to the non standard posix signals like RTMAX/RTMIN which is described here: #6218

UPDATE:
There are still issues with our implementation of timeout, so even though this brings us closer to the GNU implementation, its still not enough to remove the GNU patch. Will handle that in a later PR once timeout is in a better state.

@ChrisDryden
Copy link
Collaborator Author

Somehow every SELinux test failed here

@ChrisDryden
Copy link
Collaborator Author

I think I might take the approach of splitting this to first deploy the timeout and yes fixes and then make the change to revert the overrides.

@ChrisDryden
Copy link
Collaborator Author

I'm discovering how much the timeout utility has changed between now and the launch of 9.9, its quite different when it comes to signal handling

@ChrisDryden ChrisDryden changed the title yes, timeout: removing gnu timeout and yes overrides and adding pipeline signal handlers yes, timeout: adding pipeline signal handlers Jan 11, 2026
@ChrisDryden ChrisDryden marked this pull request as ready for review January 11, 2026 23:54
@ChrisDryden
Copy link
Collaborator Author

Getting this working is going to be a very complex issue when it comes to ordering the PR's. I have a working branch that implements timeout in the same way that the latest master in coreutils works, but its involves quite a bunch of changes so I'm hoping to get this one in before I make that PR.

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

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.

1 participant