From 699dfdd0ea25d01177f603461473f4e0c88f7378 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 6 Feb 2020 12:47:39 +0000 Subject: 45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features. --- Test/V01zmodload.ztst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Test/V01zmodload.ztst') diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index 1bd8c1900..6a4e34d2d 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -348,6 +348,20 @@ ?(eval):6: unknown function: systell ?(eval):9: file descriptor out of range + $ZTST_testdir/../Src/zsh -fc ' + zmodload zsh/zutil + zmodload -Fal zsh/zutil | grep parse + zmodload -u zsh/zutil + # + zmodload -Fa zsh/zutil -b:zregexparse + zmodload zsh/zutil + zmodload -Fal zsh/zutil | grep parse >&2 + ' +0:zmodload -Fa can disable features from being loaded +>b:zparseopts +>b:zregexparse +?b:zparseopts + %clean eval "$deps" -- cgit 1.4.1 From e89060a37752da1a8418fa8daa1efb546c8b6e8d Mon Sep 17 00:00:00 2001 From: dana Date: Fri, 14 Feb 2020 15:55:52 -0600 Subject: unposted: V01zmodload: Fix failing test from workers/45385 --- ChangeLog | 3 +++ Test/V01zmodload.ztst | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'Test/V01zmodload.ztst') diff --git a/ChangeLog b/ChangeLog index f23a956b0..2e76e04a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-02-14 dana + * unposted: Test/V01zmodload.ztst: Fix failing test from + workers/45385 + * 45423 (tweaked): Completion/Unix/Command/_su: Improve arg handling, shell look-ups diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index 6a4e34d2d..55c3c314b 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -348,7 +348,9 @@ ?(eval):6: unknown function: systell ?(eval):9: file descriptor out of range - $ZTST_testdir/../Src/zsh -fc ' + $ZTST_testdir/../Src/zsh -fc " + MODULE_PATH=${(q)MODULE_PATH} + # zmodload zsh/zutil zmodload -Fal zsh/zutil | grep parse zmodload -u zsh/zutil @@ -356,7 +358,7 @@ zmodload -Fa zsh/zutil -b:zregexparse zmodload zsh/zutil zmodload -Fal zsh/zutil | grep parse >&2 - ' + " 0:zmodload -Fa can disable features from being loaded >b:zparseopts >b:zregexparse -- cgit 1.4.1