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
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