about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-24 12:47:37 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-24 12:47:37 +0000
commit230555aad87c44c711789ec1507c6920d9b483ac (patch)
treeefc1437a827d97a1ed6bc428c335555b5d0538b0 /Test
parentb0226d3cc8393bb4dd57d9e2e8f04ef885c43ab9 (diff)
downloadzsh-230555aad87c44c711789ec1507c6920d9b483ac.tar.gz
zsh-230555aad87c44c711789ec1507c6920d9b483ac.tar.xz
zsh-230555aad87c44c711789ec1507c6920d9b483ac.zip
zsh-workers/10232
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.