[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnu-utils] sed-4.2.1 test failures
From: |
Nelson H. F. Beebe |
Subject: |
[bug-gnu-utils] sed-4.2.1 test failures |
Date: |
Thu, 23 Jun 2011 17:45:19 -0600 (MDT) |
I've just been through the logs of 39 test builds of sed-4.2.1 on
about 25 flavors of Unix covering all of the major desktop CPU
architectures. Of those builds, 27 passed all of the tests, and the
new sed has been installed on the corresponding systems.
However, on a few systems, I'm seeing consistent failure of the same
tests, suggesting an error, or other platform difference, in the tests
themselves, as opposed to the sed executable.
GNU/Linux AMD64 Red Hat 5.6:
LANG=ru_RU.UTF-8 ../sed/sed -f ./utf8-1.sed < ./utf8-1.inp | LC_ALL=C
tr -d \r > utf8-1.out
./utf8-1.good utf8-1.out differ: char 1, line 1
./utf8-1.inp utf8-1.out differ: char 1, line 1
FAIL: utf8-1
LANG=ru_RU.UTF-8 ../sed/sed -f ./utf8-2.sed < ./utf8-2.inp | LC_ALL=C
tr -d \r > utf8-2.out
./utf8-2.good utf8-2.out differ: char 1, line 1
./utf8-2.inp utf8-2.out differ: char 1, line 1
FAIL: utf8-2
LANG=ru_RU.UTF-8 ../sed/sed -f ./utf8-3.sed < ./utf8-3.inp | LC_ALL=C
tr -d \r > utf8-3.out
./utf8-3.good utf8-3.out differ: char 1, line 1
./utf8-3.inp utf8-3.out differ: char 1, line 1
FAIL: utf8-3
LANG=ru_RU.UTF-8 ../sed/sed -f ./utf8-4.sed < ./utf8-4.inp | LC_ALL=C
tr -d \r > utf8-4.out
./utf8-4.good utf8-4.out differ: char 1, line 1
./utf8-4.inp utf8-4.out differ: char 1, line 1
FAIL: utf8-4
======================================
4 of 65 tests failed
Please report to address@hidden
======================================
Here is how the actual-outout and expected-output files differ:
% od -x utf8-1.out
0000000 ffff b0d0 ff20 00ff
% od -x utf8-1.good
0000000 94d0 b0d0 d020 0094
% od -x utf8-2.good
0000000 94d0 b0d0 d020 0094
% od -x utf8-2.out
0000000 b4ff b0d0 ff20 00b4
% od -x utf8-3.good
0000000 94d0 b0d0 d020 00b4
% od -x utf8-3.out
0000000 b4ff b0d0 d020 00b4
% od -x utf8-4.good
0000000 94d0 90d0 d020 0094
% od -x utf8-4.out
0000000 ffff ffff ff20 00ff
I get those same errors on these boxes:
GNU/Linux AMD64 openSUSE 11.2
GNU/Linux Alpha Gentoo 1.12.13
GNU/Linux IA-32 Red Hat 5.6
GNU/Linux IA-64 Red Hat 5.6
GNU/Linux PowerPC32 Gentoo 1.12.13
GNU/Linux PowerPC64 Gentoo 1.12.13
GNU/Linux SPARC Gentoo 1.12.13
Changing the build environment on GNU/Linux AMD64 to restrict PATH to
just /bin:/usr/bin did not effect the outcome: the same four tests
fail.
Adding -m32 to do a 32-bit build on that box got the same four failures.
Changing from gcc to icc, opencc, pathcc, and suncc on GNU/Linux AMD64
got the same four failures in fresh builds in each case.
On MirBSD 10 i386, I get two failures in tests that differ from those
in the failing group above:
LC_ALL=C ../sed/sed -f ./mac-mf.sed \
< ./mac-mf.inp | LC_ALL=C tr -d \\r > mac-mf.out
../sed/sed: file ./mac-mf.sed line 152: unterminated `s' command
cmp ./mac-mf.good mac-mf.out
cmp: EOF on mac-mf.out
FAIL: mac-mf
LC_ALL=C sh ./bsd.sh ' ../sed/sed' bsd.out
LC_ALL=C tr -d \\r < bsd.out | cmp ./bsd.good -
./bsd.good stdin differ: char 11586, line 1271
FAIL: bsd
...
======================================
2 of 65 tests failed
Please report to address@hidden
======================================
Is anyone seeing similar test failures at other sites?
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
- [bug-gnu-utils] sed-4.2.1 test failures,
Nelson H. F. Beebe <=