summaryrefslogtreecommitdiffstats
path: root/tests/set-e3.sub
blob: db176b1ff9dc5e0047ac96ccbad7badad4418649 (plain)
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