GNU bug report logs - #6547
GNU coreutils 8.5 "make check" => tests/test-suite.log 8 of 365 tests failed

Previous Next

Package: coreutils;

Reported by: "Jost, Martin (NSN - DE/Munich)" <martin.jost <at> nsn.com>

Date: Thu, 1 Jul 2010 15:29:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: "Jost, Martin (NSN - DE/Munich)" <martin.jost <at> nsn.com>
Cc: 6547 <at> debbugs.gnu.org
Subject: bug#6547: GNU coreutils 8.5 "make check" => tests/test-suite.log 8	of 365 tests failed
Date: Tue, 06 Jul 2010 09:52:14 +0100
On 06/07/10 09:27, Jost, Martin (NSN - DE/Munich) wrote:
> looks like  the patch is buggy.
> Now I get 
> 13 of 365 tests failed.  (54 tests were not run).

Oops sorry. I should have said the patch was against trunk.
If you're still interested in testing then you can add
the following to tests/test-lib.sh and try again.

cheers,
Pádraig.

retry_delay_()
{
  local test_func=$1
  local init_delay=$2
  local max_n_tries=$3

  local attempt=1
  local num_sleeps=$attempt
  local time_fail
  while test $attempt -le $max_n_tries; do
    local delay=$($AWK -v n=$num_sleeps -v s="$init_delay" \
                  'BEGIN { for (i=0;i<n;i++) t = s" "t; print t }')
    "$test_func" "$delay" && { time_fail=0; break; } || time_fail=1
    attempt=$(expr $attempt + 1)
    num_sleeps=$(expr $num_sleeps '*' 2)
  done
  test "$time_fail" = 0
}




This bug report was last modified 14 years and 260 days ago.

Previous Next


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