summaryrefslogtreecommitdiff
path: root/Test/V01zmodload.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-06-26 19:38:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-06-26 19:38:34 +0000
commit4be5febd94a453c4ed67eb00e43d2107453e6563 (patch)
tree419d1dd068f18cd1c836a3c8c30441e1d199cd85 /Test/V01zmodload.ztst
parentcc2867746aa09f386e5cad8ec8082cfe54c1e4a0 (diff)
downloadzsh-4be5febd94a453c4ed67eb00e43d2107453e6563.tar.gz
zsh-4be5febd94a453c4ed67eb00e43d2107453e6563.zip
23606: make all module feature autoloads pass through one function
Diffstat (limited to 'Test/V01zmodload.ztst')
-rw-r--r--Test/V01zmodload.ztst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst
index daba3e0a1..2308d3271 100644
--- a/Test/V01zmodload.ztst
+++ b/Test/V01zmodload.ztst
@@ -83,18 +83,34 @@
zmodload -ub bogus
0:Add/remove autoloaded builtin
+ zmodload -ub bogus
+1:Fail to remove unautoloaded builtin
+?(eval):zmodload:1: bogus: no such builtin
+
zmodload -ac bogus
zmodload -uc bogus
0:Add/remove autoloaded condition
+ zmodload -uc bogus
+1:Fail to remove unautoloaded condition
+?(eval):zmodload:1: bogus: no such condition
+
zmodload -ap bogus
zmodload -up bogus
0:Add/remove autoloaded parameter
+ zmodload -up bogus
+1:Fail to remove unautoloaded parameter
+?(eval):zmodload:1: bogus: no such parameter
+
zmodload -af bogus
zmodload -uf bogus
0:Add/remove autoloaded math function
+ zmodload -uf bogus
+1:Fail to remove unautoloaded math function
+?(eval):zmodload:1: bogus: no such math function
+
# If the "example" module is available, test various autoloading behavior.
if [[ $mods[(r)zsh/example] == zsh/example ]]; then