Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Pkg-zsh-devel] zsh 5.2-test-1
Hi,
Peter Stephenson wrote:
> On Sun, 4 Dec 2016 19:09:45 +0000
> Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > I will commit this...
>
> diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
> index 834550c..9128c3c 100644
> --- a/Test/D04parameter.ztst
> +++ b/Test/D04parameter.ztst
> @@ -97,16 +97,17 @@
>
> PROMPT="" $ZTST_testdir/../Src/zsh -fis <<<'
> unsetopt PROMPT_SP
> - PS2="" PS3="" PS4="" RPS1="" RPS2=""
> + PS1="" PS2="" PS3="" PS4="" RPS1="" RPS2=""
> + exec 2>&1
> foo() {
> print ${1:?no arguments given}
> print not reached
> }
> foo
> print reached
> - '
> + ' 2>/dev/null
> 0:interactive shell returns to top level on ${...?...} error
> -?foo:1: 1: no arguments given
> +*>*foo:1: 1: no arguments given
> >reached
>
> print ${set1:+word1} ${set1+word2} ${null1:+word3} ${null1+word4}
This one indeed helped. :-) Shall I still test Bart's last patch, too?
Regards, Axel
--
,''`. | Axel Beckert <abe@xxxxxxxxxx>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Messages sorted by:
Reverse Date,
Date,
Thread,
Author