Chris Clayton wrote: > I've just built coreutils-8.2 and make check fails and asks for a report to > this mail address. > configure is run thusly: > > ./configure --prefix=/usr --disable-acl --disable-rpath --disable-nls > --disable-xattr ...
Thanks for the report. What type of system are you using? (uname -a) That failure means that your system's kernel lacks inotify support and that test failed to account for the possibility. Can you confirm that the patch below solves the problem? > FAIL: tail-2/wait (exit: 1) > =========================== > tail (GNU coreutils) 8.2 ... > tail: cannot open `not_here' for reading: No such file or directory > tail: inotify cannot be used, reverting to polling: Function not implemented > tail: no files remaining > + test 1 = 124 > + test '!' -r unreadable > + timeout 1 tail -s0.1 -f unreadable > tail: cannot open `unreadable' for reading: Permission denied > tail: inotify cannot be used, reverting to polling: Function not implemented > tail: no files remaining > + test 1 = 124 > + timeout 1 tail -s0.1 -f here > + test 124 = 124 > + timeout 1 tail -s0.1 -F here > + test 124 = 124 > + test '!' -r unreadable > + timeout 1 tail -s0.1 -F unreadable > tail: cannot open `unreadable' for reading: Permission denied > tail: inotify cannot be used, reverting to polling: Function not implemented > + test 124 = 124 > + timeout 1 tail -s0.1 -F not_here > tail: cannot open `not_here' for reading: No such file or directory > tail: inotify cannot be used, reverting to polling: Function not implemented > + test 124 = 124 > + test -s tail.err > + fail=1 ... >From 75db742ff9b0242db693c7e98c6adee265872cd0 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Sat, 12 Dec 2009 14:44:46 +0100 Subject: [PATCH] tests: tail-without-inotify: avoid spurious test failure * tests/tail-2/wait: Account for the possibility that the kernel lacks inotify support. Reported by Chris Clayton. --- tests/tail-2/wait | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tests/tail-2/wait b/tests/tail-2/wait index 9392ade..bdc115a 100755 --- a/tests/tail-2/wait +++ b/tests/tail-2/wait @@ -54,7 +54,8 @@ for inotify in ---disable-inotify ''; do timeout 1 tail -s0.1 -F $inotify not_here test $? = 124 || fail=1 - + grep -v 'tail: inotify cannot be used, reverting to polling:' tail.err > x + mv x tail.err test -s tail.err && fail=1 :>tail.err -- 1.6.6.rc1.319.g9b57d
