Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Test release: 5.8.1.2-test
Hi,
On Wed, Apr 13, 2022 at 10:17:38AM +0900, Jun T wrote:
> > 2022/04/13 3:40, Axel Beckert <abe@xxxxxxxxxxxxxxx> wrote:
>
> >> + if ! ( zmodload -s zsh/system && zmodload -s zsh/zselect ); then
>
> Calling zmodload in a subshell (...) does not load the module to the main zsh.
Argh, thanks! I missed the forest for the trees. I was just thinking
in boolean logic there, not in subshells.
> diff --git a/Test/V14system.ztst b/Test/V14system.ztst
> index 100daab08..ffdb730a4 100644
> --- a/Test/V14system.ztst
> +++ b/Test/V14system.ztst
> @@ -5,10 +5,10 @@
> if zmodload -s zsh/system && zmodload -s zsh/zselect; then
> tst_dir=V14.tmp
> mkdir -p -- $tst_dir
> + : > $tst_dir/file # File on which to acquire flock.
> else
> ZTST_unimplemented='the zsh/system and zsh/zselect modules are not available'
> fi
> - : > $tst_dir/file # File on which to acquire flock.
>
> %test
Helped, thanks!
Kind regards, Axel
--
PGP: 2FF9CD59612616B5 /~\ Plain Text Ribbon Campaign, http://arc.pasp.de/
Mail: abe@xxxxxxxxxxxxxxx \ / Say No to HTML in E-Mail and Usenet
Mail+Jabber: abe@xxxxxxxxx X
https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author