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 /Test | |
| parent | unposted: Test release: 5.7.1-test-3 (diff) | |
| download | zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.gz zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.bz2 zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.lz zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.xz zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.tar.zst zsh-699dfdd0ea25d01177f603461473f4e0c88f7378.zip | |
45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features.
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/V01zmodload.ztst | 14 |
1 files changed, 14 insertions, 0 deletions
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" |
