tag 622182 patch thanks Hi,
This test failure was fixed upstream by changing tail to not display a diagnostic when reading from a pipe. The change can be found at http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8264fc615a1beb82e062949e5cf17c852fcfaaaf or attached to this message. -- Matt Kraai https://ftbfs.org/kraai
>From 8264fc615a1beb82e062949e5cf17c852fcfaaaf Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Mon, 24 Jan 2011 08:37:10 +0000 Subject: tail: avoid new diagnostic when applying -f to a pipe on linux-2.3.38 * src/tail.c (fremote): Do not print a diagnostic when fstatfs (pipe_FD, &buf) fails, as it now does on linux-2.3.38. This avoids the spurious failure of tests/misc/tail's f-pipe-1 test, when running in input-from-pipe mode. --- diff --git a/src/tail.c b/src/tail.c index 9682a53..bcd2d99 100644 --- a/src/tail.c +++ b/src/tail.c @@ -887,8 +887,11 @@ fremote (int fd, const char *name) int err = fstatfs (fd, &buf); if (err != 0) { - error (0, errno, _("cannot determine location of %s. " - "reverting to polling"), quote (name)); + /* On at least linux-2.6.38, fstatfs fails with ENOSYS when FD + is open on a pipe. Treat that like a remote file. */ + if (errno != ENOSYS) + error (0, errno, _("cannot determine location of %s. " + "reverting to polling"), quote (name)); } else { -- cgit v0.8.3.4