<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch v9.5</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.5</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2024-03-27T12:41:33Z</updated>
<entry>
<title>tests: od: avoid outputting undefined floating point values</title>
<updated>2024-03-27T12:41:33Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2024-03-27T12:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bec53850b76f1240c566dfeb59db6ed6928bdf57'/>
<id>urn:sha1:bec53850b76f1240c566dfeb59db6ed6928bdf57</id>
<content type='text'>
od was seen to abort() on glibc on ia64 and m68k with the error:
Fatal glibc error: printf_fp.c:501 (__printf_fp_buffer_1):
assertion failed:
  cy == 1 || (p.frac[p.fracsize - 2] == 0 &amp;&amp; p.frac[0] == 0)

* tests/od/od-multiple-t.sh: Avoid outputting long double floats
to avoid undefined behavior. 'float' and 'double' are standardized
by IEEE 754 (except on Linux/m68k) and don't have undefined values.
</content>
</entry>
<entry>
<title>tests: numfmt: fix false failures on some systems</title>
<updated>2024-03-26T20:09:35Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-26T19:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=606f54d157c3d9d558bdbe41da8d108993d86aeb'/>
<id>urn:sha1:606f54d157c3d9d558bdbe41da8d108993d86aeb</id>
<content type='text'>
* tests/misc/numfmt.pl: Verify that printf field width specs
count characters and not bytes before enabling locale tests.
This was seen on FreeBSD 14.0 and Solaris 11 OpenIndiana.
Reported by Bruno Haible
</content>
</entry>
<entry>
<title>tests: avoid false failure due to mismatched isblank()</title>
<updated>2024-03-26T16:53:09Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-26T15:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3dc86576481092b03a4b8632a175630af495a26c'/>
<id>urn:sha1:3dc86576481092b03a4b8632a175630af495a26c</id>
<content type='text'>
There is a mismatch between isblank() used by tr and c32isblank() now
used by uniq on Solaris 11 OpenIndiana. isblank() was seen to return
true for non breaking space, while c32isblank() returned false.
Interestingly on Solaris, non breaking space is considered a blank
character, and isblank() and c32isblank() honor this in all locales.

* tests/uniq/uniq.pl: Adjust the blank check to use join(1) rather than
tr(1), as join uses the same blank determination routines as uniq(1).
</content>
</entry>
<entry>
<title>tests: avoid false failure with partial locale info</title>
<updated>2024-03-25T18:40:53Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-25T18:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c0f02a8f5b164d72438168bce88328193ab39c34'/>
<id>urn:sha1:c0f02a8f5b164d72438168bce88328193ab39c34</id>
<content type='text'>
* tests/misc/numfmt.pl: Some systems with the fr_FR.UTF-8
locale installed, do not have a thousands grouping character defined.
In this case we skip the locale tests which depend on a non empty
grouping character.
</content>
</entry>
<entry>
<title>tests: avoid triggering obsolete tail option processing</title>
<updated>2024-03-25T13:02:52Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-25T13:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a51af4329434d04f5cf219fe0c1ba22b7a059dd4'/>
<id>urn:sha1:a51af4329434d04f5cf219fe0c1ba22b7a059dd4</id>
<content type='text'>
* tests/ls/dired.sh: With 2 options, the latter is taken
as a file name on some systems.  This avoids a false
failure on Solaris and FreeBSD at least.
</content>
</entry>
<entry>
<title>tests: remove debugging from a test</title>
<updated>2024-03-25T12:22:52Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-25T12:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ecb2fecdf9626f4944a4dfbd8f317d41631fbe5c'/>
<id>urn:sha1:ecb2fecdf9626f4944a4dfbd8f317d41631fbe5c</id>
<content type='text'>
* tests/ls/dired.sh: Remove temp debugging output.
</content>
</entry>
<entry>
<title>tests: fix false failure on systems that can chmod symlinks</title>
<updated>2024-03-25T12:12:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-25T12:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4cb2742d70f4160d6a8219d8f3962260fbfc15d8'/>
<id>urn:sha1:4cb2742d70f4160d6a8219d8f3962260fbfc15d8</id>
<content type='text'>
* tests/chmod/symlinks.sh: The count of adjusted modes was
one more on systems where symlink modes can be adjusted.
Therefore only include the non symlinks in the count.
</content>
</entry>
<entry>
<title>test: avoid false failure with setgid directories</title>
<updated>2024-03-24T19:46:57Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-24T19:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f77a6352fbc2bfb7b62bcf7dcd42d053b7a556c4'/>
<id>urn:sha1:f77a6352fbc2bfb7b62bcf7dcd42d053b7a556c4</id>
<content type='text'>
* tests/chmod/symlinks.sh: Ensure this new test is immune
to setgid directories by resetting modes with =777 rather than 777.
Also output more debugging in all failure cases.
</content>
</entry>
<entry>
<title>tests: avoid false failure on new mv --exchange test</title>
<updated>2024-03-24T18:32:34Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-03-24T18:30:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c45fcb2ed2d80df5e7dea3c52eba24a9676d9eae'/>
<id>urn:sha1:c45fcb2ed2d80df5e7dea3c52eba24a9676d9eae</id>
<content type='text'>
* tests/mv/mv-exchange.sh: Canonicalize different
"operation not supported" messages, so we can ignore correctly.
Reported by Bruno Haible on AIX, NetBSD, and OpenBSD.
</content>
</entry>
<entry>
<title>env: add -a,--argv0 to set the first argument passed to exec</title>
<updated>2024-03-22T13:12:52Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-02T14:56:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=193449b17334649a2abcbca589544d858fca92a1'/>
<id>urn:sha1:193449b17334649a2abcbca589544d858fca92a1</id>
<content type='text'>
Using the shell's exec -a feature can be awkward
so add support for setting overriding argv[0].
This gives env full control over the arguments it passes.

* src/env.c: Accept -a,--argv0 and set argv[0] appropriately.
* tests/env/env.sh: Add test cases.
* doc/coreutils.texi (env invocation): Describe -a,--argv0.
* NEWS: Mention the new feature.
</content>
</entry>
</feed>
