summaryrefslogtreecommitdiffstats
path: root/tests/trap3.sub
blob: 1490a76bb60cc9f5168bd7907e1b36415321ecec (plain)
1
2
3
4
5
6
7
8
9
PS4='+[$LINENO] '
trap 'echo trap: $LINENO' ERR

set -x

echo 1
echo 2
false | false | false
echo 4