Imported from ../bash-2.05a.tar.gz.

This commit is contained in:
Jari Aalto 2001-11-13 17:56:06 +00:00
commit f73dda092b
303 changed files with 37069 additions and 28812 deletions

25
tests/trap2.sub Executable file
View file

@ -0,0 +1,25 @@
set +e
trap 'echo ERRTRAP' ERR
false
false
false
echo after falses
if ! false; then
echo if negation ok
fi
! false
echo after negation
while false; do
echo while negation ok
done
echo after while
./trap2a.sub
echo $(false ; echo command substitution)