sh: Add a test for a fairly obscure case with aliases.
This also passes on stable/8.
This commit is contained in:
parent
daf097c040
commit
53b93f2f8a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224104
6
tools/regression/bin/sh/parser/alias6.0
Normal file
6
tools/regression/bin/sh/parser/alias6.0
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
alias alias0='| cat >/dev/null'
|
||||
|
||||
eval '{ echo bad; } alias0'
|
||||
eval '(echo bad)alias0'
|
Loading…
Reference in New Issue
Block a user