sh: Add some testcases for alias expansion.

This commit is contained in:
jilles 2010-10-24 16:55:17 +00:00
parent 41dcd4566c
commit dfb434120d
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# $FreeBSD$
alias alias0=exit
eval 'alias0 0'
exit 1

View File

@ -0,0 +1,6 @@
# $FreeBSD$
alias alias0=exit
x=alias0
eval 'case $x in alias0) exit 0;; esac'
exit 1