<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/ls, 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-20T15:21:58Z</updated>
<entry>
<title>tests: remove use of unprotected 'set'</title>
<updated>2025-01-20T15:21:58Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-20T15:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dcc896e6c3d7fdcb75f493e216f94a2af558740b'/>
<id>urn:sha1:dcc896e6c3d7fdcb75f493e216f94a2af558740b</id>
<content type='text'>
* cfg.mk (sc_prohibit_bare_set): A new syntax check to
ensure we protect use of set with '--', so that args
beginning with '-' are not interpreted as options,
and if no args are present, all existing args are cleared.
* tests/cp/symlink-slash.sh: Add -- to unprotected use of set.
* tests/ls/ls-time.sh: Likewise.
* tests/ls/symlink-slash.sh: Likewise.
* tests/mkdir/perm.sh: Likewise.
* tests/mkdir/selinux.sh: Likewise.
* tests/mkdir/smack-no-root.sh: Likewise.
* tests/mkdir/smack-root.sh: Likewise.
* tests/mv/part-hardlink.sh: Likewise.
* tests/nice/nice.sh: Likewise.
* tests/stty/stty-row-col.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: fix typo in tests/ls/ls-time.sh</title>
<updated>2025-01-19T16:36:59Z</updated>
<author>
<name>Daniel Hofstetter</name>
<email>dhofstet@gmail.com</email>
</author>
<published>2025-01-19T16:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e6117526c3a46b46a1873c18f14bbce5e6acd557'/>
<id>urn:sha1:e6117526c3a46b46a1873c18f14bbce5e6acd557</id>
<content type='text'>
* tests/ls/ls-time.sh: s/--sort-name -t/-t --sort=name/.
</content>
</entry>
<entry>
<title>ls: fix crash with --context</title>
<updated>2025-01-18T13:14:29Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-17T17:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=915004f403cb25fadb207ddfdbe6a2f43bd44fac'/>
<id>urn:sha1:915004f403cb25fadb207ddfdbe6a2f43bd44fac</id>
<content type='text'>
* src/ls.c (main): Flag that we need to stat()
if we're going to get security context (call file_has_aclinfo_cache).
(file_has_aclinfo_cache): Be defensive and only lookup the device
for the file if the stat has been performed.
(has_capability_cache): Likewise.
* tests/ls/selinux-segfault.sh: Add a test case.
* NEWS: Mention the bug fix.
Reported by Bruno Haible.
</content>
</entry>
<entry>
<title>tests: avoid false failure with many mountpoints</title>
<updated>2025-01-15T17:07:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-15T11:52:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4bb1fc24454e9c31c32f7be7b9970e97de38d4a5'/>
<id>urn:sha1:4bb1fc24454e9c31c32f7be7b9970e97de38d4a5</id>
<content type='text'>
* tests/ls/readdir-mountpoint-inode.sh: Only take the first 64.
</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: avoid false failure with unicode decomposed file systems</title>
<updated>2024-11-24T12:59:42Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-11-24T12:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cb2774501d7a292900a8a547d6c7cdc62f90c7fb'/>
<id>urn:sha1:cb2774501d7a292900a8a547d6c7cdc62f90c7fb</id>
<content type='text'>
* tests/ls/dired.sh: macOS normalizes unicode characters to decomposed
(NFD) form when storing names in the file system, which breaks the
round-trip comparison employed by the test.  So instead use a character
which does not decompose; verified with:
  echo æ | uconv -f utf8 -t utf8 -x nfd | od -Ax -tx1z
</content>
</entry>
<entry>
<title>tests: ls: also test security context output for symlinks</title>
<updated>2024-11-12T11:43:45Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-11-12T11:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fc0ea5cb87e893f0dc4bc36d606d63c4f3317c50'/>
<id>urn:sha1:fc0ea5cb87e893f0dc4bc36d606d63c4f3317c50</id>
<content type='text'>
* tests/ls/selinux.sh: Test symlinks as well as files.
</content>
</entry>
<entry>
<title>tests: avoid false failure with --disable-selinux</title>
<updated>2024-11-12T11:20:47Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-11-11T19:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8f4fce1751cabc48f25c3e17a324ac6d1c783de4'/>
<id>urn:sha1:8f4fce1751cabc48f25c3e17a324ac6d1c783de4</id>
<content type='text'>
* tests/ls/selinux-segfault.sh: Move recent addition to ...
* tests/ls/selinux.sh: ... this new test that uses require_selinux_
to skip appropriately when we've built without selinux support.
Also add a non root test that checks we output '.' along with the
mode for files, to indicate a security context is present.
* tests/local.mk (Reference the new test).
</content>
</entry>
<entry>
<title>ls: add test case for ls -Z bug</title>
<updated>2024-11-10T00:51:26Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2024-11-10T00:51:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=45ba6c6f54c771778761776e496ed3d6a4622b19'/>
<id>urn:sha1:45ba6c6f54c771778761776e496ed3d6a4622b19</id>
<content type='text'>
Problem reported by Pádraig Brady &lt;https://bugs.gnu.org/73418#35&gt;.
This bug was fixed by the recent gnulib update.
* tests/ls/selinux-segfault.sh:
Also test for ls -Z on broken symlinks.
</content>
</entry>
<entry>
<title>tests: improve ls --dired with symlink testing</title>
<updated>2024-10-20T13:10:30Z</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sylvestre@debian.org</email>
</author>
<published>2024-10-17T20:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f082cb8284614e64468ac7abcb98638a1e7efd0c'/>
<id>urn:sha1:f082cb8284614e64468ac7abcb98638a1e7efd0c</id>
<content type='text'>
* tests/ls/dired.sh: Verify ls --dired with symlink.
</content>
</entry>
</feed>
