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

PATCH: posixbuiltins test (was Re: Nasty bug in array-element typeset assignments)



Peter Stephenson wrote:
> 
> Something like that would definitely be my preference.

Good; I won't commit the "something like that" just yet though, at least
not before Bart has had a chance to say something on this.

> > Incidentally, I get a couple of test failures with the latest CVS - on
> > with _arguments and the other for posixbuiltins.

> I don't get the one for posixbuiltins --- and there isn't much possibility

Ok, I looked in more detail and the problem was that someone here has
installed some run-mailcap package which includes a `print' command.
This means that `command print foo' is not going to fail with `command
not found'. Clearing the path is the easiest way I can think of to fix
this.

Oliver

Index: Test/E01options.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/E01options.ztst,v
retrieving revision 1.8
diff -u -r1.8 E01options.ztst
--- Test/E01options.ztst     2001/07/09 18:31:25     1.8
+++ Test/E01options.ztst     2001/07/26 12:11:04
@@ -691,10 +691,10 @@
 ?(eval):14: no such file or directory: pathtestdir/findme
 
   setopt posixbuiltins
-  command print foo
+  PATH= command print foo
   unsetopt posixbuiltins
   print unsetting...
-  command print foo
+  PATH= command print foo
 127:POSIX_BUILTINS option
 >foo
 >unsetting...



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