fish-shell/tests
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
..
checks Fix error message in tests 2020-11-07 22:48:13 +01:00
pexpects Fix fg tests on macOS 2020-11-13 15:11:29 +01: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 tests: Use math for the prompt counter 2020-11-09 19:42:46 +01:00
interactive.fish tests: Retry interactive tests once 2020-11-09 19:26:27 +01:00
test.fish tests: Export $TERM 2020-09-06 11:15:54 +02:00
test_util.fish Re-use xdg_ directories in test_util 2020-10-25 23:07:46 -05:00