You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create tests to verify process/pipeline management and signal handling #6591
A:redirection-pipeAll related to redirection to files or more complex pipelines with STDERRA:signal-cancelProblems with how executions react to signals or attempts at cancellation (CTRL-C)category:enhancementNew feature or requesthelp wantedstatus: Extra attention is neededtestsissues to add tests or fix tests
There were a sequence of subtle bugs and slightly broken releases relating to pipeline management and signal handling (see #6542 for a summary). It is looking like #6584 fixes the known issues, and it would be valuable to have tests preventing future regressions. @unrelentingtech suggests (#6584 (comment)) that this might follow the patterns used by fish to implement similar tests, which use the pexpect tool:
Tests that prevent regressions relating to pipelines and signal handling. Ideally, it should be possible to cherry-pick the tests onto some past commits and verify that the tests fail on commits with the bugs described in #6542 (e.g. #6240 and #6496).
Describe alternatives you've considered
I don't see an alternative; nushell should have such tests at some point.
A:redirection-pipeAll related to redirection to files or more complex pipelines with STDERRA:signal-cancelProblems with how executions react to signals or attempts at cancellation (CTRL-C)category:enhancementNew feature or requesthelp wantedstatus: Extra attention is neededtestsissues to add tests or fix tests
Activity
fdncred commentedon Sep 20, 2022
Tests would be awesome for this. We've struggled with the implementation of this feature so much.
sholderbach commentedon Oct 10, 2022
@WindSoilder added one test in that area with #6688
mkuchuman commentedon Nov 21, 2026
Hi, is anyone working on this? I'd like to try adding tests for pipeline and signal handling.
fdncred commentedon Nov 21, 2026
have at it @mkuchuman
Add a test for Ctrl+C in a pipeline of external commands (#19641)