<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/tail-2, branch v8.4</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.4</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-01-13T12:42:49Z</updated>
<entry>
<title>tests: avoid spurious failures on older shells</title>
<updated>2010-01-13T12:42:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-01-13T12:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e55d8828111bf6f9ff0f419fe0045de6ecd1ecaa'/>
<id>urn:sha1:e55d8828111bf6f9ff0f419fe0045de6ecd1ecaa</id>
<content type='text'>
* tests/tail-2/inotify-hash-abuse: Use kill rather than wait
to determine if the tail process is still running.
* tests/tail-2/inotify-hash-abuse2: Ditto.
</content>
</entry>
<entry>
<title>maint: update all FSF copyright year lists to include 2010</title>
<updated>2010-01-01T13:06:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-01T09:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1aa17dc89b3f313697661541adca0aa0defbdc09'/>
<id>urn:sha1:1aa17dc89b3f313697661541adca0aa0defbdc09</id>
<content type='text'>
Use this command:
git ls-files | grep -v COPYING \
  | xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \
      build-aux/update-copyright
</content>
</entry>
<entry>
<title>tail: test for a bug in inotify-enabled tail -F</title>
<updated>2009-12-30T10:22:55Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-12-29T15:37:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fe062d563a09481162f5c11b154d047331708b7f'/>
<id>urn:sha1:fe062d563a09481162f5c11b154d047331708b7f</id>
<content type='text'>
tail -F a b would stop tracking additions to b after "mv a b".
* tests/tail-2/F-vs-rename: New file.
* tests/Makefile.am (TESTS): Add it.
</content>
</entry>
<entry>
<title>tail: add another test to exercise abort-inducing flaw in tail -F</title>
<updated>2009-12-29T16:01:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-12-29T12:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fd93fc3ef4947f4712a4bda08b6e11c0d6cdf48a'/>
<id>urn:sha1:fd93fc3ef4947f4712a4bda08b6e11c0d6cdf48a</id>
<content type='text'>
* tests/tail-2/inotify-hash-abuse2: New test, based on a reproducer
by Rob Wortman.
* tests/Makefile.am (TESTS): Add it.
</content>
</entry>
<entry>
<title>tail: add a test to exercise abort-inducing flaw in tail -F</title>
<updated>2009-12-29T16:01:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-12-28T14:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bd26efaaa3e251c4a1bed308ec5ee500ecfd7d25'/>
<id>urn:sha1:bd26efaaa3e251c4a1bed308ec5ee500ecfd7d25</id>
<content type='text'>
* tests/tail-2/inotify-hash-abuse: New file, derived from
a report by Rob Wortman.
* tests/Makefile.am (TESTS): Add it.
Improved by: Pádraig Brady.
</content>
</entry>
<entry>
<title>tests: tail-without-inotify: avoid spurious test failure</title>
<updated>2009-12-12T16:40:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-12-12T13:44:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d9ba88597409c6c3f89c2ab173369cc1ec26507d'/>
<id>urn:sha1:d9ba88597409c6c3f89c2ab173369cc1ec26507d</id>
<content type='text'>
* tests/tail-2/wait: Account for the possibility that the kernel
lacks inotify support.  Reported by Chris Clayton.
</content>
</entry>
<entry>
<title>tests: don't run tail-2/inotify-race by default</title>
<updated>2009-12-06T00:42:42Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-06T00:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=afd087d4140a40a1ff9db84be5bcb5c7c49084c8'/>
<id>urn:sha1:afd087d4140a40a1ff9db84be5bcb5c7c49084c8</id>
<content type='text'>
* tests/tail-2/inotify-race: Note the caveats of the test.
I.E. the intermittent skips and the gdb hang reported
by Alan Curry.  Add extra info to the log on why the test
is skipped as it may be due to multiple reasons.  Mark
the test as very expensive so that it's not normally run.
</content>
</entry>
<entry>
<title>tail -F can fail to track a file after it's been rotated</title>
<updated>2009-11-16T08:30:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-11-15T08:25:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b997a9bcb05198c880e5d1605a3c96c1d7f9c5d'/>
<id>urn:sha1:3b997a9bcb05198c880e5d1605a3c96c1d7f9c5d</id>
<content type='text'>
Tailing forever and by-name (--follow=name, -F), tail would
sometimes fail to follow a file that had been removed via rename.
If you can't apply this patch and have tail 7.6 or newer, you can
work around the bug via the undocumented --disable-inotify option.
* src/tail.c (tail_forever_inotify): When tailing by name (-F),
do not un-watch a file upon receipt of the IN_MOVE_SELF event.
Reported by Arjan Opmeer in http://bugs.debian.org/548439.
* NEWS (Bug fixes): Mention it.
Also see http://marc.info/?l=coreutils-bug&amp;m=125829031916515
* tests/Makefile.am (TESTS): Add tail-2/inotify-rotate.
* tests/tail-2/inotify-rotate: New test.
</content>
</entry>
<entry>
<title>tests: inotify-race: don't let malfunctioning gdb hang the test</title>
<updated>2009-11-03T13:14:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-10-31T10:54:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=87bf834dd36646f0e413c1afeb5d498079d1bb14'/>
<id>urn:sha1:87bf834dd36646f0e413c1afeb5d498079d1bb14</id>
<content type='text'>
* tests/tail-2/inotify-race: Apply timeout to each gdb invocation.
</content>
</entry>
<entry>
<title>tests: factor 350 fail=0 initializations into test-lib.sh</title>
<updated>2009-10-30T11:50:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-10-30T09:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3c88587b2eadee11413f4207abbbf13af07c438d'/>
<id>urn:sha1:3c88587b2eadee11413f4207abbbf13af07c438d</id>
<content type='text'>
Run this command to remove the factored-out "fail=0" lines.
perl -ni -e '/^fail=0$/ or print' $(g grep -l '^fail=0$')
* tests/test-lib.sh: Initialize fail=0 here, not in 300+ scripts.
* tests/...: nearly all bourne shell scripts
Suggested by Eric Blake.
</content>
</entry>
</feed>
