mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-30 00:49:57 +02:00
update formatted documentation; fix typo in bashline.c; update system-dependent tests
This commit is contained in:
+10
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user