<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/ls, branch v9.1</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.1</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2022-01-02T16:15:55Z</updated>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2022-01-02T16:15:55Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-01-02T15:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3067a9293af07ba2cf1ababe6b4482196717f806'/>
<id>urn:sha1:3067a9293af07ba2cf1ababe6b4482196717f806</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* 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>doc: colorize -&gt; color</title>
<updated>2021-12-24T17:49:21Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-12-24T17:47:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d5ae6d812089053e473ab8ba320dfe6fd95f6b29'/>
<id>urn:sha1:d5ae6d812089053e473ab8ba320dfe6fd95f6b29</id>
<content type='text'>
Living so close to Hollywood I know that "colorize"
means adding color to something that was already monochrome,
whereas "color" means to give color to something.
Coreutils apps color text instead of colorizing it.
</content>
</entry>
<entry>
<title>tests: port removed-directory test to FreeBSD</title>
<updated>2021-09-16T23:18:03Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-16T23:17:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5134612fa78012d8a8efeca181d1a9355d1fc67f'/>
<id>urn:sha1:5134612fa78012d8a8efeca181d1a9355d1fc67f</id>
<content type='text'>
* tests/ls/removed-directory.sh: On FreeBSD 9.1 at least,
one gets ENOENT when trying to traverse the current removed dir
with ../, so instead reference the parent dir directly.
</content>
</entry>
<entry>
<title>tests: stat-vs-dirent.sh: avoid a false failure</title>
<updated>2021-09-12T22:16:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-12T17:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0cfb60e90da0848406cf3bf35bb9273e6ef01dbc'/>
<id>urn:sha1:0cfb60e90da0848406cf3bf35bb9273e6ef01dbc</id>
<content type='text'>
* tests/ls/stat-vs-dirent.sh: Skip the test if we can't stat(1),
as the file may have been removed, or have a malformed name
due to '\n' etc. in the file name.
</content>
</entry>
<entry>
<title>tests: augment new ls --zero test cases</title>
<updated>2021-07-28T22:17:34Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-07-28T11:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dcd6e4172c0023fcb1665471154d07c4eba85238'/>
<id>urn:sha1:dcd6e4172c0023fcb1665471154d07c4eba85238</id>
<content type='text'>
* tests/ls/zero-option.sh: Check for the disabled, disallowed,
and allowed option combinations.
</content>
</entry>
<entry>
<title>ls: rename --null to --zero (Bug#49716)</title>
<updated>2021-07-28T01:08:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-07-28T00:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c75779cac3abec6e6072c0ac77dced85d1c44370'/>
<id>urn:sha1:c75779cac3abec6e6072c0ac77dced85d1c44370</id>
<content type='text'>
* NEWS, doc/coreutils.texi (General output formatting):
* src/ls.c (usage):
Document this.
* src/ls.c (ZERO_OPTION): Rename from NULL_OPTION.
All uses changed.
(long_options): Rename --null to --zero.
(dired_dump_obstack, main, print_dir): Use '\n' instead of
eolbyte where eolbyte must equal '\n'.
(decode_switches): Decode --zero instead of --null.
--zero also implies -1, -N, --color=none, --show-control-chars.
Use easier-to-decipher code to set ‘format’ and ‘dired’.
Reject attempts to combine --dired and --zero.
* tests/local.mk: Adjust to test script renaming.
* tests/ls/zero-option.sh: Rename from tests/ls/null-option.sh,
and test --zero instead of --null.
</content>
</entry>
<entry>
<title>ls: add --null option (Bug#49716)</title>
<updated>2021-07-26T07:59:37Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-07-26T04:24:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7d44ac224c93940d1a708442c1edf1a927be7057'/>
<id>urn:sha1:7d44ac224c93940d1a708442c1edf1a927be7057</id>
<content type='text'>
* NEWS, doc/coreutils.texi (General output formatting):
* src/ls.c (usage): Document this.
* src/ls.c (NULL_OPTION): New constant.
(long_options): Add --null.
(eolbyte): New static var.
(dired_dump_obstack, main, print_dir, print_current_files)
(print_many_per_line, print_horizontal, print_with_separator):
Output eolbyte instead of '\n'.
(decode_switches): Decode --null.
* tests/ls/null-option.sh: New file.
* tests/local.mk (all_tests): Add it.
</content>
</entry>
<entry>
<title>tests: fix FP in ls/stat-free-color.sh</title>
<updated>2021-04-22T18:14:32Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2021-04-20T22:12:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b7091093bb6505c33279f9bc940b2e94763a6e5d'/>
<id>urn:sha1:b7091093bb6505c33279f9bc940b2e94763a6e5d</id>
<content type='text'>
On newer systems like Fedora 34 and openSUSE Tumbleweed, ls(1) calls
newfstatat(STDOUT_FILENO, ...), but only when there is something to
output.

* tests/ls/stat-free-color.sh: Add -a option to the reference invocation
of ls, thus enforcing something gets output.
</content>
</entry>
<entry>
<title>ls: add --sort=width option to sort by file name width</title>
<updated>2021-04-11T13:58:38Z</updated>
<author>
<name>Carl Edquist</name>
<email>edquist@cs.wisc.edu</email>
</author>
<published>2021-03-26T09:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=751ad58e00a7cacfb511f651837d336253eb672c'/>
<id>urn:sha1:751ad58e00a7cacfb511f651837d336253eb672c</id>
<content type='text'>
This helps identify the outliers for long filenames, and also produces
a more compact display of columns when listing a directory with many
entries of various widths.

* src/ls.c (sort_type, sort_types, sort_width): New sort_width sort
type.
(sort_args): Add "width" sort arg.
(cmp_width, fileinfo_width): New sort function and helper for file name
width.
(quote_name_width): Add function prototype declaration.
(usage): Document --sort=width option.
* doc/coreutils.texi: Document --sort=width option.
* tests/ls/sort-width-option.sh: New test for --sort=width option.
* tests/local.mk: Reference new test.
* NEWS: Mention the new feature.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2021-01-01T16:36:09Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-01-01T16:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=32ff1d1313ff566685b9092ac929251a4c22e7c4'/>
<id>urn:sha1:32ff1d1313ff566685b9092ac929251a4c22e7c4</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* 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>
</feed>
