diff --git a/tests/signal.in b/tests/signal.in index 99dd46697..76db56d2d 100644 --- a/tests/signal.in +++ b/tests/signal.in @@ -2,5 +2,14 @@ function alarm --on-signal ALRM echo ALRM received end + kill -s ALRM $fish_pid +function anychild --on-process-exit 0 + # Type and exit status + echo $argv[1] $argv[3] +end + +command false +command true +command false | command true diff --git a/tests/signal.out b/tests/signal.out index c2652b37d..234258bf5 100644 --- a/tests/signal.out +++ b/tests/signal.out @@ -1 +1,9 @@ ALRM received +PROCESS_EXIT 1 +JOB_EXIT 0 +PROCESS_EXIT 0 +JOB_EXIT 0 +PROCESS_EXIT 1 +PROCESS_EXIT 0 +JOB_EXIT 0 +PROCESS_EXIT 0