diff options
author | Daniel Shahaf <danielsh@apache.org> | 2020-02-06 12:47:39 +0000 |
---|---|---|
committer | Daniel Shahaf <danielsh@apache.org> | 2020-02-07 12:44:53 +0000 |
commit | 699dfdd0ea25d01177f603461473f4e0c88f7378 (patch) | |
tree | b192ab69a0176a51499c231125f4ccdba61f40ad | |
parent | 643de931640e01aa246723d2038328ef33737965 (diff) | |
download | zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.gz zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.xz zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.zip |
45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Test/V01zmodload.ztst | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d13fb6e0f..ea80ad5bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-02-06 Daniel Shahaf <danielsh@apache.org> + + * 45385: Test/V01zmodload.ztst: Add a test for 'zmodload -Fa' + preemptively disabling ("blacklisting"?) features. + 2020-02-06 dana <dana@dana.is> * unposted: Config/version.mk: Update for 5.7.1-test-3 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" |