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'