<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc/sort, branch v7.4</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.4</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-04-24T19:34:59Z</updated>
<entry>
<title>tests: avoid unusual (~1-in-20) failure of a new test</title>
<updated>2009-04-24T19:34:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-24T19:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b726914a4c1ea8f943359d9ad19a09d3ee606694'/>
<id>urn:sha1:b726914a4c1ea8f943359d9ad19a09d3ee606694</id>
<content type='text'>
* tests/misc/sort: Remove one of the generated tests.
363 remain in this file alone.
</content>
</entry>
<entry>
<title>sort -m: don't segfault when output file is also an input file</title>
<updated>2009-04-23T19:03:14Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-22T06:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=25eb4c69097ca4f5665b050cfa4247a19ffd8c55'/>
<id>urn:sha1:25eb4c69097ca4f5665b050cfa4247a19ffd8c55</id>
<content type='text'>
* src/sort.c (avoid_trashing_input): Fix an off-by-one error and
guard the use of memmove.
* NEWS (Bug fixes): Mention it.
* tests/misc/sort: Add tests to exercise the offending code.
* THANKS: Update.
Reported by Otavio Salvador in http://bugs.debian.org/525048.
</content>
</entry>
<entry>
<title>tests: sort: Check skipping blanks in multibyte locales</title>
<updated>2009-02-28T01:09:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-02-27T08:40:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=eb1e30c213d0ee80347e581f21da30e8084b238c'/>
<id>urn:sha1:eb1e30c213d0ee80347e581f21da30e8084b238c</id>
<content type='text'>
* tests/misc/sort: On Fedora 8 at least, sort -k1b,1
mishandles blanks in multibyte locales, so add test.
</content>
</entry>
<entry>
<title>sort: Fix two bugs with determining the end of field</title>
<updated>2009-02-26T14:40:28Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-02-24T08:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=224a69b56b716f57e3a018af5a9b9379f32da3fc'/>
<id>urn:sha1:224a69b56b716f57e3a018af5a9b9379f32da3fc</id>
<content type='text'>
* src/sort.c: When no specific number of chars to skip
is specified for the end field, always skip the whole field.
Also never include leading spaces from next field.
* tests/misc/sort: Add 2 new tests for these cases.
* NEWS: Mention this bug fix.
* THANKS: Add bug reporter.
Reported by Davide Canova.
</content>
</entry>
<entry>
<title>tests: refactor to use the new getlimits utility</title>
<updated>2009-01-03T15:10:42Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2008-12-12T10:25:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=99be9078383e7fc95bf84b42ea6a0e50afbe6ff4'/>
<id>urn:sha1:99be9078383e7fc95bf84b42ea6a0e50afbe6ff4</id>
<content type='text'>
* tests/Coreutils.pm: Add function to make limits available
* tests/test-lib.sh: ditto
* tests/misc/join: Check for both SIZE_OFLOW and UINTMAX_OFLOW
rather than using arbitrary 2^128
* tests/misc/sort: ditto
* tests/misc/uniq: ditto
* tests/misc/printf: Check for both INT_OFLOW and INT_UFLOW
rather than using arbitrary -2^31
* tests/misc/seq-long-double: Check for INTMAX_OFLOW
rather than using arbitrary 2^63
* tests/misc/split-fail: Check --lines --bytes and --line-bytes
options limits on all platforms. Note getlimits obviates the
need to use expr to check if 32 bit integers are supported,
which I think was invalid anyway as expr now supports bignum?
* tests/misc/test: Check for UINTMAX_OFLOW rather than
using arbitrary 2^64 and 2^128. Check for INTMAX_UFLOW
rather than using arbitrary -2^64
* tests/misc/timeout-parameters: Check for UINT_OFLOW
rather than using arbitrary 2^32
* tests/misc/truncate-overflow: Don't depend on truncate
to determine if we're on a 32 or 64 bit platform and
instead use the various OFF_T limits
* tests/misc/sort-merge: Check for UINTMAX_OFLOW
rather than using arbitrary 2^64+1
* tests/misc/unexpand: ditto
</content>
</entry>
<entry>
<title>tests: remove ugly /bin/sh wrapper around each perl-based test script</title>
<updated>2008-05-17T06:27:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-05-14T07:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1081bbc74e48010700783a9bb82a4657d1d02bd2'/>
<id>urn:sha1:1081bbc74e48010700783a9bb82a4657d1d02bd2</id>
<content type='text'>
* tests/check.mk (TESTS_ENVIRONMENT): Save and restore TMPDIR around
envvar-check, so that the few scripts that require $TMPDIR don't fail.
This is also good to let a user's default TMPDIR setting be used e.g.,
in the search for an 'other-partition'.
FIXME: this is pretty ugly.  maybe undo it and find a better way.
(TESTS_ENVIRONMENT): Invoke perl scripts with $(PERL), and use -T
if the script requires that.  Otherwise, use $(SHELL).

* tests/misc/md5sum-newline: Create a file whose name contains
a newline in Perl (resort to using "system", since open refuses).

Fix old brokenness exposed by this change:
* tests/du/files0-from: Correct test not to rely on stdin
being attached to a non-tty.
* tests/misc/sort (3g, 3h, 3i): Likewise: add explicit empty input file.
Avoid warnings about using qw()-around-commas.

* tests/rm/fail-eperm: Now that this test is run from a temporary
subdirectory, adjust the full name of the "rm" program we're going
to run.

Change #!/bin/sh to #!/usr/bin/perl, and factor out the few lines
of boilerplate code to invoke perl.  Do not "require 5.00x";
a configure-time Perl test handles that
* tests/dd/skip-seek:
* tests/misc/base64:
* tests/misc/basename:
* tests/misc/cut:
* tests/misc/date:
* tests/misc/dircolors:
* tests/misc/dirname:
* tests/misc/expand:
* tests/misc/expr:
* tests/misc/factor:
* tests/misc/fmt:
* tests/misc/fold:
* tests/misc/head:
* tests/misc/head-elide-tail:
* tests/misc/join:
* tests/misc/ls-misc:
* tests/misc/md5sum:
* tests/misc/md5sum-newline:
* tests/misc/mktemp:
* tests/misc/od:
* tests/misc/paste:
* tests/misc/pr:
* tests/misc/printf-cov:
* tests/misc/seq:
* tests/misc/sha1sum:
* tests/misc/sha1sum-vec:
* tests/misc/sha224sum:
* tests/misc/sha256sum:
* tests/misc/sha384sum:
* tests/misc/sha512sum:
* tests/misc/sort-merge:
* tests/misc/stat-printf:
* tests/misc/sum:
* tests/misc/tac:
* tests/misc/tail:
* tests/misc/test:
* tests/misc/test-diag:
* tests/misc/tr:
* tests/misc/tsort:
* tests/misc/tty-eof:
* tests/misc/unexpand:
* tests/misc/uniq:
* tests/misc/wc:
* tests/misc/wc-files0-from:
* tests/misc/xstrtol:
* tests/mv/i-1:
* tests/pr/pr-tests:
* tests/rm/empty-name:
* tests/rm/fail-eperm:
* tests/rm/unreadable:
</content>
</entry>
<entry>
<title>tests: remove directory, tests/sort/</title>
<updated>2008-05-09T06:11:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-05-09T06:04:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=15b0d75930187b5f9416160dd1b1df1a5fb567d8'/>
<id>urn:sha1:15b0d75930187b5f9416160dd1b1df1a5fb567d8</id>
<content type='text'>
* configure.ac (AC_CONFIG_FILES): Remove tests/sort/Makefile.
* tests/Makefile.am (SUBDIRS): Remove sort.
* tests/misc/sort: New file, with tests from...
* tests/sort/Test.pm: ...here.  Remove file.
</content>
</entry>
<entry>
<title>Rename file to avoid bugs with VPATH builds and Solaris 'make'.</title>
<updated>2006-06-05T20:05:00Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-06-05T20:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=856e93df7667578d7a425e1ab6da71c113954f97'/>
<id>urn:sha1:856e93df7667578d7a425e1ab6da71c113954f97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Renamed Fetish package to Coreutils.</title>
<updated>2005-04-20T07:54:54Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-04-20T07:54:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9118673ca3eec90294a52aa15cc2383bda235560'/>
<id>urn:sha1:9118673ca3eec90294a52aa15cc2383bda235560</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run $PERL to see if it is available, rather than testing its value.</title>
<updated>2003-04-08T10:55:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-04-08T10:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c54ba76168aa7519087d32f9c8f0b739a6420b4b'/>
<id>urn:sha1:c54ba76168aa7519087d32f9c8f0b739a6420b4b</id>
<content type='text'>
</content>
</entry>
</feed>
