GNU bug report logs - #8669
tail-2 in coreutils 5.1.2 fails

Previous Next

Package: coreutils;

Reported by: Philipp Thomas <pth <at> suse.de>

Date: Fri, 13 May 2011 09:47:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Meyering <jim <at> meyering.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#8669: closed (tail-2 in coreutils 5.1.2 fails)
Date: Fri, 13 May 2011 10:27:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 13 May 2011 12:26:25 +0200
with message-id <87y62alwvi.fsf <at> rho.meyering.net>
and subject line Re: bug#8669: tail-2 in coreutils 5.1.2 fails
has caused the GNU bug report #8669,
regarding tail-2 in coreutils 5.1.2 fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
8669: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8669
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Philipp Thomas <pth <at> suse.de>
To: bug-coreutils <at> gnu.org
Subject: tail-2 in coreutils 5.1.2 fails
Date: Fri, 13 May 2011 11:46:23 +0200
While building coreutils 5.1.2 (SUSE SLES9) tail-2 fails with the output
below and I can't quite make out what the test is doing and whether I should
investigate.  Can anybody help?

Philipp

+ tmp=tail-as2.17851
++ pwd
+ pwd=/usr/src/packages/BUILD/coreutils-5.2.1/tests/tail-2
+ trap 'cd /usr/src/packages/BUILD/coreutils-5.2.1/tests/tail-2; rm -rf
tail-as2.17851' 0 1 2 3 15
+ test_failure=0
+ mkdir tail-as2.17851
+ cd tail-as2.17851
+ test 0 = 1
+ ok=ok ok ok
+ touch a
+ tail_pid=17869
+ tail --follow=name a foo
+ echo ok ok ok
+ sleep 12
+ echo sleeping for 7 seconds...
sleeping for 7 seconds...
+ sleep 7
+ mv f foo
+ wait
+ kill 17869
[1]-  Terminated              tail --follow=name a foo >err 2>&1
++ cat err
+ fail=0
+ test 0 = 1
+ exit 0
+ cd /usr/src/packages/BUILD/coreutils-5.2.1/tests/tail-2
+ rm -rf tail-as2.17851
PASS: assert-2
======================================
1 of 5 tests failed
(1 tests were not run)
Please report to bug-coreutils <at> gnu.org
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/usr/src/packages/BUILD/coreutils-5.2.1/tests/tail-2'


[Message part 3 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Philipp Thomas <pth <at> suse.de>
Cc: 8669-done <at> debbugs.gnu.org
Subject: Re: bug#8669: tail-2 in coreutils 5.1.2 fails
Date: Fri, 13 May 2011 12:26:25 +0200
Philipp Thomas wrote:
> While building coreutils 5.1.2 (SUSE SLES9) tail-2 fails with the output
> below and I can't quite make out what the test is doing and whether I should
> investigate.  Can anybody help?

...
> + exit 0
> + cd /usr/src/packages/BUILD/coreutils-5.2.1/tests/tail-2
> + rm -rf tail-as2.17851
> PASS: assert-2
> ======================================
> 1 of 5 tests failed

Thanks, but without knowing more, I can't help.
You've shown the verbose output of only the final test,
and it happened to pass.

For the failing test, usually there's a good hint or two
in the vicinity of a "fail=1" assignment.

Since coreutils-5.1.2 is so old, I'm already marking this "bug"
as "done", but you're welcome to continue discussion, and
if it's a bug that affects the latest, I'll happily reopen it.


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

Previous Next


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