diff options
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-x | Test/ztst.zsh | 1 |
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. |