<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch v9.3</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.3</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2023-04-16T15:11:20Z</updated>
<entry>
<title>tests: avoid allocation checks on ZFS</title>
<updated>2023-04-16T15:11:20Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-15T21:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d81094dc7b239711253f14a18940efaeca2bed1e'/>
<id>urn:sha1:d81094dc7b239711253f14a18940efaeca2bed1e</id>
<content type='text'>
* tests/du/basic.sh: Allocation of files was seen to change
asynchronously on ZFS, so avoid allocation comparisons there.
</content>
</entry>
<entry>
<title>tests: tty-eof: fix various issues</title>
<updated>2023-04-13T23:02:22Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-11T12:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cf91b9d62cc936ae4942c1d5def0db448a2c8b25'/>
<id>urn:sha1:cf91b9d62cc936ae4942c1d5def0db448a2c8b25</id>
<content type='text'>
* tests/misc/tty-eof.pl: Ensure we don't erroneously
skip commands with parameters.
Comment as to why cut(1) is treated differently.
Adjust expect calls to not wait needlessly for cut output.
</content>
</entry>
<entry>
<title>tests: avoid dependence on file layout for cp sparse check</title>
<updated>2023-04-13T19:19:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-12T13:37:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=daa1e4f55702e03e9bcf06d2d0906652fb1619b0'/>
<id>urn:sha1:daa1e4f55702e03e9bcf06d2d0906652fb1619b0</id>
<content type='text'>
* tests/cp/sparse-2.sh: Don't depend on the copy taking
&lt;= allocation of the source.  Instead leverage --debug
to check that zero detection is being enabled.
</content>
</entry>
<entry>
<title>tests: avoid non portable brace expansion</title>
<updated>2023-04-10T17:54:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-10T17:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=09ded7049bfe11036452334b2128c65e208fd453'/>
<id>urn:sha1:09ded7049bfe11036452334b2128c65e208fd453</id>
<content type='text'>
* tests/cp/backup-dir.sh: Avoid non portable brace expansion
which is not supported by FreeBSD or Solaris shells at least.
</content>
</entry>
<entry>
<title>wc: ensure we update file offset</title>
<updated>2023-04-08T11:19:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-02-05T19:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ce630dfc7ef32ff7e35c627bd061a45ce9053d9d'/>
<id>urn:sha1:ce630dfc7ef32ff7e35c627bd061a45ce9053d9d</id>
<content type='text'>
* src/wc.c (wc): Update the offset when not reading,
and do read if we can't update the offset.
* tests/misc/wc-proc.sh: Add a test case.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/61300
</content>
</entry>
<entry>
<title>cp,mv: issue "skipped" messages when skipping files</title>
<updated>2023-04-08T11:11:58Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-07T09:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f6c21f6d3addb6461c41af612e73fbb15d21545f'/>
<id>urn:sha1:f6c21f6d3addb6461c41af612e73fbb15d21545f</id>
<content type='text'>
* NEWS: Mention the change in behavior to issue a "not replaced"
error diagnostic with -n, and the "skipped" message with -v.
* src/copy.c (copy_internal): Adjust to output the "skipped" messages
depending on -i, -n, -u.
* tests/cp/cp-i.sh: Adjust accordingly.
* tests/mv/mv-n.sh: Likewise.
</content>
</entry>
<entry>
<title>cp,mv: add --update=none to always skip existing files</title>
<updated>2023-04-08T11:11:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-01T15:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=db28af406f311ac8f78604cc5906613866aecef5'/>
<id>urn:sha1:db28af406f311ac8f78604cc5906613866aecef5</id>
<content type='text'>
Add --update=none which is equivalent to the --no-clobber behavior
from before coreutils 9.2.  I.e. existing files are unconditionally
skipped, and them not being replaced does not affect the exit status.

* src/copy.h [enum Update_type]: A new type to support parameters
to the --update command line option.
[enum Interactive]: Add I_ALWAYS_SKIP.
* src/copy.c: Treat I_ALWAYS_SKIP like I_ALWAYS_NO (-n),
except that we don't fail when skipping.
* src/system.h (emit_update_parameters_note): A new function
to output the description of the new --update parameters.
* src/cp.c (main): Parse --update arguments, ensuring that
-n takes precedence if specified.
(usage): Describe the new option.  Also allude that
-u is related in the -n description.
* src/mv.c: Accept the new --update parameters and
update usage() accordingly.
* doc/coreutils.texi (cp invocation): Describe the new --update
parameters.  Also reference --update from the --no-clobber description.
(mv invocation): Likewise.
* tests/mv/update.sh: Test the new parameters.
* NEWS: Mention the new feature.
Addresses https://bugs.gnu.org/62572
</content>
</entry>
<entry>
<title>cp: fix --backup with subdirectories</title>
<updated>2023-04-04T11:00:11Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-03T17:12:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5891d28edebe229f1a6057275e281b10c1f2247b'/>
<id>urn:sha1:5891d28edebe229f1a6057275e281b10c1f2247b</id>
<content type='text'>
* gnulib: Reference the latest gnulib including the
fix to the backupfile module in commit 94496522.
* tests/cp/backup-dir.sh: Add a test to ensure
we rename appropriately when backing up through subdirs.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/62607
</content>
</entry>
<entry>
<title>tests: tee: avoid false failure due to fifo usage</title>
<updated>2023-03-31T10:58:53Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-30T14:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=17c31a73f13ad320746e5b7e81a5883d7295d278'/>
<id>urn:sha1:17c31a73f13ad320746e5b7e81a5883d7295d278</id>
<content type='text'>
* tests/misc/tee.sh: Call cleanup_ in all cases to ensure
there are no overlapping interactions on the fifo that
might impact later parts of the test.  This was seen to
cause issue with dash on musl libc.
Addresses https://bugs.gnu.org/62542
</content>
</entry>
<entry>
<title>tests: adjust csplit VM limit</title>
<updated>2023-03-31T10:58:53Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-30T13:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e170ff0b842df5c40fac9095e7c72ddc1517e2a'/>
<id>urn:sha1:5e170ff0b842df5c40fac9095e7c72ddc1517e2a</id>
<content type='text'>
* tests/misc/csplit-heap.sh: More memory is required to avoid
a false failure on some systems.  Noticed with musl libc
with bash as the shell.  This is confirmed to still easily
trigger with the original memory leak being tested.
Addresses https://bugs.gnu.org/62542
</content>
</entry>
</feed>
