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

Re: PATCH: test output pattern matching



On Thu, Dec 01, 2011 at 09:27:42PM +0000, Peter Stephenson wrote:
> On Thu, 1 Dec 2011 12:52:47 +0000
> Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> > We really need a way of telling the test system that it should match
> > output by pattern, but I've never got round to it.
> 
> This could probably be used in other places.
[snip..]

Hi,

I still have an error on OpenBSD with this patch:

./A04redirect.ztst: starting.
*** /usr/ports/pobj/zsh-4.3.13/zsh-4.3.13/tmp.ztst.err.6420     Fri Dec  2 17:58:33 2011
--- /usr/ports/pobj/zsh-4.3.13/zsh-4.3.13/tmp.ztst.terr.6420    Fri Dec  2 17:58:33 2011
***************
*** 1 ****
- (eval):1: failed to close file descriptor 3: bad file descriptor
--- 0 ----
Test ./A04redirect.ztst failed: error output differs from expected as shown above for:
  (exec 3<&-
  read foo <&-)
Was testing: '<&-' redirection
./A04redirect.ztst: test failed.


Regards,



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