Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zpty for Cygwin and strange Zsh test hanger
- X-seq: zsh-workers 12080
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: zpty for Cygwin and strange Zsh test hanger
- Date: Tue, 27 Jun 2000 11:10:12 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Cygwin is using SVR4-style ptys without STREAMS support. The attached
patch makes it possible to compile zpty.c under Cygwin. I can also start
bash as subprocess and read/write there. Unfortunately, both completion
tests and nslookup function hang unde Cygwin. I was not able to use gdb
(it does not show even stacktrace), but I decided to try a single
testsuite under Unix ... and to my surpise it hung there as well. Look
(this is after installing new zsh, so it must be identical with what is
built using ``make check''):
bor@itsrm2% cd Test; ZTST_verbose=10 ../Src/zsh -f
/tools/src/zsh/Test/ztst.zsh
/tools/src/zsh/Test/53completion.ztst
ZTST_getsect: read section name: prep
ZTST_getchunk: read code chunk:
. $ZTST_srcdir/comptest
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
mkdir comp.tmp
cd comp.tmp
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
comptestinit -z $ZTST_testdir/../Src/zsh
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
mkdir dir1
mkdir dir2
touch file1
touch file2
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
ZTST_getsect: read section name: test
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
comptest $': '
ZTST_getchunk: read code chunk:
comptest $': '
ZTST_test: examining line:
>line: {: }{}
ZTST_getredir: read redir for '>':
line: {: }{}
DESCRIPTION:{file}
DI:{dir1}
DI:{dir2}
FI:{file1}
FI:{file2}
line: {: dir1/}{}
line: {: dir2/}{}
line: {: file1}{}
line: {: file2}{}
line: {: dir1/}{}
line: {: dir2/}{}
ZTST_test: examining line:
Running test: directories and files
ZTST_test: expecting status: 0
It does NOT hang if I run ``make check''!
Any idea?
-andrej
Have a nice DOS!
B >>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author