update formatted documentation; fix typo in bashline.c; update system-dependent tests

This commit is contained in:
Chet Ramey
2025-07-08 09:59:39 -04:00
parent b35866a289
commit 12ea4bfec3
17 changed files with 37 additions and 28 deletions
+10 -3
View File
@@ -25,10 +25,17 @@ cd $TDIR || exit 1
shopt -s execfail
trap 'echo EXIT' EXIT
trapsort()
{
trap > x.output
sort x.output && rm -f x.output
}
trap 'rm -f x.sh x.output ; echo EXIT' EXIT
trap 'echo USR1' USR1
trap '' TERM
trap
trapsort
kill -s USR1 $$ # should run the trap
@@ -94,7 +101,7 @@ case $string in
esac
rm -f x.sh x.output
trap
trapsort
kill -s USR1 $$ # should run the trap
kill -s TERM $$ # should still be ignored