<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/ls, 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-15T17:07:19Z</updated>
<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>
<entry>
<title>tests: ls: don't always skip a capability test</title>
<updated>2024-10-03T11:41:37Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-10-03T11:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=96100139fc9c05c0ad2236a240783543f0778b85'/>
<id>urn:sha1:96100139fc9c05c0ad2236a240783543f0778b85</id>
<content type='text'>
* tests/ls/no-cap.sh: Move to being a root only test, since
commit v9.5-132-g2a6bed933 we now need to call setcap
to make the test effective.  Otherwise we would have always
just skipped the test.
</content>
</entry>
<entry>
<title>ls: add support for explicit file name sorting</title>
<updated>2024-08-11T19:40:15Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-08-11T19:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=84f820228708fbee53e2267e6d2ad805197df8be'/>
<id>urn:sha1:84f820228708fbee53e2267e6d2ad805197df8be</id>
<content type='text'>
Support overriding previous sorting options
with an explicit --sort=name option.

* doc/coreutils.texi (ls invocation): Document the new option.
* src/ls.c (usage): Likewise.
(sort_args): Add the "name" entry, and sort to be consistent
with the ordering presented in --help.
* tests/ls/ls-time.sh: Add test cases.
* NEWS: Mention the new feature.
Suggested by: Tzvetelin Katchov
</content>
</entry>
<entry>
<title>ls: treat --time=mtime consistently with other time selectors</title>
<updated>2024-06-27T17:37:23Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-06-27T17:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b95c6ac7d20084d9167bdb9d759bcebcb0c2b766'/>
<id>urn:sha1:b95c6ac7d20084d9167bdb9d759bcebcb0c2b766</id>
<content type='text'>
* src/ls.c: Track if --time=mtime is explicitly specified,
so that we can apply the GNU extension of sorting by the
specified time, when not displaying (-l not specified),
and not explicitly sorting (-t not specified).
* tests/ls/ls-time.sh: Add / Update test cases.
Fixes https://bugs.gnu.org/71803
</content>
</entry>
</feed>
