mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
34779: tests for 34776
This commit is contained in:
parent
ddf96cf933
commit
784a9f786d
3 changed files with 31 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-03-25 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 34779: Test/A02alias.ztst: tests for 34776
|
||||
|
||||
* unposted: Test/W01history.ztst: change an F: to a comment
|
||||
|
||||
2015-03-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* Han Pingtian: 34769: incorrect description of process time
|
||||
|
|
|
@ -57,3 +57,27 @@
|
|||
>And so is this
|
||||
>And this too
|
||||
>And aliases are expanded
|
||||
|
||||
$ZTST_testdir/../Src/zsh -fis <<<'
|
||||
PROMPT=""
|
||||
exec 2>&1
|
||||
alias \{=echo
|
||||
{ begin
|
||||
{end
|
||||
fc -l -2' 2>/dev/null
|
||||
0:Aliasing reserved tokens
|
||||
>begin
|
||||
>zsh: command not found: echoend
|
||||
*>*4*{ begin
|
||||
*>*5*{end
|
||||
|
||||
$ZTST_testdir/../Src/zsh -fis <<<'
|
||||
PROMPT=""
|
||||
exec 2>&1
|
||||
alias -g S=\"
|
||||
echo S a string S "
|
||||
fc -l -1' 2>/dev/null
|
||||
0:Global aliasing quotes
|
||||
> a string S
|
||||
*>*4*echo S a string S "
|
||||
# Note there is a trailing space on the "> a string S " line
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
>more foo bar again
|
||||
*?*
|
||||
F:Check that a history bug introduced by workers/34160 is working again.
|
||||
F:Discarded line of error output consumes prompts printed by "zsh -i".
|
||||
# Discarded line of error output consumes prompts printed by "zsh -i".
|
||||
|
|
Loading…
Reference in a new issue