fish-shell/tests
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
..
checks complete: Make -c optional 2020-09-09 20:23:08 +02:00
pexpects Don't enqueue a repaint in the middle of one 2020-09-11 19:23:26 +02: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 Improve history robustness against corrupt files 2014-07-29 14:42:03 -07:00
history_sample_fish_1_x Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
history_sample_fish_2_0 Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
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 tests: Export $TERM 2020-09-06 11:15:54 +02:00
test_util.fish Use set -l to force use of a local variable 2020-05-15 08:25:07 +02:00