<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/split, 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-01T09:33:08Z</updated>
<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>doc: split -C: test and document a heap overflow</title>
<updated>2024-01-18T16:52:36Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-01-18T00:05:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c01ee1893448bdf1bbd81fa15a35472d07a356b8'/>
<id>urn:sha1:c01ee1893448bdf1bbd81fa15a35472d07a356b8</id>
<content type='text'>
This was introduced in coreutils 9.2 through commit v9.1-184-g40bf1591b,
and was fixed in coreutils 9.5 through commit v9.4-111-gc4c5ed8f4.
This issue has been assigned CVE-2024-0684.

* NEWS: Mention the bug fix.
* tests/split/line-bytes.sh: Add a test case.
Reported by Valentin Metz.
</content>
</entry>
<entry>
<title>tests: make ulimit -v interact better with ASAN</title>
<updated>2024-01-17T23:59:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-01-17T23:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=aa50ea55ea68aa5f5475bf46357bcf5febcde1bb'/>
<id>urn:sha1:aa50ea55ea68aa5f5475bf46357bcf5febcde1bb</id>
<content type='text'>
ulimit -v is generally not supported with ASAN, giving errors like:
  "ReserveShadowMemoryRange failed while trying to map 0x... bytes.
   Perhaps you're using ulimit -v"

* tests/cp/link-heap.sh: Mention ASAN as a possible reason for skipping.
* tests/csplit/csplit-heap.sh: Likewise.
* tests/cut/cut-huge-range.sh: Likewise.
* tests/dd/no-allocate.sh: Likewise.
* tests/printf/printf-surprise.sh: Likewise.
* tests/rm/many-dir-entries-vs-OOM.sh: Likewise.
* tests/head/head-c.sh: Only skip the part of the test needing ulimit.
* tests/split/line-bytes.sh: Likewise.
</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>maint: comment spelling fix</title>
<updated>2023-08-19T15:45:17Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-08-19T15:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=27c76b83b44e0d6660dbe46ac86db43a0cecb59c'/>
<id>urn:sha1:27c76b83b44e0d6660dbe46ac86db43a0cecb59c</id>
<content type='text'>
* tests/split/l-chunk-root.sh: Fix recently introduced typo.
</content>
</entry>
<entry>
<title>tests: split: provide more isolated /tmp handling</title>
<updated>2023-07-18T22:11:24Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-07-18T11:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8fd50b86729a7f848c25b62086fcaf5332b5c2f0'/>
<id>urn:sha1:8fd50b86729a7f848c25b62086fcaf5332b5c2f0</id>
<content type='text'>
* tests/split/l-chunk.sh: Move the "expensive" portion to ...
* tests/split/l-chunk-root.sh: .. A new test split from l-chunk.sh
which uses an isolated TMPDIR, rather than exhausting /tmp,
as that gives false positive failures with some other coreutils tests
like tac-2-nonseekable.sh and shuf-reservoir.sh at least.
* tests/local.mk: Reference the new test.
</content>
</entry>
<entry>
<title>split: --additional-suffix: disallow trailing '/'</title>
<updated>2023-05-31T16:26:13Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-05-28T14:17:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0147288d20169113cdc7075c787c4dbb8c67187c'/>
<id>urn:sha1:0147288d20169113cdc7075c787c4dbb8c67187c</id>
<content type='text'>
Note mktemp --suffix has the same inconsistency,
but mktemp -d does support creating dirs
so probably best to leave that as is.

* src/split.c (main): Check for trailing /.
* tests/split/additional-suffix.sh: Augment the test.
Reported in https://bugs.debian.org/1036827
</content>
</entry>
<entry>
<title>tests: provide more info on DEBUG=yes</title>
<updated>2023-05-02T21:39:03Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-05-02T21:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7223651ad194a5868b58c1be6c7452fd3ca2f75a'/>
<id>urn:sha1:7223651ad194a5868b58c1be6c7452fd3ca2f75a</id>
<content type='text'>
* README: State that DEBUG=yes is particularly useful with perl tests.
* tests/split/l-chunk.sh: Use the more standard $DEBUG variable
rather than an internal $DEBUGGING variable.
</content>
</entry>
<entry>
<title>tests: more cases for read input diagnostics</title>
<updated>2023-04-26T15:20:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-26T15:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e1c5f2d71eb99bc3c73619eeb0b79c3d36b5a3b'/>
<id>urn:sha1:5e1c5f2d71eb99bc3c73619eeb0b79c3d36b5a3b</id>
<content type='text'>
* tests/misc/read-errors.sh: Exercise more modes of
various utilities for better read error coverage.
* tests/split/fail.sh: Remove part refactored into the above test.
</content>
</entry>
<entry>
<title>split: support split -n on larger pipe input</title>
<updated>2023-03-07T21:41:46Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2023-03-07T20:58:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bb9dbcbbfd5c3159f975f39336a33319c6c5df04'/>
<id>urn:sha1:bb9dbcbbfd5c3159f975f39336a33319c6c5df04</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add free-posix, tmpfile.
* src/split.c (copy_to_tmpfile): New function.
(input_file_size): Use it to split larger files when sizes cannot
easily be determined via fstat or lseek.  See Bug#61386#235.
* tests/split/l-chunk.sh: Mark tests of /dev/zero as
very expensive since they exhaust /tmp.
</content>
</entry>
</feed>
