fish-shell/tests/pexpects
Fabian Homborg 4c9d01cab0 Fix fg tests on macOS
Apparently on macOS SIGTSTP (from control-Z) causes `read()` to return
EINTR.

This means `cat | cat` will exit as soon as it's backgrounded and
brought back.

So instead we use `sleep`, which won't read(), and therefore is
impervious to these puny attacks.

See discussion in #7447.
2020-11-13 15:11:29 +01:00
..
bind_mode_events.py Reformat pexpects 2020-06-08 17:33:04 +02:00
bind.py And another delay change 2020-11-11 19:57:29 +01:00
cancel_event.py Send fish_cancel event on control-C again 2020-10-06 17:49:55 -07:00
commandline.py Don't enqueue a repaint in the middle of one 2020-09-11 19:23:26 +02:00
complete.py Let cancel after an unambiguous completion was accepted undo it 2020-10-30 19:37:44 +01: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.py tests: Exit: Try sleeping multiple times 2020-08-08 16:35:08 +02:00
fg.py Fix fg tests on macOS 2020-11-13 15:11:29 +01:00
fkr.py Tests: Yet another delay change 2020-11-11 19:20:55 +01: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 Make history search smartcase 2020-09-22 16:13:24 +02:00
isatty.py Use the newly fixed test -t in isatty 2020-09-16 21:02:59 +02:00
job_summary.py tests: Use python-level kill in job_summary tests 2020-11-09 19:42:19 +01:00
pipeline.py Unset X-bit on tests 2020-06-13 16:18:17 +02:00
postexec.py Return no status from successful variable assignments 2020-08-05 12:23:49 -07:00
read.py Port read tests to expect 2020-06-13 15:21:40 +02:00
set_color.py set_color: Honor modifiers (bold, background..) with --print-colors 2020-09-17 12:33:56 +02:00
sigint.py Correctly propagate signals from cancelled jobs into parse_execution_context 2020-08-13 15:30:15 -07:00
signals.py tests: Add yet another sleep 2020-09-27 09:22:45 +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 tests: Increase another timeout 2020-11-06 17:56:38 +01:00