Skip to content

timeout: return 125 on invalid time interval args#3314

Merged
sylvestre merged 1 commit intouutils:mainfrom
jfinkels:timeout-return-125-invalid-args
Mar 27, 2022
Merged

timeout: return 125 on invalid time interval args#3314
sylvestre merged 1 commit intouutils:mainfrom
jfinkels:timeout-return-125-invalid-args

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