fish-shell/tests/pexpects
ridiculousfish c35fe879c7 Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls
This changes how fish attempts to protect itself from calling tcsetpgrp() too
aggressively. Recall that tcsetpgrp() will "force" itself, if SIGTTOU is
ignored (which it is in fish when job control is enabled).

Prior to this fix, we avoided SIGTTINs by only transferring the tty ownership
if fish was already the owner. This dated from a time before we had really
nailed down how pgroups should be assigned. Now we more deliberately assign a
job's pgroup so we don't need this conservative check.

However we still need logic to avoid transferring the tty if fish is not the
owner. The bad case is when job control is enabled while fish is running in the
background - here fish would transfer the tty and "steal" from the foreground
process.

So retain the checks of the current tty owner but migrate them to the point of
calling tcsetpgrp() itself.
2020-07-27 14:51:37 -07:00
..
bind.py Unset X-bit on tests 2020-06-13 16:18:17 +02:00
bind_mode_events.py Reformat pexpects 2020-06-08 17:33:04 +02:00
commandline.py Reformat pexpects 2020-06-08 17:33:04 +02:00
complete.py Reformat pexpects 2020-06-08 17:33:04 +02:00
exit.py Pexpects: Increase a timeout 2020-07-21 20:27:55 +02:00
fg.py Add some rudimentary fg tests 2020-07-21 20:31:32 +02:00
fkr.py tests: Don't send \cA 2020-06-17 15:55:31 +02:00
generic.py Port generic.expect to pexpect 2020-06-08 22:57:46 +02:00
histfile.py Another formatting run 2020-06-24 20:43:56 +02:00
history.py Another formatting run 2020-06-24 20:43:56 +02:00
job_summary.py Port job_summary test to pexpect 2020-06-13 15:21:40 +02:00
pipeline.py Unset X-bit on tests 2020-06-13 16:18:17 +02:00
read.py Port read tests to expect 2020-06-13 15:21:40 +02:00
signals.py Another formatting run 2020-06-24 20:43:56 +02:00
tty_ownership.py Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
wait.py Port wait test to pexpect 2020-06-13 15:21:40 +02:00