From 419c5e01d3b5b9b646e73c1d4ed7d30aeec6ca27 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sun, 26 Dec 1999 22:57:23 +0000 Subject: zsh-workers/9159 --- Test/ztst.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Test/ztst.zsh') diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 8ce94fca1..7e82f8a5b 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -43,6 +43,9 @@ ZTST_mainopts=(${(kv)options}) ZTST_testdir=$PWD ZTST_testname=$1 +# The source directory is not necessarily the current directory +ZTST_srcdir=${0%/*} + : ${TMPPREFIX:=/tmp/zsh} # Temporary files for redirection inside tests. ZTST_in=${TMPPREFIX}.ztst.in.$$ -- cgit 1.4.1