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

Y test failures (zpty)



Y01completion hangs for me.

+comptestinit:7> zmodload -i zsh/zpty
+comptestinit:9> comptest_zsh=zsh
+comptestinit:11> getopts z: opt
+comptestinit:12> case z (z)
+comptestinit:13> comptest_zsh=/home/clint/tmp/zsh/Test/../Src/zsh
+comptestinit:11> getopts z: opt
+comptestinit:16> ((  OPTIND > 1  ))
+comptestinit:16> shift 2
+comptestinit:18> export PS1=<PROMPT>
+comptestinit:19> zpty zsh /home/clint/tmp/zsh/Test/../Src/zsh -f +Z
+comptestinit:21> zpty -r zsh log1 *<PROMPT>*

The child zsh process shows as defunct.  Linux kernel is 2.4.17, glibc
is 2.2.5, zsh is current CVS.

As another datapoint, someone (whose complaints led me to run make check
in the first place), running Linux 2.4.19pre1, glibc 2.2.4, zsh 4.0.4,
gets the following, in addition to such errors for Y02 and Y03.

./Y01completion.ztst: starting.
comptestinit:zpty:19: can't open pseudo terminal: bad file descriptor
comptestinit:zpty:21: no such pty command: zsh
Test ./Y01completion.ztst failed: non-zero status from preparation code:
  comptestinit -z $ZTST_testdir/../Src/zsh &&
{
    mkdir dir1
    mkdir dir2
    touch file1
    touch file2
  }
./Y01completion.ztst: test failed.

Any ideas what's going on?



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