git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: t0028-working-tree-encoding.sh test #3 data

From
JWJeffrey Walton <noloader@gmail.com>
Date
Mar 10, 2019, 01:57 UTC
Message-ID
<CAH8yC8=01S8m8XCPoHgfX1woAEzHN7HXEn2Ncc1ceOF0SMnFaQ@mail.gmail.com>
In-Reply-To
<20190309161003.55t4irdwd76asnuf@tb-raspi4>
On Sat, Mar 9, 2019 at 11:10 AM Torsten Bögershausen <tboegi@web.de> wrote:
Show 15 quoted lines
>
> On Sat, Mar 09, 2019 at 09:36:34AM -0500, Jeffrey Walton wrote:
> >
> > I'm experiencing a failure in t0028-working-tree-encoding.sh. The
> > first failure is test #3. The source states "source (test.utf16lebom,
> > considered UTF-16LE-BOM)" but it looks like a UTF16-LE BOM followed by
> > a UTF32-LE stream.
> >
> > Am I misunderstanding the data presentation?
>
> Thanks for the report.
>
> I think you understand it right.
>
> May be you can help us: Which OS are you using ?
Fedora 29, x86_64 fully patched.

However, I'm building Git and all of its dependencies with additional flags for testing. The prefix directory is /var/tmp and the lib directory is /var/tmp/lib64.

RPATHS are set for everything being built, but I don't rule out those stupid path problems that plague Linux. In the past I have seen grep and awk from /bin use special builds of libraries in /var/tmp/lib64. I have not figured out how to tell programs in /bin to stop using test libraries in /var/tmp/lib64.

> And what does
> echo "hallo" | iconv -f UTF-8 -t UTF-16 | xxd
> give ?

$ PATH=/var/tmp/bin/:$PATH echo "hallo" | iconv -f UTF-8 -t UTF-16 | xxd 00000000: fffe 6800 6100 6c00 6c00 6f00 0a00 ..h.a.l.l.o...

And:

$ PATH=/var/tmp/bin/:$PATH echo "hallo" | /usr/bin/iconv -f UTF-8 -t UTF-16 | xxd 00000000: fffe 6800 6100 6c00 6c00 6f00 0a00 ..h.a.l.l.o...

> We may need some more debugging, may be you can send the whole log file ?
> Even if there is are a lot of ESC-sequences...
Yes, absolutely. Which file would you like?
(The only thing I can find is config.log).
Jeff
Previous: Torsten BögershausenNext: Torsten Bögershausen
Message 3 of 4 in “t0028-working-tree-encoding.sh test #3 data”
  1. Jeffrey WaltonMar 9, 2019
  2. Torsten BögershausenMar 9, 2019
  3. Jeffrey WaltonMar 10, 2019
  4. Torsten BögershausenMar 10, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.