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

Re: 4.3.6/cvs: Test failed: Y02compmatch.ztst



On Sun, 12 Oct 2008 00:00:45 +0200
Bernd Steinhauser <bernd@xxxxxxxxxxxxxxxxxxxx> wrote:
> I tried latest version (4.3.6) as well as cvs and with both this test fails.
> I have been told on IRC to report it to the list.
> As I found out, the reason is that it doesn't ignore the file 
> /etc/zsh/zshenv.
> 
> Test ./Y02compmatch.ztst failed: output differs from expected as shown 
> above for:

This is a hard sort of problem to fix, since by deliberate policy
/etc/zshenv (or equivalent) is executed by every shell.  Also, I don't
know what it is in your file that is causing the problem.  Does this fix
it?

Index: Test/comptest
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/comptest,v
retrieving revision 1.16
diff -u -r1.16 comptest
--- Test/comptest	25 Jun 2001 03:06:35 -0000	1.16
+++ Test/comptest	11 Oct 2008 22:14:35 -0000
@@ -25,6 +25,7 @@
   }
 
   comptesteval \
+"emulate -R zsh" \
 "export ZDOTDIR=$ZTST_testdir" \
 "module_path=( $module_path )" \
 "fpath=( $fpath )" \

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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