GNU bug report logs - #74503
Test issues in "make check"

Previous Next

Package: coreutils;

Reported by: Gordon Steemson <gsteemso <at> gmail.com>

Date: Sun, 24 Nov 2024 05:36:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 74503 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Gordon Steemson <gsteemso <at> gmail.com>, 74503 <at> debbugs.gnu.org
Subject: Re: bug#74503: Test issues in "make check"
Date: Sun, 24 Nov 2024 09:34:53 +0100
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






This bug report was last modified 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.