diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-03-27 09:41:08 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-03-27 09:41:08 +0000 |
commit | ae832b901e70b5247cc652381e57c1f08ac5e395 (patch) | |
tree | c5285f074f7929c2566cb75459fd216009e6877d | |
parent | 1b551d05136c26ee1e50c1a3c33239d025001f79 (diff) | |
download | zsh-ae832b901e70b5247cc652381e57c1f08ac5e395.tar.gz zsh-ae832b901e70b5247cc652381e57c1f08ac5e395.tar.xz zsh-ae832b901e70b5247cc652381e57c1f08ac5e395.zip |
unposted: fix alias test in 24736 properly
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Test/A02alias.ztst | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 7d9a776f0..69c25383f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst index 591590b9c..0c2a464c9 100644 --- a/Test/A02alias.ztst +++ b/Test/A02alias.ztst @@ -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 |