-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
timeout: catch TERM signal #8197
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
base: main
Are you sure you want to change the base?
Conversation
bb663cb
to
c354e53
Compare
GNU testsuite comparison:
|
GNU testsuite comparison:
|
I have added a very similar test for sleep and SIGSEGV. You can probably write a very similar test. |
This is the test for issue uutils#8040.
@Luv-Ray : I tried to write a test. Feel free to integrate it to your pull request: martinkunkel2@e4591cd |
Looks like a good test too |
Thank you so much ❤️ |
GNU testsuite comparison:
|
@sylvestre could you please retrigger the CICD / Build (macos-13, x86_64-apple-darwin, feat_os_macos, true) (pull_request)? Looks like a sporadic issue |
fixes #8040
set a signal handler and terminate child process on receiving SIGTERM.
I'm a bit confused about how to write tests for it, is it appropriate to use
ps
andkill
in ci?