about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-05-18 16:20:48 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-05-18 16:20:48 +0000
commitde880a6bbb4ea064dbe5fb0405081c170a12ff5c (patch)
tree1b9a624f1be5eb856ff22ae8b9244493578502d9 /Test
parent4544933427065dea3834753ea29c18610f3ef8ea (diff)
downloadzsh-de880a6bbb4ea064dbe5fb0405081c170a12ff5c.tar.gz
zsh-de880a6bbb4ea064dbe5fb0405081c170a12ff5c.tar.xz
zsh-de880a6bbb4ea064dbe5fb0405081c170a12ff5c.zip
Tweak zmodload tests, fix fd 8.
Diffstat (limited to 'Test')
-rw-r--r--Test/V01zmodload.ztst6
-rwxr-xr-xTest/ztst.zsh2
2 files changed, 4 insertions, 4 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst
index 2575b271c..0828102a6 100644
--- a/Test/V01zmodload.ztst
+++ b/Test/V01zmodload.ztst
@@ -27,9 +27,9 @@
 1:Test reloading an already-loaded module
 ?ZTST_execchunk:zmodload:2: module zsh/main already loaded.
 
-# Loop over the modules fond above and attempt to load each one.  Use
+# Loop over the modules found above and attempt to load each one.  Use
 # the -i flag in case dependencies cause multiple modules to be loaded,
-# or in case some previous test loaded a module.
+# or in case some previous test suite loaded a module.
 
  for m in $mods
  do
@@ -74,7 +74,7 @@
    zmodload -ab zsh/example example
    builtin example
    zmodload -e zsh/example
- else :
+ else print -u8 Warning: zsh/example not linked: not checking autoloading
  fi
 0d:Autoload a module via a builtin
 
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index 9d9ad5f3c..ea9d18a08 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -115,7 +115,7 @@ ZTST_hashmark() {
 
 [[ ! -r $ZTST_testname ]] && ZTST_testfailed "can't read test file."
 
-[[ -n $ZTST_verbose && $ZTST_verbose -ge 0 ]] && exec 8>&1
+exec 8>&1
 exec 9<$ZTST_testname
 
 # The current line read from the test file.