about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xTest/ztst.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index 8ee60fd58..181148c2b 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -45,7 +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"
+[[ $ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"
 
 : ${TMPPREFIX:=/tmp/zsh}
 # Temporary files for redirection inside tests.