Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH v3] Make zpty module work in the cygwin and msys2
- X-seq: zsh-workers 47841
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Peiyuan Song <squallatf@xxxxxxxxx>
- Subject: Re: [PATCH v3] Make zpty module work in the cygwin and msys2
- Date: Mon, 18 Jan 2021 14:43:16 +0900
- Archived-at: <https://zsh.org/workers/47841>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-01/5444AEBC-5A8F-438E-89C6-21EB5741E22D%40kba.biglobe.ne.jp>
- In-reply-to: <CAE0YKFtwinQfxxnY1x=YGPg+cxzjA0=d+W0OW8S6SQH6mYqgjQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAE0YKFtwinQfxxnY1x=YGPg+cxzjA0=d+W0OW8S6SQH6mYqgjQ@mail.gmail.com>
Thank you for the patch. It (v3) works fine on my Cygwin (3.1.7).
> 2021/01/18 11:28, Peiyuan Song <squallatf@xxxxxxxxx> wrote:
>
> assume cygwin upstream issue will be fixed in version
> 3.2.0
Are you sure it will be fixed in 3.2.0 (and also not fixed in 3.1.x) ?
Currently, all or part of the following tests are skipped on Cygwin
due to the broken zpty:
E01, V08, W02, X0{2,3,4} Y0{1,2,3}
If these are modified so that they are no skipped on Cygwin, all of them
pass except Y01, which fails as follows:
./Y01completion.ztst: starting.
--- /tmp/zsh.ztst.60503/ztst.out 2021-01-18 10:07:03.427737000 +0900
+++ /tmp/zsh.ztst.60503/ztst.tout 2021-01-18 10:07:03.662082600 +0900
@@ -3,7 +3,7 @@
FI:{\!foo}
FI:{\#foo}
FI:{Afoo}
-FI:{\\foo}
FI:{bfoo}
+EX:{foo}
FI:{\|foo}
FI:{\~foo}
Test ./Y01completion.ztst failed: output differs from expected as shown above for:
{
mkdir sortnobslash
touch sortnobslash/{'!foo','#foo','\foo','|foo','~foo',Afoo,bfoo}
comptesteval 'old_LC_ALL=$LC_ALL; LC_ALL=C'
comptest $': sortnobslash/\t'
} always {
comptesteval 'LC_ALL=$old_LC_ALL'
rm -rf sortnobslash
}
Was testing: ignore backslashes when sorting completion matches
./Y01completion.ztst: test failed.
As you can see, 'sortnobslash/foo' (instead of 'sortnobslash/\foo') is created
by the touch command.
I guess '\' is not allowed in a filename on Cygwin.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author