<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc, branch v9.6</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.6</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-01-15T22:50:05Z</updated>
<entry>
<title>tests: misc/write-errors.sh: increase memory limit</title>
<updated>2025-01-15T22:50:05Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-15T22:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0bd149403d4378d3a049f3cc34780ac8d71551f7'/>
<id>urn:sha1:0bd149403d4378d3a049f3cc34780ac8d71551f7</id>
<content type='text'>
* tests/head/head-c.sh: Use a larger VM limit to avoid
mem allocation failures, which were seen on CheriBSD.
</content>
</entry>
<entry>
<title>tests: avoid slow ulimit -v behavior</title>
<updated>2025-01-15T17:07:13Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-15T15:13:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=61d4935802e706bd32387bf052b89286c754e2ae'/>
<id>urn:sha1:61d4935802e706bd32387bf052b89286c754e2ae</id>
<content type='text'>
* init.cfg (ulimit_supported_): skip_ if the ulimit -v
takes too long, which was seen with bash 5.2 on Solaris 11,
where fork() returned EAGAIN under memory constraints,
and bash retried for about 16 seconds.
(get_min_ulimit_v_): Break early if skipped.
* tests/misc/write-errors.sh: Be more conservative and
skip on failure to determine min ulimit.
</content>
</entry>
<entry>
<title>tests: make misc/write-errors.sh immune to default signal disposition</title>
<updated>2025-01-12T12:44:37Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-12T12:44:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e6a1f5a4b0b235a6dd9acf91ab1ae9289fb2ebe6'/>
<id>urn:sha1:e6a1f5a4b0b235a6dd9acf91ab1ae9289fb2ebe6</id>
<content type='text'>
* tests/misc/write-errors.sh: Reset SIGPIPE to the default (terminate)
disposition, so that the test doesn't erroneously fail due to an
ignored SIGPIPE in the test environment.
</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>numfmt: don't require a suffix with --from=iec-i</title>
<updated>2024-12-30T22:49:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-12-30T22:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6229ac946e6ee36158db1a592279671d79a9737a'/>
<id>urn:sha1:6229ac946e6ee36158db1a592279671d79a9737a</id>
<content type='text'>
* src/numfmt.c (simple_strtod_human): Only look for 'i'
after detecting a suffix.
* tests/misc/numfmt.pl: Add a test case.
* NEWS: Mention the bug fix.
Reported at https://bugs.debian.org/1091758
</content>
</entry>
<entry>
<title>kill: with -l,-t list signal 0</title>
<updated>2024-12-23T11:49:10Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-12-21T12:54:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7e5b6b6f076afd4e9bcf2507efb496c63c026363'/>
<id>urn:sha1:7e5b6b6f076afd4e9bcf2507efb496c63c026363</id>
<content type='text'>
The 0 (EXIT) signal is valid as input
(and useful to determine existence of a pid),
so list it along with other signals.

* doc/coreutils.texi (signal specifications): Document 0, "EXIT".
* src/kill.c (list_signals): Start loops at 0, not 1.
* tests/misc/kill.sh: Add a test case.
* NEWS: Mention the change in behavior.
</content>
</entry>
<entry>
<title>cksum: add support for --algorithm=crc32b</title>
<updated>2024-11-02T19:57:35Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-11-01T15:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a94929715c1c111cfab3b9f9875307aba59094d8'/>
<id>urn:sha1:a94929715c1c111cfab3b9f9875307aba59094d8</id>
<content type='text'>
  $ echo -n '123456789' | cksum --raw -a crc32b | basenc --base16
  CBF43926

* bootstrap.conf: Explicitly depend on the crc module.
* doc/coreutils.texi (cksum): Add "crc32b" as an argument to -a.
* src/cksum.c (crc32b_sum_stream): A new function similar to
crc_sum_stream, but which does not include the length in
the CRC calculation.
* src/cksum.h: Add crc32b_sum_stream prototype.
* src/digest.c: Add "crc32b" as an argument to -a.
* tests/cksum/cksum.sh: Refactor to test both crc and crc32b.
* tests/cksum/cksum-a.sh: Add "crc32b" case.
* tests/cksum/cksum-base64.pl: Likewise.
* tests/misc/read-errors.sh: Likewise.
* NEWS: Mention the new feature.
</content>
</entry>
<entry>
<title>tests: add fold(1) test for --bytes option</title>
<updated>2024-09-30T08:07:19Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2024-09-29T15:39:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4d62d46a417d6c3ee19a26c8c11a5a00db95256b'/>
<id>urn:sha1:4d62d46a417d6c3ee19a26c8c11a5a00db95256b</id>
<content type='text'>
Inspired by:
- https://access.redhat.com/solutions/3459791
- https://src.fedoraproject.org/rpms/coreutils/c/8080f5a15a20362c

* tests/misc/fold.pl (bw1, bw2): Add tests for 'fold -b'.
</content>
</entry>
<entry>
<title>tests: limit mem usage on potentially expensive test</title>
<updated>2024-08-04T09:58:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-08-03T13:13:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1bb31793c29e9bac15df531d1e8ad13078be00c8'/>
<id>urn:sha1:1bb31793c29e9bac15df531d1e8ad13078be00c8</id>
<content type='text'>
* tests/misc/write-errors.sh: Limit mem usage if possible,
as some implementations may use unbounded memory for
the tests cases used here.
</content>
</entry>
<entry>
<title>tests: ensure utils support writing to a closed pipe</title>
<updated>2024-08-04T09:58:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-08-03T12:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=440b40eecea2e48335247e4670b770ee28eba5e0'/>
<id>urn:sha1:440b40eecea2e48335247e4670b770ee28eba5e0</id>
<content type='text'>
* tests/misc/write-errors.sh: A closed pipe is a common scenario,
and should not induce an error.  The general case is discussed at:
https://www.pixelbeat.org/programming/sigpipe_handling.html
</content>
</entry>
</feed>
