On 11/24/24 06:34, Gordon Steemson wrote:
Setup: Coreutils package, v. 9.5; Power Mac G5 running OS 10.5.8 (Darwin
9.8.0).
When running `make check`, I noticed the following two problems.
- tests/ls/dired.sh can’t cope with the underlying file system stealthily
applying normalization to the Unicode encoding, so I was presented with a
failed test and an error message complaining that “2á != 2á”.
- tests/misc/tee.sh seems to be missing a pipe. Without adding “ |” to the end
of line 99, the test freezes solid because it waits forever for input that will
never come. I'm baffled that it works for anyone else... perhaps some bizarre
quirk of shell syntax causes the output of one line to automagically become the
input of the next, if conditions are correct? The mechanism by which it is
somehow accidentally working for other people is beyond my knowledge of shell
scripting.
97 dd count=20 bs=100K if=/dev/zero status=none |
98 {
99 dd count=0 oflag=nonblock status=none
100 tee || { cleanup_; touch tee.fail; }
101 } >fifo
Both commands between the { ... }, i.e., dd(1) on line 99 and tee(1),
are consuming the input from the dd(1) command on line 97.
It seems to be working other than these. Several of the tests do deem
themselves inapplicable for reasons that don't appear to match reality, such as
tests/csplit/csplit-heap.sh believing that `ulimit -v` is absent when it is
present; but as those are not actual test _failures_, I am disinclined to spend
time digging into them unless someone specifically asks me to.
Gordon Steemson
Thanks for the reports, but please also provide the original testsuite.log as
'make check' instructs at the end of the output. We need it to analyze further.
Have a nice day,
Berny