<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/tail, branch v9.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-09-21T12:45:54Z</updated>
<entry>
<title>tests: tail: avoid false failure with overlayfs</title>
<updated>2025-09-21T12:45:54Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-21T12:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=076e24741685d0041d81f53fd32dc7f5878b22a9'/>
<id>urn:sha1:076e24741685d0041d81f53fd32dc7f5878b22a9</id>
<content type='text'>
* tests/tail/inotify-dir-recreate.sh: Add an extra check
that inotify is in use, as it's required for this test.
Inotify is avoided with overlayfs for which the
df --local check is not sufficient exclusion for.
</content>
</entry>
<entry>
<title>tests: tail/overlay-headers.sh: protect against hang</title>
<updated>2025-09-18T18:04:57Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-18T18:04:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4ca51b101358f7dbd6b38564cfd6eee9937b2b2f'/>
<id>urn:sha1:4ca51b101358f7dbd6b38564cfd6eee9937b2b2f</id>
<content type='text'>
* tests/tail/overlay-headers.sh: Protect tail invocation with timeout,
and extend the possible running period to 60 seconds like other tests.
Reported by Brudno Haible on T2SDE Linux/alpha
</content>
</entry>
<entry>
<title>tests: tests/tail/wait.sh: protect against hang</title>
<updated>2025-09-18T16:47:45Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-18T16:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0a2a3deb33f6c6423cd97100becaa46df9cef30a'/>
<id>urn:sha1:0a2a3deb33f6c6423cd97100becaa46df9cef30a</id>
<content type='text'>
* tests/tail/wait.sh: This test was seen to hang occasionally
on an Alpine Linux 3.20 system, so protect the tail(1) call
with `timeout 60` as done in similar tests.
Reported by Bruno Haible.
</content>
</entry>
<entry>
<title>maint: use short form bug URLs</title>
<updated>2025-08-12T16:50:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-08-12T13:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2543c0052c9be0e53c529f6be90b861ac99a092b'/>
<id>urn:sha1:2543c0052c9be0e53c529f6be90b861ac99a092b</id>
<content type='text'>
* cfg.mk (sc_prohibit-long-form-bug-urls): Disallow long form in code.
* scripts/git-hooks/commit-msg: Disallow long form in commit messages.
* NEWS: Shorten long urls.
* bootstrap.conf: Likewise.
* configure.ac: Likewise.
* scripts/git-hooks/commit-msg: Likewise.
* src/csplit.c: Likewise.
* src/fmt.c: Likewise.
* src/make-prime-list.c: Likewise.
* src/nohup.c: Likewise.
* tests/od/od-float.sh: Likewise.
* tests/rm/r-root.sh: Likewise.
* tests/tail/inotify-race.sh: Likewise.
* tests/tail/inotify-race2.sh: Likewise.
</content>
</entry>
<entry>
<title>tail: refactor to skip stat call on failure</title>
<updated>2025-08-04T02:48:05Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-07-29T15:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=09fc945b374d256869615591171d744462e20c6e'/>
<id>urn:sha1:09fc945b374d256869615591171d744462e20c6e</id>
<content type='text'>
* src/tail.c (tail_bytes): New function.
(tail_bytes, tail_lines, tail): Accept struct stat pointer from
caller instead of calling fstat ourselves.  All callers changed.
(tail_file): Skip a call to fstat if fstat already failed.
* tests/tail/follow-stdin.sh: Adjust to match new behavior
on failure, which omits a redundant diagnostic.
</content>
</entry>
<entry>
<title>tail: allow &gt;=2**64 in traditional form</title>
<updated>2025-08-04T02:48:04Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-07-28T18:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6439858056d9bc9dd7411df583e60854ace41d17'/>
<id>urn:sha1:6439858056d9bc9dd7411df583e60854ace41d17</id>
<content type='text'>
This better matches the treatment of POSIX form,
e.g., ‘tail +Nc’ is now like ‘tail -c +N’ even when N is large.
* src/tail.c: Don’t include xstrtol.h.
(parse_obsolete_option): Treat numbers greater than UINTMAX_MAX as
if they are UINTMAX_MAX.  Parse the number by hand with saturating
arithmetic; nowadays that’s simpler than using xstrtoumax.  There
is no need for a diagnostic now, as the error cannot happen any more.
* tests/tail/tail.pl (obs-plus-c3): New test.
</content>
</entry>
<entry>
<title>tests: tail-c.sh: avoid failure on Linux kernels &lt;= 2</title>
<updated>2025-01-16T21:05:34Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-16T21:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=700690ebc35e2afdee06100d83427c45b6e87a4c'/>
<id>urn:sha1:700690ebc35e2afdee06100d83427c45b6e87a4c</id>
<content type='text'>
tests/tail/tail-c.sh: Exclude older kernels from timeout failure.
</content>
</entry>
<entry>
<title>tests: tail: avoid failure on Solaris 11</title>
<updated>2025-01-15T12:07:52Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-14T21:14:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1555bcec6aae06df01a52d3656e8ca35e7dea938'/>
<id>urn:sha1:1555bcec6aae06df01a52d3656e8ca35e7dea938</id>
<content type='text'>
* tests/tail/tail-c.sh: On Solaris 11, tail -c 4096 /dev/urandom,
will induce an lseek(,-4096,SEEK_END) which returns -4096 without
setting errno, and a subsequent read() then gives EINVAL.
Since tailing the end of a psuedo device is an edge case,
we just verify that we don't spin reading the device forever.
</content>
</entry>
<entry>
<title>tail: honor --pid with fifos</title>
<updated>2025-01-08T12:11:43Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-10-18T12:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=177fcec66d50b7e7ee351aad417a0bd9e0eb4673'/>
<id>urn:sha1:177fcec66d50b7e7ee351aad417a0bd9e0eb4673</id>
<content type='text'>
* src/tail.c (tail_file): Open files with O_NONBLOCK
if we might need async processing.
(pipe_bytes): Ignore EAGAIN read() errors.
(pipe_lines): Likewise.
* tests/tail/pid-pipe.sh: Add a new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug fix.
Reported by Berhard Voelker.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2025-01-01T09:33:08Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-01T09:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=28b176085f04a6227d7fadd28a129b5cb02dfbf5'/>
<id>urn:sha1:28b176085f04a6227d7fadd28a129b5cb02dfbf5</id>
<content type='text'>
Update to latest gnulib with new copyright year.
Run "make update-copyright" and then...

* gnulib: Update included in this commit as copyright years
are the only change from the previous gnulib commit.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
</feed>
