illumos-port-bash/tests/set-e3.sub

11 lines
209 B
Plaintext

foo()
{
echo A:
. ./set-e3a.sub
echo D:
}
# should run all the way through; foo being called in a context where set -e
# is ignored means that that condition persists through sourcing the file
foo && true