<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/du, branch master</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=master</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2026-03-01T02:36:34Z</updated>
<entry>
<title>tests: wc,du: add additional --files0-from test cases</title>
<updated>2026-03-01T02:36:34Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-03-01T02:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=236df1fa6a980eccd2bab1ff892746d5e261d7f7'/>
<id>urn:sha1:236df1fa6a980eccd2bab1ff892746d5e261d7f7</id>
<content type='text'>
* tests/wc/wc-files0-from.pl ($limits): New variable.
(@Tests): Prefer the error strings from getlimits over writing them by
hand. Add test cases for --files0-from listing missing files and
duplicate files.
* tests/du/files0-from.pl ($limits): New variable.
(@Tests): Prefer the error strings from getlimits over writing them by
hand. Add test cases for --files0-from listing missing files. Add tests
for --files0-from listing duplicate files with and without the -l option
also in use.
</content>
</entry>
<entry>
<title>maint: tests: avoid ELOOP specific handling</title>
<updated>2026-02-18T18:31:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-02-17T22:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7d07156e03a3ac3bf76a752608cb15d2181f2f41'/>
<id>urn:sha1:7d07156e03a3ac3bf76a752608cb15d2181f2f41</id>
<content type='text'>
* tests/du/long-sloop.sh: Adjust determination of ELOOP.
</content>
</entry>
<entry>
<title>tests: use system EACCES message</title>
<updated>2026-02-18T18:31:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-02-16T12:09:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5c073ec7c50705e1f8b9c3b38fbccf4131079505'/>
<id>urn:sha1:5c073ec7c50705e1f8b9c3b38fbccf4131079505</id>
<content type='text'>
* tests/chgrp/no-x.sh: Don't harcode "Permission denied".
* tests/chmod/no-x.sh: Likewise.
* tests/du/inacc-dest.sh: Likewise.
* tests/du/no-x.sh: Likewise.
* tests/misc/nohup.sh: Likewise.
* tests/mv/part-fail.sh: Likewise.
* tests/mv/perm-1.sh: Likewise.
* tests/rm/fail-eacces.sh: Likewise.
* tests/rm/rm1.sh: Likewise.
* tests/rm/rm2.sh: Likewise.
* tests/rm/unread2.sh: Likewise.
* tests/rm/unreadable.pl: Likewise.
</content>
</entry>
<entry>
<title>doc: tweak tests to avoid false failure with --help</title>
<updated>2026-01-21T13:51:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-17T18:17:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1e72a54ca7bb2f4ff707c84dd9ef36f14212b4d6'/>
<id>urn:sha1:1e72a54ca7bb2f4ff707c84dd9ef36f14212b4d6</id>
<content type='text'>
* tests/df/df-output.sh: Use a more relaxed match.
* tests/du/inodes.sh: Likewise.
</content>
</entry>
<entry>
<title>maint: run 'make update-copyright'</title>
<updated>2026-01-01T18:56:16Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-01-01T18:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=73d3a49f45770c45808e4fdab35ae4fe248a3cd9'/>
<id>urn:sha1:73d3a49f45770c45808e4fdab35ae4fe248a3cd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: du: check -l (--count-links) without -a flag</title>
<updated>2025-12-31T00:01:51Z</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sylvestre@debian.org</email>
</author>
<published>2025-12-30T23:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=75e314a11a3ccfecadddf0270dc4619e3486ea66'/>
<id>urn:sha1:75e314a11a3ccfecadddf0270dc4619e3486ea66</id>
<content type='text'>
Identified here:
&lt;https://github.com/uutils/coreutils/issues/9871&gt;

* tests/du/hard-link.sh: Add the check.
</content>
</entry>
<entry>
<title>du: add the short option -A corresponding to --apparent-size</title>
<updated>2025-11-28T22:08:31Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2025-11-28T05:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=90856dd867ba7a86a0a54e987048b0250b716c3b'/>
<id>urn:sha1:90856dd867ba7a86a0a54e987048b0250b716c3b</id>
<content type='text'>
The --apparent-size option to 'du' was added in
coreutils-4.5.8 (2003). FreeBSD 8.0 (2009) added the same functionality
under the short option -A. This long option previously had no short
option, so this patch adds -A to be compatible with FreeBSD.

* NEWS: Mention the new short option.
* doc/coreutils.texi: Document the short option.
* src/du.c (usage): Likewise.
(APPARENT_SIZE_OPTION): Remove definition.
(EXCLUDE_OPTION): Define to CHAR_MAX + 1.
(long_options): Use the -A short option for --apparent-size.
(main): Likewise.
* tests/du/apparent.sh: Test that '-b', '-A -B 1', and
'--apparent-size --block-size 1' function the same.
</content>
</entry>
<entry>
<title>tests: du/bigtime: try harder to find a suitable filesystem</title>
<updated>2025-10-16T17:28:52Z</updated>
<author>
<name>Nicolas Boichat</name>
<email>nicolas@boichat.ch</email>
</author>
<published>2025-07-26T06:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ab5fce879b3ee372df7a0e2669587814d28cf57c'/>
<id>urn:sha1:ab5fce879b3ee372df7a0e2669587814d28cf57c</id>
<content type='text'>
* tests/du/bigtime.sh: At least on Linux, the ext4 filesystem
doesn't support such large timestamp, while tmpfs does.  Try a bit
harder to look for a filesystem with large timestamp support.
</content>
</entry>
<entry>
<title>tests: du: avoid false failure in racy test</title>
<updated>2025-09-21T23:09:03Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-21T19:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f9c6c730eb31299491022c1c3c3f97f873350bf1'/>
<id>urn:sha1:f9c6c730eb31299491022c1c3c3f97f873350bf1</id>
<content type='text'>
* tests/du/move-dir-while-traversing.sh: Expand the work to avoid
a false failure where du completes before the directory is moved.
Also expand the timeout to our more standard 10s to avoid the
"directory mover" being killed before du processes the directory.
This doesn't perceptibly impact the run time of the test.
Reported by Bruno Haible on a CentOS 7 system.
</content>
</entry>
<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>
</feed>
