fish-shell/tests/pexpects
ridiculousfish 5cf0778207 Claim the tty unconditionally in reader_data_t::readline
When fish runs with job control enabled, it transfers ownership of the
tty to a child process, and then reclaims the tty after the process
exits. If job control is disabled then fish does not transfer or reclaim
the tty.

It may happen that the child process creates a pgroup and then transfers
the tty to it. In that case fish will not attempt to reclaim the tty, as
fish did not transfer it. Then when fish reads from stdin it will
receive SIGTTIN instead of data.

Fix this by unconditionally claiming the tty in readline().

Fixes #9181
2022-09-09 13:43:29 -07:00
..
bind_mode_events.py Restyle codebase 2022-06-16 18:43:28 +02:00
bind.py Fix special readline functions after and/or 2022-07-02 09:23:11 +02:00
cancel_event.py Restyle codebase 2022-06-16 18:43:28 +02:00
commandline.py Allow 'commandline' to set the commandline from the prompt 2022-06-04 15:33:55 -07:00
complete.py Add a test for COMPLETE_AUTO_SPACE 2022-06-02 17:25:59 -07:00
cursor_selection.py Add test for the default cursor selection mode 2022-07-30 09:49:07 -07:00
disable_mouse.py Simplify event_queue_peeker_t 2021-04-17 16:43:27 -07:00
exit_handlers.py Add a test that fish_exit handlers run on receipt of SIGHUP 2020-08-30 15:09:34 -07:00
exit_nohang.py tests: Increase how long exit_nohang tries 2021-04-14 18:55:11 +02:00
exit.py Reformat 2020-11-22 14:39:48 +01:00
fg.py Restyle codebase 2022-06-16 18:43:28 +02:00
fkr.py Make fish_key_reader's output simpler (#8467) 2021-11-22 17:22:22 +01:00
generic.py type: Add missing newline 2021-01-03 17:48:25 +01:00
histfile.py Another formatting run 2020-06-24 20:43:56 +02:00
history.py Restyle codebase 2022-06-16 18:43:28 +02:00
isatty.py Reformat 2020-11-22 14:39:48 +01:00
job_summary.py Correct the order of pkill arguments 2021-09-04 13:34:52 -07:00
nullterm.py Be careful to not touch curses variables if cur_term is null 2022-04-16 13:26:56 -07:00
pipeline.py Improve error for redirections to invalid paths 2021-11-20 17:44:05 +01:00
postexec.py Reformat 2020-11-22 14:39:48 +01:00
private_mode.py Allow fish_private_mode to change at runtime 2021-01-02 22:01:47 -08:00
read.py Restyle codebase 2022-06-16 18:43:28 +02:00
set_color.py set_color: Print the given colors with --print-colors 2022-07-01 21:28:35 +02:00
sigint.py Remove cancellation groups 2022-03-20 14:39:00 -07:00
signals.py tests/signals.py: Kill leftover sleeps from python 2022-08-23 18:47:52 +02:00
stdin_nonblocking.py stdin_nonblocking.py test to not leave background processes 2022-02-12 11:48:55 -08:00
terminal.py Restyle codebase 2022-06-16 18:43:28 +02:00
torn_escapes.py Prevent signals from tearing multi-char bindings 2022-02-05 13:18:36 -08:00
tty_ownership.py Claim the tty unconditionally in reader_data_t::readline 2022-09-09 13:43:29 -07:00
undo.py Add simple pexpect test for undo 2021-01-07 23:53:31 +01:00
wait.py tests: Increase another timeout 2020-11-06 17:56:38 +01:00
wildcard_tab.py Expand wildcards on tab 2022-04-10 13:53:22 -07:00