about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/comptest4
-rwxr-xr-xTest/ztst.zsh1
2 files changed, 4 insertions, 1 deletions
diff --git a/Test/comptest b/Test/comptest
index 85fa5578d..99867c5e3 100644
--- a/Test/comptest
+++ b/Test/comptest
@@ -1,7 +1,9 @@
 comptestinit () {
   setopt extendedglob
   [[ -d $ZTST_testdir/Modules/zsh ]] && module_path=( $ZTST_testdir/Modules )
-  fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
+  fpath=( $ZTST_srcdir/../Functions/*~*/CVS(/)
+          $ZTST_srcdir/../Completion
+          $ZTST_srcdir/../Completion/*/*~*/CVS(/) )
 
   zmodload -i zsh/zpty
 
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index 3e8bdef18..b7221b391 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -64,6 +64,7 @@ fi
 
 # Set the function autoload paths to correspond to this build of zsh.
 fpath=( $ZTST_srcdir/../Functions/*~*/CVS(/)
+        $ZTST_srcdir/../Completion
         $ZTST_srcdir/../Completion/*/*~*/CVS(/) )
 
 : ${TMPPREFIX:=/tmp/zsh}