bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 3.6.90] testsuite: 173 174 175 176 177 178 179 180 181 18


From: Akim Demaille
Subject: Re: [GNU Bison 3.6.90] testsuite: 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 196 220 221 228 244 245 246 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 549 555 562 567 577 failed
Date: Mon, 6 Jul 2020 21:48:25 +0200

Hi Kiyoshi,

> Le 6 juil. 2020 à 08:51, Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp> a 
> écrit :
> 
> Hi, Akim.
> 
> with /usr/xpg4/bin/sh:
> $ $coreutilsbin/printf '\u2022\n'
> ?

> I have probles with coreutils's cp, mv and ln, so they are disabed such as
> $ /usr/xpg4/bin/mv $coreutilsbin/cp $coreutilsbin/cp-
> $ /usr/xpg4/bin/mv $coreutilsbin/mv $coreutilsbin/mv-
> $ /usr/xpg4/bin/mv $coreutilsbin/ln $coreutilsbin/ln-
> 
> Doing the same thing to coreutils's printf such as
> $ /usr/xpg4/bin/mv $coreutilsbin/printf $coreutilsbin/printf-
> now, /usr/bin/printf comes to the default printf.
> 
> With this condition, tried bison-3.6.90 again, but have the same failure 
> numbers.
> $ ./configure --prefix=/opt/local SHELL=/opt/local/bin/bash --disable-nls 
> --without-libtextstyle-prefix --with-libreadline-prefix=/opt/local CC=gcc

I was unclear: Bison does not use the coreutils in anyway.  However, it
uses the same gnulib component to print the bullet as the coreutils'
printf to handle unicode escapes.  That helps us having a reproducible
test case.

Bison uses '.' as fallback, but printf should print '\u2022' (six
characters) as fallback.  So in both cases it failed.

We could imagine '?' is the way your terminal rendered something it failed
to display, but it's unlikely, given that the log of the tests you sent
could not have been transformed by the terminal.

But just in case, what does

$ $coreutilsbin/printf '\u2022\n' | od -t x1

give?  I have:

$ printf '\u2022\n' | od -t x1
0000000 e2 80 a2 0a
0000004

Cheers!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]