summaryrefslogtreecommitdiffstats
path: root/tests/errors9.sub
blob: 3a26704660a70f3be769a9cf86770fcd2fc05d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
trap 'echo DEBUG' DEBUG

# make sure that the right command name appears in the error messages and
# that the DEBUG trap doesn't overwrite it

[[ ++ -gt 3 ]]

(( -- ))

for (( -- ; ++; -- ))
do
	echo bogus
done