zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Several tests fail when configured with --disable-multibyte
Date: Sun, 18 Mar 2018 17:19:31 -0700	[thread overview]
Message-ID: <180318171931.ZM10602@torch.brasslantern.com> (raw)

(Sorry about the blank message, my mouse needs to be replaced; it sometimes
registers clicks when drag-selecting, and that time happened to switch to
another window and hit the Send button.)

These tests fail when --disable-multibyte on my CentOS desktop:

../../zsh-5.0/Test/A03quoting.ztst: starting.
--- /tmp/zsh.ztst.6567/ztst.out 2018-03-18 17:09:54.000000000 -0700
+++ /tmp/zsh.ztst.6567/ztst.tout        2018-03-18 17:09:54.000000000 -0700
@@ -1 +1,3 @@
-$'one\\two\n\'buckle\'\tmy\\shoe\n'
+'one\two
+'\''buckle'\'' my\shoe
+'
Test ../../zsh-5.0/Test/A03quoting.ztst failed: output differs from expected as 
shown above for:
 foo=$'one\\two\n\'buckle\'\tmy\\shoe\n'
 print -r ${(q+)foo}
Was testing: Extended minimal quoting of quotes and backslashes
../../zsh-5.0/Test/A03quoting.ztst: test failed.

../../zsh-5.0/Test/B03print.ztst: starting.
--- /tmp/zsh.ztst.14267/ztst.out        2018-03-18 17:10:08.000000000 -0700
+++ /tmp/zsh.ztst.14267/ztst.tout       2018-03-18 17:10:08.000000000 -0700
@@ -1,2 +1,2 @@
 typeset -g foo='once more'
-typeset -g foo=$'into\C-@the-breach\C-@-'
+typeset -g foo=intothe-breach-
Test ../../zsh-5.0/Test/B03print.ztst failed: output differs from expected as sh
own above for:
 unset foo
 print -v foo once more
 typeset -p foo
 printf -v foo "%s\0%s-" into the breach
 typeset -p foo
Was testing: print and printf into a variable
../../zsh-5.0/Test/B03print.ztst: test failed.

../../zsh-5.0/Test/D01prompt.ztst: starting.
--- /tmp/zsh.ztst.16005/ztst.out        2018-03-18 17:10:25.000000000 -0700
+++ /tmp/zsh.ztst.16005/ztst.tout       2018-03-18 17:10:25.000000000 -0700
@@ -1 +1 @@
-
+V
Test ../../zsh-5.0/Test/D01prompt.ztst failed: output differs from expected as s
hown above for:
  print ${(%U)Y-%(v}
Was testing: Regression test for test on empty psvar
../../zsh-5.0/Test/D01prompt.ztst: test failed.

../../zsh-5.0/Test/D04parameter.ztst: starting.
--- /tmp/zsh.ztst.16435/ztst.out        2018-03-18 17:10:28.000000000 -0700     
+++ /tmp/zsh.ztst.16435/ztst.tout       2018-03-18 17:10:28.000000000 -0700
@@ -1 +1 @@
-^?^@
+\C-?\C-@
Test ../../zsh-5.0/Test/D04parameter.ztst failed: output differs from expected a
s shown above for:
  foo=$'\x7f\x00'
  print -r -- ${(V)foo}
Was testing: ${(V)...}
../../zsh-5.0/Test/D04parameter.ztst: test failed.

../../zsh-5.0/Test/V09datetime.ztst: starting.
--- /tmp/zsh.ztst.18401/ztst.out        2018-03-18 17:10:37.000000000 -0700
+++ /tmp/zsh.ztst.18401/ztst.tout       2018-03-18 17:10:37.000000000 -0700
@@ -1 +1 @@
-1973^@03^@03
+1973\C-@03\C-@03
Test ../../zsh-5.0/Test/V09datetime.ztst failed: output differs from expected as
 shown above for:
  print -r -- ${(V)"$(strftime $'%Y\0%m\0%d' 100000000)"}
Was testing: Embedded nulls
../../zsh-5.0/Test/V09datetime.ztst: test failed.

../../zsh-5.0/Test/Y01completion.ztst: starting.
--- /tmp/zsh.ztst.19813/ztst.out        2018-03-18 17:11:12.000000000 -0700
+++ /tmp/zsh.ztst.19813/ztst.tout       2018-03-18 17:11:12.000000000 -0700
@@ -1,7 +1,5 @@
-line: {: ~user}{}
-line: {: ~user}{}
-NO:{user1}
-NO:{user2}
-line: {: ~user1}{}
-line: {: ~user2}{}
-line: {: ~user1}{}
+line: {: ~}{}
+line: {: ~}{}
+line: {: ~}{}
+line: {: ~}{}
+line: {: ~}{}
Test ../../zsh-5.0/Test/Y01completion.ztst failed: output differs from expected 
as shown above for:
  comptesteval '_users () { compadd user1 user2 }'
  comptest $': ~\t\t\t\t\t'
Was testing: tilde
../../zsh-5.0/Test/Y01completion.ztst: test failed.

-- 
Barton E. Schaefer


             reply	other threads:[~2018-03-19  0:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19  0:19 Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-19  0:11 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=180318171931.ZM10602@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).