about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-28 20:08:51 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-28 20:08:51 +0000
commit57066ad884d41df652c57fd78e5668f6c58ab942 (patch)
treea2a48b48a9327d56c5012cfee361b419760cc375 /Test
parente26430d06609e41dde861d3f0deee5a60d3fe722 (diff)
downloadzsh-57066ad884d41df652c57fd78e5668f6c58ab942.tar.gz
zsh-57066ad884d41df652c57fd78e5668f6c58ab942.tar.xz
zsh-57066ad884d41df652c57fd78e5668f6c58ab942.zip
manual/9163
Diffstat (limited to 'Test')
-rwxr-xr-xTest/ztst.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index 7e82f8a5b..8ee60fd58 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -45,6 +45,7 @@ ZTST_testname=$1
 
 # The source directory is not necessarily the current directory
 ZTST_srcdir=${0%/*}
+[[ ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"
 
 : ${TMPPREFIX:=/tmp/zsh}
 # Temporary files for redirection inside tests.