<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc/write-errors.sh, branch v9.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.7'/>
<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>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>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2024-01-01T13:27:23Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-01-01T13:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a966dcdb69e2f49f2587e1b7d4ade7efcff29f40'/>
<id>urn:sha1:a966dcdb69e2f49f2587e1b7d4ade7efcff29f40</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: Manually update copyright year,
until we fully sync with gnulib at a later stage.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
<entry>
<title>join: promptly diagnose write errors</title>
<updated>2023-07-17T10:28:36Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-07-15T20:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=02a4ebd6c451d013ecc4a93a809416781fbaf6ab'/>
<id>urn:sha1:02a4ebd6c451d013ecc4a93a809416781fbaf6ab</id>
<content type='text'>
* src/join.c (prjoin): Check for write errors after each line.
* tests/misc/write-errors.sh: enable the test for join.
* NEWS: Mention the improvement.
</content>
</entry>
<entry>
<title>comm: promptly diagnose write errors</title>
<updated>2023-07-17T10:28:36Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-07-15T20:43:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b1df1d557eb8e3c40778a01af9cd972c80a19d95'/>
<id>urn:sha1:b1df1d557eb8e3c40778a01af9cd972c80a19d95</id>
<content type='text'>
* src/comm.c (writeline): Simplify by removing the unneeded STREAM
parameter.  Call write_error() upon ferror().
(compare_files): Adjust to simplified writeline().
* tests/misc/write-errors.sh: Enable comm test.
* NEWS: Mention the improvement.
</content>
</entry>
<entry>
<title>cut: promptly diagnose write errors</title>
<updated>2023-07-17T10:28:36Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-07-15T20:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e0a4a60af52e40e5ee5c7d5f1764150301d3dea9'/>
<id>urn:sha1:e0a4a60af52e40e5ee5c7d5f1764150301d3dea9</id>
<content type='text'>
* src/cut.c (cut_bytes): Diagnose errors from fwrite() and putchar().
(cut_fields): Likewise.
* tests/misc/write-errors.sh: Enable the test for cut,
and augment to cover both cut_bytes() and cut_fields().
* NEWS: Mention the improvement.
</content>
</entry>
</feed>
