]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/trap2.sub
Bash-4.2 patch 14
[thirdparty/bash.git] / tests / trap2.sub
CommitLineData
f73dda09
JA
1set +e
2trap 'echo ERRTRAP' ERR
3
4false
5false
6false
7
8echo after falses
9
10if ! false; then
11 echo if negation ok
12fi
13
14! false
15echo after negation
16
17while false; do
18 echo while negation ok
19done
20
21echo after while
22
23./trap2a.sub
24
25echo $(false ; echo command substitution)