mirror of
https://github.com/zsh-users/zsh
synced 2024-09-16 06:30:26 +00:00
unposted: fix alias test in 24736 properly
This commit is contained in:
parent
1b551d0513
commit
ae832b901e
|
@ -1,3 +1,8 @@
|
|||
2008-03-27 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: fix alias test in 24736 properly by replacing
|
||||
"foo" everywhere.
|
||||
|
||||
2008-03-26 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: Config/version.mk: 4.3.5-dev-3.
|
||||
|
|
|
@ -1,20 +1,24 @@
|
|||
# To get the "command not found" message when aliasing is suppressed
|
||||
# we need, er, a command that isn't found.
|
||||
# The other aliases are only ever used as aliases.
|
||||
|
||||
%prep
|
||||
alias foo=echo
|
||||
alias ThisCommandDefinitelyDoesNotExist=echo
|
||||
|
||||
alias -g bar=echo
|
||||
|
||||
alias '\bar=echo'
|
||||
|
||||
%test
|
||||
foo foo
|
||||
ThisCommandDefinitelyDoesNotExist ThisCommandDefinitelyDoesNotExist
|
||||
0:Basic aliasing
|
||||
>foo
|
||||
>ThisCommandDefinitelyDoesNotExist
|
||||
|
||||
bar bar
|
||||
0:Global aliasing
|
||||
>echo
|
||||
|
||||
\ThisCommandDefinitelyDoesNotExist foo
|
||||
\ThisCommandDefinitelyDoesNotExist ThisCommandDefinitelyDoesNotExist
|
||||
127:Not aliasing
|
||||
?(eval):1: command not found: ThisCommandDefinitelyDoesNotExist
|
||||
|
||||
|
|
Loading…
Reference in a new issue