<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc, branch v8.18</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.18</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2012-08-06T14:02:28Z</updated>
<entry>
<title>tests: printf-surprise: avoid unwarranted failure on FreeBSD 9.0</title>
<updated>2012-08-06T14:02:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-05T14:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=47583adceda8c9ad5f52805b7af3683179e0b4a6'/>
<id>urn:sha1:47583adceda8c9ad5f52805b7af3683179e0b4a6</id>
<content type='text'>
* tests/misc/printf-surprise: A VM size of 10,000KiB was too
little in which to run "env printf ..." on FreeBSD 9.0-p3.
Increase it to 15,000.
</content>
</entry>
<entry>
<title>tests: add a test for a previously fixed output format bug in join</title>
<updated>2012-07-23T08:54:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-23T08:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d75e93cb76c504e766e317ea0891285e4510ae67'/>
<id>urn:sha1:d75e93cb76c504e766e317ea0891285e4510ae67</id>
<content type='text'>
Add a test and NEWS entry for a bug inadvertently fixed in
a refactoring in commit v8.9-32-gd4db0cb

* tests/misc/join (v2-format): Add a new test.
* THANKS.in: Add the reporter.
* NEWS: Mention the old bug.
* cfg.mk (old_NEWS_hash): Update.

Reported-by: Jean-Pierre Tosoni
</content>
</entry>
<entry>
<title>maint: move two df tests from tests/misc to tests/df</title>
<updated>2012-07-16T01:51:41Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-16T01:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2f90a1b19161d4924c251dce9cf5ff8a6d4c1d13'/>
<id>urn:sha1:2f90a1b19161d4924c251dce9cf5ff8a6d4c1d13</id>
<content type='text'>
* test/Makefile.am: Reference the moved tests.
</content>
</entry>
<entry>
<title>tests: sort-merge-fdlimit: reduce the limit by one</title>
<updated>2012-07-06T09:41:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-04T10:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d569dbe5871d69063bdd05a42d5b3b7bfc233cfd'/>
<id>urn:sha1:d569dbe5871d69063bdd05a42d5b3b7bfc233cfd</id>
<content type='text'>
* tests/misc/sort-merge-fdlimit: As a consequence of commit
v8.17-34-g59daf05, we can reduce the descriptor limit by one.
</content>
</entry>
<entry>
<title>date: fails to diagnose invalid input</title>
<updated>2012-07-04T11:32:24Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-07-04T11:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc322ddd16607c0c8e978e5003008344e2710ec9'/>
<id>urn:sha1:cc322ddd16607c0c8e978e5003008344e2710ec9</id>
<content type='text'>
date -d "$(printf '\xb0')" would print 00:00:00 with today's date
rather than diagnosing the invalid input.  Now it reports this:
date: invalid date '\260'
* gnulib: Update submodule to latest for fixed parse-datetime.y.
* tests/misc/date [invalid-high-bit-set]: New test.
* NEWS (Bug fixes): Mention it.
* bootstrap, tests/init.sh: Also update to latest.
Reported by Peter Evans in http://bugs.gnu.org/11843
</content>
</entry>
<entry>
<title>sort: avoid redundant processing with inaccessible inputs or output</title>
<updated>2012-07-02T19:14:29Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-01T00:14:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=44fbd3fd862e34d42006f8b74cb11c9c56346417'/>
<id>urn:sha1:44fbd3fd862e34d42006f8b74cb11c9c56346417</id>
<content type='text'>
* src/sort.c (check_inputs): A new function to verify all inputs
are accessible before further processing.
(check_output): A new function to open or create a specified
output file, before futher processing.
(stream_open): Adjust to truncating the previously opened
output file rather than opening directly.
(avoid_trashing_input): Optimize to stat the output file
descriptor, rather than the file name.
(main): Call the new functions to check accessibility of
inputs and output, before processing starts.
* tests/misc/sort: Adjust to the changed error message.
* tests/misc/sort-merge-fdlimit: Account for the earlier opened
file descriptor of the specified output file.
* tests/misc/sort-exit-early: A new test to exercise the improvements.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the improvement.

Suggested-by: Bernhard Voelker
</content>
</entry>
<entry>
<title>maint: remove su testing artifact</title>
<updated>2012-06-10T20:22:39Z</updated>
<author>
<name>Sami Kerola</name>
<email>kerolasa@iki.fi</email>
</author>
<published>2012-06-09T20:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=07595ed8567368ca7857df974e1d8209716e7ec1'/>
<id>urn:sha1:07595ed8567368ca7857df974e1d8209716e7ec1</id>
<content type='text'>
* tests/misc/help-version: Remove expected su exit code.
</content>
</entry>
<entry>
<title>build: update gnulib to latest; correct comment grammar</title>
<updated>2012-06-10T20:02:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-05-24T10:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f378f1c51cf4784ec0b0f0e7233319924e1283b2'/>
<id>urn:sha1:f378f1c51cf4784ec0b0f0e7233319924e1283b2</id>
<content type='text'>
* tests/misc/help-version: Fix comment grammar:
s/all these/all of these/
* gl/lib/tempname.c.diff: Likewise.
</content>
</entry>
<entry>
<title>su: remove program (util-linux is now the best source for it)</title>
<updated>2012-06-06T20:33:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-05-25T16:10:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4'/>
<id>urn:sha1:928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4</id>
<content type='text'>
* README: Omit "su" from list of programs.
* src/su.c: Remove file.
* src/Makefile.am: Remove su-related rules and variables.
* tests/misc/su-fail: Remove test.
* tests/Makefile.am (TESTS): Remove misc/su-fail.
* tests/misc/invalid-opt: Remove su-related code.
* src/.gitignore: Remove su.
* man/su.x: Remove file.
* man/Makefile.am (su.1): Remove rule.
* po/POTFILES.in: Remove su.c from the list.
* TODO: Remove ancient entry.
* NEWS (Changes in behavior): Mention it.
* doc/coreutils.texi: Remove su-related description.
* AUTHORS: Remove su.
* m4/lib-check.m4 (cu_LIB_CHECK): Remove file/macro.
* configure.ac: Remove su-related code and sole use of cu_LIB_CHECK.
* scripts/git-hooks/commit-msg: Remove su from this list, too.
</content>
</entry>
<entry>
<title>head: with --lines=-N (-n-N) reset file pointer on seekable input</title>
<updated>2012-06-05T17:55:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-06-05T10:24:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=295ee521bc1a4f473ee8b7b5a4be32c5b5c7386f'/>
<id>urn:sha1:295ee521bc1a4f473ee8b7b5a4be32c5b5c7386f</id>
<content type='text'>
* src/head.c (elide_tail_lines_seekable): Reset file pointer
after printing up to an end-relative line-counted offset.
Anoop Sharma reported the problem and suggested the fix.
* tests/misc/head-pos: Add coverage via a very similar, existing test.
Also add coverage for a previously untested block of code.
* tests/misc/head-elide-tail ($READ_BUFSIZE): Update to 8192, to
match the value of BUFSIZ I see today on Fedora 17/x86_64 (unrelated
to this fix).
* NEWS (Bug fixes): Mention it.

Improved-by: Pádraig Brady
</content>
</entry>
</feed>
