[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils tests failure
From: |
Bruno Haible |
Subject: |
coreutils tests failure |
Date: |
Mon Nov 11 11:47:11 2002 |
Hi,
"make check" of coreutils-4.5.3 fails for me.
System details:
Linux
glibc 2.3
perl 5.8.0
LANG=de_DE.UTF-8
Making check in sum
make[2]: Entering directory `/packages/coreutils-4.5.3/tests/sum'
make check-TESTS
make[3]: Entering directory `/packages/coreutils-4.5.3/tests/sum'
PASS: basic-1
out exp differieren: Byte 1, Zeile 1.
1c1
< 1798 65794
---
> 65535 32897
out exp differieren: Byte 2, Zeile 1.
1c1
< 2184 65794
---
> 254 32897
FAIL: sysv
======================================
1 of 2 tests failed
Please report to address@hidden
======================================
make[3]: *** [check-TESTS] Fehler 1
This also is due to the locale: with LC_ALL=C the test succeeds.
$ LC_ALL=C perl -e '$s = chr(255) x 65537; foreach (1..257) {print $s}' | hd
000000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
*
$ perl -e '$s = chr(255) x 65537; foreach (1..257) {print $s}' | hd
000000 C3 BF C3 BF C3 BF C3 BF C3 BF C3 BF C3 BF C3 BF ................
*
It seems that what you need is "use bytes;" - then your old-fashioned
perl proglets will also work in modern locales.
Bruno
- coreutils tests failure,
Bruno Haible <=