zsh-workers
 help / color / mirror / code / Atom feed
From: dana <dana@dana.is>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Y01 Test Failure
Date: Sun, 21 Mar 2021 21:09:47 -0500	[thread overview]
Message-ID: <2243BDBA-ECE0-4BE8-83DF-C268AA8D7887@dana.is> (raw)
In-Reply-To: <9F54A3AC-47E4-4238-8C5C-F97F3DD8D7B9@kba.biglobe.ne.jp>

Sorry i missed this, i was also using macOS when i tried it.

I only looked for a minute, but could we just do this? It seems to fix the
problem for me on Ubuntu, at least.

(Or, if it's useful in general, we could make comptest set LANG instead of
LC_ALL, and then force LC_COLLATE to C. But again i didn't check to see if
that would break something else)

dana


diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index f6474c4a1..571f3cf16 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -240,7 +240,10 @@ F:regression test workers/31611
   comptesteval '_tst() { local disp=( {a..z} ); compadd -ld disp $disp[@]; comppostfuncs=( _pst ) }'
   comptesteval '_pst() { local disp=( "<INSERT>$compstate[insert]</INSERT>" ); compadd -Qld disp $disp }'
   comptesteval "zstyle ':completion:*' menu select=long-list"
+  # This test is sensitive to sorting differences across platforms
+  comptesteval 'export LC_ALL=C'
   comptest $'tst \C-d'
+  comptesteval "export LC_ALL=${(q)ZSH_TEST_LANG}"
 0: menu select=long-list starts menu selection for list widgets
 >NO:{<INSERT>menu</INSERT>}
 >NO:{a}



  reply	other threads:[~2021-03-22  2:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 15:20 Vin Shelton
2021-03-18 15:48 ` Bart Schaefer
2021-03-18 15:54 ` Bart Schaefer
2021-03-19  6:00   ` Jun T
2021-03-19  8:27     ` Mikael Magnusson
2021-03-19 10:42       ` Jun T
2021-03-22  2:09         ` dana [this message]
2021-03-22 11:06           ` Vin Shelton
2021-03-28  5:25             ` dana
2021-11-12 19:23 Y02 test failure Marlon Richert
2021-11-12 19:56 ` Bart Schaefer
2021-11-12 21:28   ` Marlon Richert
2021-11-12 21:49     ` Bart Schaefer
2021-11-12 22:00       ` Lawrence Velázquez
2021-11-13 17:15         ` Marlon Richert
2021-11-29 21:43           ` Y01 " Marlon Richert
2021-11-30 14:57             ` Jun. T
2021-12-01  3:39               ` Bart Schaefer

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=2243BDBA-ECE0-4BE8-83DF-C268AA8D7887@dana.is \
    --to=dana@dana.is \
    --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).