<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/df, 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-04-15T11:56:16Z</updated>
<entry>
<title>df: improve detection of duplicate entries</title>
<updated>2026-04-15T11:56:16Z</updated>
<author>
<name>Lukáš Zaoral</name>
<email>lzaoral@redhat.com</email>
</author>
<published>2026-04-14T12:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f6fda635bdc8ea7b6665fa25f7ccc78484a47679'/>
<id>urn:sha1:f6fda635bdc8ea7b6665fa25f7ccc78484a47679</id>
<content type='text'>
Do not compare only with the latest entry for given device id but also
all previously saved entries with the same id.

* src/df.c (struct devlist): Add next_same_dev struct member.
(filter_mount_list): Iterate over next_same_dev to find duplicates.
* tests/df/skip-duplicates.sh: Add test cases.
* NEWS: Mention the improvement.
https://redhat.atlassian.net/browse/RHEL-5649
</content>
</entry>
<entry>
<title>tests: whoami, logname: verify error handling</title>
<updated>2026-02-23T13:06:19Z</updated>
<author>
<name>oech3</name>
<email>79379754+oech3@users.noreply.github.com</email>
</author>
<published>2026-02-23T10:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3f07c764b6bac8f26c0947809c273920560eff80'/>
<id>urn:sha1:3f07c764b6bac8f26c0947809c273920560eff80</id>
<content type='text'>
* tests/df/no-mtab-status-masked-proc.sh: Tweak unshare check.
* tests/local.mk: Reference new test.
* tests/misc/user.sh: Add new test using unshare -U, to verify
that whoami and logname diagnose failure correctly.
https://github.com/coreutils/coreutils/pull/195
</content>
</entry>
<entry>
<title>tests: df: check that --sync always calls sync before statfs</title>
<updated>2026-02-05T00:49:12Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-02-02T05:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e0b2db00ad21968e3631eeed77140ad4c85b7b23'/>
<id>urn:sha1:e0b2db00ad21968e3631eeed77140ad4c85b7b23</id>
<content type='text'>
* tests/df/sync.sh: New file.
* tests/local.mk (all_tests): Add the test.
</content>
</entry>
<entry>
<title>maint: space between ‘char’ and ‘*’</title>
<updated>2026-01-28T19:25:36Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2026-01-28T19:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d72a03cedb76f9a30940a583b71b0e5318d33e44'/>
<id>urn:sha1:d72a03cedb76f9a30940a583b71b0e5318d33e44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: avoid false failure with sanitizer builds</title>
<updated>2026-01-21T17:49:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-21T17:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f9eebda93ce811bbce7ef9942db2e80aceb89c09'/>
<id>urn:sha1:f9eebda93ce811bbce7ef9942db2e80aceb89c09</id>
<content type='text'>
* init.cfg (sanitizer_build_): Add a helper to detect if a program
is built against a sanitizer.
* tests/df/no-mtab-status-masked-proc.sh: Skip if a sanitizer build.
</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: prefer NULL to nullptr</title>
<updated>2026-01-18T15:55:38Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-18T15:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=71ea30a7422125dd644f8f0c389dda98aee907fc'/>
<id>urn:sha1:71ea30a7422125dd644f8f0c389dda98aee907fc</id>
<content type='text'>
NULL is best for C as discussed at:
https://bugs.gnu.org/66221#53

* bootstrap.conf: Remove dependency on nullptr.
* s/nullptr/NULL/.
</content>
</entry>
<entry>
<title>tests: df: don't depend on bash</title>
<updated>2026-01-02T03:07:51Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-01-01T19:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9cdeeea7c228bba3144a9b56f63a55a4ceefd88c'/>
<id>urn:sha1:9cdeeea7c228bba3144a9b56f63a55a4ceefd88c</id>
<content type='text'>
* tests/df/no-mtab-status-masked-proc.sh: Invoke $SHELL instead of
'bash'.
</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: df: hide /proc without using LD_PRELOAD</title>
<updated>2026-01-01T13:18:51Z</updated>
<author>
<name>oech3</name>
<email>79379754+oech3@users.noreply.github.com</email>
</author>
<published>2025-12-30T12:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=92a93c445b67cf04315f18a25801491b60bd5c38'/>
<id>urn:sha1:92a93c445b67cf04315f18a25801491b60bd5c38</id>
<content type='text'>
* tests/df/no-mtab-status-masked-proc.sh: A new test similar
to no-mtab-status.sh but should work with static builds.
* tests/local.mk: Reference the new test.
https://github.com/coreutils/coreutils/pull/156
</content>
</entry>
</feed>
