From 6f536c6304a17840693e5bc9d418c122ef220e95 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 20 Sep 2025 14:31:48 +0200 Subject: [PATCH] Fix new job control test; changelog --- CHANGELOG.rst | 5 ++++- tests/checks/job-control-noninteractive.fish | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1d9107535..3df1bfb63 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 ` invocation. -------------- diff --git a/tests/checks/job-control-noninteractive.fish b/tests/checks/job-control-noninteractive.fish index a2cc3c716..b9bd7a735 100644 --- a/tests/checks/job-control-noninteractive.fish +++ b/tests/checks/job-control-noninteractive.fish @@ -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