about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/comptest2
-rwxr-xr-xTest/ztst.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Test/comptest b/Test/comptest
index 18faea4d8..012ad788c 100644
--- a/Test/comptest
+++ b/Test/comptest
@@ -5,7 +5,7 @@
 zmodload -i zsh/zpty
 setopt extendedglob
 
-fpath=( ${ZTST_srcdir:h}/(Completion|Functions)/*~*/CVS(/) )
+fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
 
 debug=
 dump=(-D)
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.