Subject: bug#8669: closed (Re: bug#8669: tail-2 in coreutils 5.1.2 fails)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 13 May 2011 10:27:01 +0000

Your bug report

#8669: tail-2 in coreutils 5.1.2 fails

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
8669: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8669
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#8669: tail-2 in coreutils 5.1.2 fails
From: Jim Meyering <[email-masked]>
To: Philipp Thomas <[email-masked]>
Cc: [email-masked]
Date: Fri, 13 May 2011 12:26:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Subject: tail-2 in coreutils 5.1.2 fails
From: Philipp Thomas <[email-masked]>
To: [email-masked]
Date: Fri, 13 May 2011 11:46:23 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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 [email-masked]
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/usr/src/packages/BUILD/coreutils-5.2.1/tests/tail-2'