<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/sort, 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-08-06T01:46:04Z</updated>
<entry>
<title>maint: use consistent references to standard files in messages</title>
<updated>2025-08-06T01:46:04Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2025-08-06T01:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c9a30d67814f4b7daac7cdd33b69822ce5313d48'/>
<id>urn:sha1:c9a30d67814f4b7daac7cdd33b69822ce5313d48</id>
<content type='text'>
* cfg.mk (sc_standard_outputs): Add a grep command for source files.
* src/du.c (main): Use standard input instead of stdin, standard output
instead of stdout, and standard error instead of stderr in messages.
* src/nohup.c (main): Likewise.
* src/sort.c (main): Likewise.
* src/split.c (main): Likewise.
* src/stdbuf.c (main): Likewise.
* src/wc.c (main): Likewise.
* tests/du/files0-from.pl (@Tests): Adjust test case to new messages.
* tests/sort/sort-files0-from.pl: Likewise.
* tests/wc/wc-files0-from.pl: Likewise.
</content>
</entry>
<entry>
<title>tests: sort: add a test for equivalent floats</title>
<updated>2025-07-12T18:58:06Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-07-12T18:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=083f89528ed77d91fd780c5fc81652aef319934b'/>
<id>urn:sha1:083f89528ed77d91fd780c5fc81652aef319934b</id>
<content type='text'>
* tests/sort/sort-float.sh: Ensure equivalent floats
are treated as such.
</content>
</entry>
<entry>
<title>tests: fix fraction comparison in sort-float</title>
<updated>2025-07-11T21:45:04Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-07-11T21:43:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3a9ec02138984004719c02da8d3e13665215049f'/>
<id>urn:sha1:3a9ec02138984004719c02da8d3e13665215049f</id>
<content type='text'>
Problem reported by Cosima Neidahl &lt;https://bugs.gnu.org/78985#13&gt;.
* tests/sort/sort-float.sh: At top level, use C locale at first.
(dbl_minima_order): Assume C locale.
Use string comparison for the fractional parts.

2025-07-10  Paul Eggert  &lt;eggert@cs.ucla.edu&gt;

tests: fix integer overflow in sort-float
Problem reported by Cosima Neidahl &lt;https://bugs.gnu.org/78985&gt;.
* tests/sort/sort-float.sh (dbl_minima_order):
Use expr instead of test, to avoid problems with integers
too large for the shell.
</content>
</entry>
<entry>
<title>tests: fix integer overflow in sort-float</title>
<updated>2025-07-10T17:18:06Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-07-10T17:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8f9fc8f08c10c3b097211f95c6354a85d41f1101'/>
<id>urn:sha1:8f9fc8f08c10c3b097211f95c6354a85d41f1101</id>
<content type='text'>
Problem reported by Cosima Neidahl &lt;https://bugs.gnu.org/78985&gt;.
* tests/sort/sort-float.sh (dbl_minima_order):
Use expr instead of test to compare fractions,
to avoid problems with integers too large for the shell.
</content>
</entry>
<entry>
<title>tests: sort: expand multiple output testing</title>
<updated>2025-05-28T20:11:34Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-05-28T19:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=21a662b1ee23bbcb2c7eb48a8e3abe745187d19a'/>
<id>urn:sha1:21a662b1ee23bbcb2c7eb48a8e3abe745187d19a</id>
<content type='text'>
* tests/sort/sort.pl: Ensure duplicate
output strings are supported.
</content>
</entry>
<entry>
<title>sort: fix buffer under-read (CWE-127)</title>
<updated>2025-05-20T18:36:00Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-05-20T15:03:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8c9602e3a145e9596dc1a63c6ed67865814b6633'/>
<id>urn:sha1:8c9602e3a145e9596dc1a63c6ed67865814b6633</id>
<content type='text'>
* src/sort.c (begfield): Check pointer adjustment
to avoid Out-of-range pointer offset (CWE-823).
(limfield): Likewise.
* tests/sort/sort-field-limit.sh: Add a new test,
which triggers with ASAN or Valgrind.
* tests/local.mk: Reference the new test.
* NEWS: Mention bug fix introduced in v7.2 (2009).
Fixes https://bugs.gnu.org/78507
</content>
</entry>
<entry>
<title>tests: fix false failure with multi-byte thousands separators</title>
<updated>2025-04-04T11:00:24Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-04-04T10:53:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9ed5770b5e86bd765c607bc9375f0db78acf4687'/>
<id>urn:sha1:9ed5770b5e86bd765c607bc9375f0db78acf4687</id>
<content type='text'>
* tests/sort/sort-h-thousands-sep.sh: sv_SE defaults to UTF-8
on macOS 18, so avoid the test for multi-byte separators.
Fixes https://bugs.gnu.org/77509
</content>
</entry>
<entry>
<title>sort: drop "note" from a --debug message</title>
<updated>2025-01-22T17:55:54Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-22T17:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fbfd886e595cf9b021fc9d8363760953a1d3e6ca'/>
<id>urn:sha1:fbfd886e595cf9b021fc9d8363760953a1d3e6ca</id>
<content type='text'>
* src/sort.c (key_warnings): Remove "note " from the start
of a usually informational message, as this simplifies translation.
* tests/sort/sort-debug-warn.sh": Adjust accordingly.
Fixes https://bugs.gnu.org/75763
</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>
<entry>
<title>tests: simplify treatment of the $LOCALE_FR_UTF8 variable</title>
<updated>2024-02-27T14:27:04Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-02-27T14:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=79c628901dbff7d4315658187fdff20c4f5e4ade'/>
<id>urn:sha1:79c628901dbff7d4315658187fdff20c4f5e4ade</id>
<content type='text'>
* tests/df/problematic-chars.sh: Rely on gnulib setting
this to "none" where not usable.
* tests/misc/sleep.sh: Likewise.
* tests/printf/printf-mb.sh: Likewise.
* tests/printf/printf-quote.sh: Likewise.
* tests/sort/sort-debug-keys.sh: Likewise.
</content>
</entry>
</feed>
