about summary refs log tree commit diff
path: root/Test/ztst.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-xTest/ztst.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index b3f6de16b..fe996832c 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -52,7 +52,7 @@ ZTST_srcdir=${0%/*}
 [[ $ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"
 
 # Set the function autoload paths to correspond to this build of zsh.
-fpath=( ${ZTST_srcdir:h}/(Completion|Functions)/*~*/CVS(/) )
+fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
 
 : ${TMPPREFIX:=/tmp/zsh}
 # Temporary files for redirection inside tests.