~ubuntu-branches/ubuntu/trusty/bash/trusty-security

1
2
3
4
5
6
7
8
9
10
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