Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: srcdir != builddir test errors



In article <rsqk8lyaky9.fsf@xxxxxxxxxxxxxxxxx>,
  Tanaka Akira <akr@xxxxxxxxxxx> writes:

> +[[ ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"

Oops.

Index: Test/ztst.zsh
===================================================================
RCS file: /projects/zsh/zsh/Test/ztst.zsh,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 ztst.zsh
--- Test/ztst.zsh	1999/12/28 20:08:51	1.1.1.9
+++ Test/ztst.zsh	1999/12/31 11:23:15
@@ -45,7 +45,7 @@
 
 # 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.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author