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

timeout: return 125 on invalid time interval args #3314

Merged
merged 1 commit into from
Mar 27, 2022

Conversation

jfinkels
Copy link
Collaborator

Exit with status 125 (indicating an error in timeout itself) when
the timeout duration is invalid or the "kill after" duration is
invalid.

Exit with status 125 (indicating an error in `timeout` itself) when
the timeout duration is invalid or the "kill after" duration is
invalid.
@sylvestre sylvestre force-pushed the timeout-return-125-invalid-args branch from bbb1bcd to b34685f Compare March 27, 2022 09:45
@sylvestre
Copy link
Contributor

Sweet and unexpected for me:


Warning: Congrats! The gnu test tests/misc/timeout-large-parameters is now passing!
Warning: Congrats! The gnu test tests/misc/timeout-parameters is now passing!

@sylvestre sylvestre merged commit e1f8893 into uutils:main Mar 27, 2022
@jfinkels
Copy link
Collaborator Author

Great! Those were the test cases I was looking at when I proposed the last few pull requests about timeout.

@jfinkels jfinkels deleted the timeout-return-125-invalid-args branch March 27, 2022 17:15
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