fish-shell/tests/pexpects
Fabian Homborg 30b2dc2b97 Don't enqueue a repaint in the middle of one
This can easily lead to an infinite loop, if a variable handler
triggers a repaint and the variable is set in the prompt, e.g. some of
the git variables.

A simple way to reproduce:

    function fish_mode_prompt
        commandline -f repaint
    end

Repainting executes the mode prompt, which triggers a repaint, which
triggers the mode prompt, ....

So we just set a flag and check it.

Fixes #7324.
2020-09-11 19:23:26 +02:00
..
bind.py Remove redraw coalescing logic 2020-08-24 13:22:35 -07:00
bind_mode_events.py Reformat pexpects 2020-06-08 17:33:04 +02:00
commandline.py Don't enqueue a repaint in the middle of one 2020-09-11 19:23:26 +02:00
complete.py Reformat pexpects 2020-06-08 17:33:04 +02:00
exit.py tests: Exit: Try sleeping multiple times 2020-08-08 16:35:08 +02:00
exit_handlers.py Add a test that fish_exit handlers run on receipt of SIGHUP 2020-08-30 15:09:34 -07:00
fg.py tests: Add an additional "sleep" 2020-08-08 16:35:08 +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 Stop setting TERM in history test 2020-08-22 19:15:54 -07:00
job_summary.py tests: Print some more info in the job_summary test for debugging 2020-09-04 17:53:17 +02: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
sigint.py Correctly propagate signals from cancelled jobs into parse_execution_context 2020-08-13 15:30:15 -07:00
signals.py Correctly cancel on receipt of SIGHUP 2020-08-30 15:09:34 -07: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: Shorten a sleep 2020-09-04 16:29:53 +02:00