bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coreutils testsuite failures


From: Andreas Schwab
Subject: Coreutils testsuite failures
Date: Mon, 31 Jul 2006 11:04:44 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Every now and then the tail-2/assert and tail-2/assert-2 tests fail.  Here
is an example for a failure of the first one:

+ tail --version
tail (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering.
+ tmp=tail-assert.20801
++ pwd
+ pwd=/usr/src/packages/BUILD/coreutils-5.97/tests/tail-2
+ trap 'cd /usr/src/packages/BUILD/coreutils-5.97/tests/tail-2; rm -rf 
tail-assert.20801' 0 1 2 3 15
+ test_failure=0
+ mkdir tail-assert.20801
+ cd tail-assert.20801
+ test 0 = 1
+ ok='ok ok ok'
+ touch a foo
+ tail --follow=name a foo
+ tail_pid=20806
+ echo sleeping for 7 seconds...
+ sleep 12
sleeping for 7 seconds...
+ sleep 1
+ rm -f foo
+ sleep 6
+ echo ok ok ok
+ mv f foo
+ wait
+ kill 20806
+ case "`cat err`" in
++ cat err
+ fail=1
+ test 1 = 1
+ cat err
==> a <==

==> foo <==
tail: foo: No such file or directory
+ exit 1
+ cd /usr/src/packages/BUILD/coreutils-5.97/tests/tail-2
+ rm -rf tail-assert.20801
FAIL: assert

The assert-2 failure looks similar, but I don't have a full log any more.
It looks like the tests have serious race conditions.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]