zsh-workers
 help / color / mirror / code / Atom feed
From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Cc: Peiyuan Song <squallatf@gmail.com>
Subject: Re: [PATCH v3] Make zpty module work in the cygwin and msys2
Date: Mon, 18 Jan 2021 14:43:16 +0900	[thread overview]
Message-ID: <5444AEBC-5A8F-438E-89C6-21EB5741E22D@kba.biglobe.ne.jp> (raw)
In-Reply-To: <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@gmail.com> 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.



  reply	other threads:[~2021-01-18  5:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18  2:28 Peiyuan Song
2021-01-18  5:43 ` Jun T [this message]
2021-01-18  7:17   ` Bart Schaefer
2021-01-18 10:56     ` Jun T
2021-01-19  8:44       ` Jun T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5444AEBC-5A8F-438E-89C6-21EB5741E22D@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=squallatf@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).