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

Re: Weird test failures under Cygwin



On May 10,  7:57pm, Andrej Borsenkow wrote:
}
} May be, somebody has an idea.

When run all together, the tests re-use the same zpty name, though not
the same pty instance.  I wonder if there's a lurking bug with pty re-use,
either in zpty or in cygwin.

It would appear that some of the output read from zpty is simply getting
lost.  I was just able to get an error very similar to this one:

} *** /tmp/zsh.ztst.out.2132      Thu May 10 19:51:12 2001
} --- /tmp/zsh.ztst.tout.2132     Thu May 10 19:51:12 2001
} ***************
} *** 1,3 ****
}   line: {tst }{}
} - COMPADD:{_tst:compadd: unknown match specification character `z'}
} - INSERT_POSITIONS:{}
} --- 1 ----

I did it by inserting into the "comptesteval" call in "comptestinit" the
argument "exec 2>>| $ZTST_testdir/comptest.log" (trying to examine exactly
how zsh re-uses the pty).  The error I got was:

*** /tmp/zsh.ztst.out.23791     Thu May 10 10:46:42 2001
--- /tmp/zsh.ztst.tout.23791    Thu May 10 10:46:43 2001
***************
*** 1,3 ****
  line: {tst }{}
! COMPADD:{_tst:compadd: unknown match specification character `z'}
  INSERT_POSITIONS:{}
--- 1,3 ----
  line: {tst }{}
! COMPADD:{}
  INSERT_POSITIONS:{}


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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