<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc, branch v9.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-09-17T20:37:35Z</updated>
<entry>
<title>tests: write-errors.sh: avoid portability issue with dash</title>
<updated>2025-09-17T20:37:35Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-17T20:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5662192f391fd9c54c80aa992aba355aca10760e'/>
<id>urn:sha1:5662192f391fd9c54c80aa992aba355aca10760e</id>
<content type='text'>
* tests/misc/write-errors.sh: Use printf rather than echo
since the echo builtin in dash will interpret backslashes.
* tests/misc/read-errors.sh: Likewise for consistency.
</content>
</entry>
<entry>
<title>tests: fix issues with fold-characters.sh test</title>
<updated>2025-09-17T14:32:47Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-17T13:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=78502174a9cf88cfcdff70f355f30db77ebbd630'/>
<id>urn:sha1:78502174a9cf88cfcdff70f355f30db77ebbd630</id>
<content type='text'>
This was noticed with:

  trap '' PIPE &amp;&amp;  # Ignore SIGPIPE
  make check TESTS=tests/fold/fold-characters.sh SUBDIRS=.

* tests/fold/fold-characters.sh: Move memory limit test to ...
* tests/misc/write-errors.sh: ... which avoids "write error"
messages on stderr due to the ignored SIGPIPE.  It also protects
the fold invocation with a timeout(1) so that fold implementations
that don't exit promptly upon write error don't hang the test suite
(Like we would have done before commit v9.7-311-gc95c7ee76).
</content>
</entry>
<entry>
<title>fold: exit promptly upon write errors</title>
<updated>2025-09-16T13:10:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-16T12:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=10459ca7ed15456a6dbfebc7d718c8d713fbfe70'/>
<id>urn:sha1:10459ca7ed15456a6dbfebc7d718c8d713fbfe70</id>
<content type='text'>
* NEWS: Mention the improvement.
* src/fold.c (fold_file): Check for write errors
after each buffer read from stdin.
* tests/misc/write-errors.sh: Add test cases.
</content>
</entry>
<entry>
<title>nohup: avoid FORTIFY runtime failure on Bionic libc</title>
<updated>2025-09-09T11:21:41Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-09T11:11:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2ed207cb1fe7ae51ffc1c987ef1c7848f2b56358'/>
<id>urn:sha1:2ed207cb1fe7ae51ffc1c987ef1c7848f2b56358</id>
<content type='text'>
The meaning of non-file permission umask bits is implementation defined.
On Bionic libc, attempting to set them triggers a FORTIFY runtime check.

  $ nohup true
  FORTIFY: umask: called with invalid mask -601
  Aborted                    nohup true

* src/nohup.c: (main) Avoid setting non-permission bits in umask.
Just clear the umask to ensure we create nohup.out with u+rw,
as we restore the original umask before the exec().
* tests/misc/nohup.sh: Add a test case.
* NEWS: Mention the bug fix.
</content>
</entry>
<entry>
<title>tests: ensure option aliases are supported</title>
<updated>2025-09-07T12:53:22Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-07T12:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=42c4578b49afaf3dc8de884262f34e4a19066860'/>
<id>urn:sha1:42c4578b49afaf3dc8de884262f34e4a19066860</id>
<content type='text'>
This implicitly tests the previous commit to
adjust how date(1) handles multiple named format options.
Currrently it tests the following are supported:

  chown  --quiet  --silent
  date  --rfc-email  --rfc-822  --rfc-2822
  date  --uct  --utc  --universal
  dircolors  --bourne-shell  --sh
  dircolors  --csh  --c-shell
  head  --quiet  --silent

* tests/misc/option-aliases.sh: A new test to ensure all
option aliases supported by a command are supported.
* Reference the new test.
</content>
</entry>
<entry>
<title>tests: cksum: check more length variants</title>
<updated>2025-09-04T13:52:21Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-04T13:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a43a17f2169a3761a689035a476bf5482c4b4f7c'/>
<id>urn:sha1:a43a17f2169a3761a689035a476bf5482c4b4f7c</id>
<content type='text'>
* tests/cksum/cksum-raw.sh: Adjust to non legacy naming,
and also check various length variations.
* tests/misc/read-errors.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: fold: consolidate all fold tests in tests/fold</title>
<updated>2025-08-26T15:49:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-08-25T10:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=01646ccd64dca25af33defca39685026028daecb'/>
<id>urn:sha1:01646ccd64dca25af33defca39685026028daecb</id>
<content type='text'>
* tests/misc/fold.pl: Move from here to ...
* tests/fold/fold.pl: ... here.
* tests/local.mk: Adjust accordingly.
</content>
</entry>
<entry>
<title>tsort: add do-nothing -w option</title>
<updated>2025-08-15T00:35:23Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-08-14T16:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=39eec70f7ba360577020099b5f179940700bc67f'/>
<id>urn:sha1:39eec70f7ba360577020099b5f179940700bc67f</id>
<content type='text'>
This is for conformance to POSIX.1-2024
* src/tsort.c: Include getopt.h.
(main): Accept and ignore -w.  Do not bother altering
the usage message, as the option is useless.
* tests/misc/tsort.pl (cycle-3): New test.
</content>
</entry>
<entry>
<title>realpath: support the -E option required by POSIX</title>
<updated>2025-08-10T18:41:56Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2025-08-10T00:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2a092e80e257047c0d462114d5b0527998e21163'/>
<id>urn:sha1:2a092e80e257047c0d462114d5b0527998e21163</id>
<content type='text'>
* src/realpath.c (longopts): Add the option.
(main): Likewise.
(usage): Add the option to the --help message.
* tests/misc/realpath.sh: Add a simple test.
* doc/coreutils.texi (realpath invocation): Mention the new option.
* NEWS: Likewise.
</content>
</entry>
<entry>
<title>doc: mention the edge case of hex durations with 'd' suffix</title>
<updated>2025-04-05T23:07:37Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-04-05T19:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=65b694257f04a8b5b566e35c58a0ba5b51f8a06c'/>
<id>urn:sha1:65b694257f04a8b5b566e35c58a0ba5b51f8a06c</id>
<content type='text'>
* doc/coreutils.texi (sleep invocation): Mention that suffixes are
best avoided with hex arguments.
(timeout invocation): Likewise.
* tests/misc/sleep.sh: Ensure 'd' is not interpreted as "day".
</content>
</entry>
</feed>
