From de880a6bbb4ea064dbe5fb0405081c170a12ff5c Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 18 May 2001 16:20:48 +0000 Subject: Tweak zmodload tests, fix fd 8. --- Test/V01zmodload.ztst | 6 +++--- Test/ztst.zsh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Test') 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. -- cgit 1.4.1