summaryrefslogtreecommitdiffstats
path: root/tests/alias3.sub
blob: 304e926120028a3cc53a65e28762c5ae4a6586f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
shopt -s expand_aliases
alias foo='oneword'
foo_word='foo'
#
# Fails silently to match 'foo':
#
case "$foo_word"
in
	foo) ;;
	*) echo bad 1;;
esac