mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 21:54:26 +08:00
0f56db55a2
This was causing fish_exit to not fire, which caused (among other things)
leaking tmux processes from the tests.
This was bisected to eacbd6156d
9 lines
257 B
Fish
9 lines
257 B
Fish
#RUN: %fish -C 'set -g fish %fish' %s
|
|
|
|
# fish_exit fires successfully.
|
|
echo 'function do_exit --on-event fish_exit; echo "fish_exiting $fish_pid"; end' > /tmp/test_exit.fish
|
|
$fish /tmp/test_exit.fish
|
|
# CHECK: fish_exiting {{[0-9]+}}
|
|
|
|
rm /tmp/test_exit.fish
|