fish-shell/tests
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
..
checks Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
pexpects Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
test_functions Resurrect one last function 2020-03-17 21:58:49 +01:00
.gitignore tweak gitignore rules for *tests* directory 2017-02-20 20:29:43 -08:00
history_sample_bash Do import bash history commands containing && or || 2019-11-07 23:33:35 +01:00
history_sample_corrupt1
history_sample_fish_1_x
history_sample_fish_2_0
interactive.config remove some uses of $IFS 2017-07-25 12:44:26 -07:00
interactive.fish tests: Use status dirname 2020-06-14 19:30:03 +02:00
test.fish test.fish: Erase more environment variables 2020-07-13 20:55:39 +02:00
test_util.fish Use set -l to force use of a local variable 2020-05-15 08:25:07 +02:00