Fix new job control test; changelog

This commit is contained in:
Johannes Altmanninger
2025-09-20 14:31:48 +02:00
parent a1b4b391b2
commit 6f536c6304
2 changed files with 16 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
fish 4.0.9 (released ???)
=========================
This release fixes a regression in 4.0.6 that caused shifted keys to not be inserted on some terminals.
This release fixes
- a regression in 4.0.6 causing shifted keys to not be inserted on some terminals (:issue:`11813`).
- a regression in 4.0.6 causing the build to fail on systems where ``char`` is unsigned (:issue:`11804`).
- a regression in 4.0.0 causing a crash on an invalid :doc:`bg <cmds/bg>` invocation.
--------------

View File

@@ -19,5 +19,15 @@ $fish -c 'status job-control full ; $fth report_foreground' &
wait
#CHECKERR: background
$fish -c 'sleep .2 & bg %1'
#CHECKERR: bg: Can't put job 1, 'sleep .2 &' to background because it is not under job control
$fish -c '
function __fish_print_help
if set -q argv[2]
echo Error-message: $argv[2] >&2
end
echo Documentation for $argv[1] >&2
return 1
end
sleep .2 & bg %1
'
#CHECKERR: Error-message: bg: Can't put job 1, 'sleep .2 &' to background because it is not under job control
#CHECKERR: Documentation for bg