<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, 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-04-13T19:10:14Z</updated>
<entry>
<title>tail: detect closed stdout on Solaris</title>
<updated>2022-04-13T19:10:14Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-13T16:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=87d5f1e17e32176b262a13262ac3ec16e1970596'/>
<id>urn:sha1:87d5f1e17e32176b262a13262ac3ec16e1970596</id>
<content type='text'>
* src/tail.c (check_output_alive): Use poll() on Solaris.
Also handle POLLHUP, which Solaris returns in this case.
* tests/tail-2/pipe-f.sh: Use `head -n2` rather than `sed 2q`
as Solaris sed does not exit in this case.
* NEWS: Mention the improvement.
Reported by Bruno Haible.
</content>
</entry>
<entry>
<title>tests: cygwin: handle ENOENT from execvp(".")</title>
<updated>2022-04-12T23:36:25Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-12T11:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4f920e93ecf1b693b3729168496a9f50e194ecd0'/>
<id>urn:sha1:4f920e93ecf1b693b3729168496a9f50e194ecd0</id>
<content type='text'>
* tests/misc/env.sh: Verify with another command that
execvp() doesn not return ENOENT, before testing the
exit code from the command in question.
* tests/misc/nice-fail.sh: Likewise.
* tests/misc/stdbuf.sh: Likewise.
* tests/misc/timeout-parameters.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: env-S.pl: unset cygwin hardwired env vars</title>
<updated>2022-04-12T23:36:25Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-12T11:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f98dcbfc1c73e3b270224d5c82ff0382c1394519'/>
<id>urn:sha1:f98dcbfc1c73e3b270224d5c82ff0382c1394519</id>
<content type='text'>
* tests/misc/env-S.pl: Unset SYSTEMROOT and WINDIR.
</content>
</entry>
<entry>
<title>tests: md5sum: fix false failures on cygwin</title>
<updated>2022-04-12T12:30:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-11T14:37:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=028cad9149b2dc6f27ee4d5680582fcdfb3299db'/>
<id>urn:sha1:028cad9149b2dc6f27ee4d5680582fcdfb3299db</id>
<content type='text'>
* tests/misc/md5sum-newline.pl: Avoid binary '*' tags when
comparing checksums.
* tests/misc/md5sum-bsd.sh: Avoid binary '*' tags so that we correctly
trigger the ambiguity test.
Reported by Bruno Haible
</content>
</entry>
<entry>
<title>tests: b2sum.sh: fix false failure on cygwin</title>
<updated>2022-04-11T14:47:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-11T14:37:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2122ceba8e3da8a04e40dc168d736af0c09a3930'/>
<id>urn:sha1:2122ceba8e3da8a04e40dc168d736af0c09a3930</id>
<content type='text'>
* tests/misc/b2sum.sh: Avoid binary '*' tags when comparing checksums.
Reported by Bruno Haible
</content>
</entry>
<entry>
<title>tests: dircolors.pl: avoid false failure with TERM=dumb</title>
<updated>2022-04-11T14:47:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-11T13:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e43099f6e95087fa375d8e0b81d6e97dcb1936b4'/>
<id>urn:sha1:e43099f6e95087fa375d8e0b81d6e97dcb1936b4</id>
<content type='text'>
* tests/Coreutils.pm: Ensure an unset $TERM env var,
which is required on perl 5.22.2 on Solaris 11 OpenIndiana at least,
where TERM was being reset to 'dumb'.
Reported By Bruno Haible.
</content>
</entry>
<entry>
<title>tests: printf-mb.sh: fix false failure with french translations</title>
<updated>2022-04-11T14:46:57Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-11T12:47:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=021fc4fad2cd6712d03af090431dbef353968a30'/>
<id>urn:sha1:021fc4fad2cd6712d03af090431dbef353968a30</id>
<content type='text'>
* tests/misc/printf-mb.sh: As per commit 04148c99c,
adjust non C warnings before comparison, to those of LC_MESSAGES=C.
Reported by Adam Sampson
</content>
</entry>
<entry>
<title>cp,mv,install: avoid opening non directory destination</title>
<updated>2022-04-09T21:21:24Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-09T14:46:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc01b8a8f43bd1e02339322595f7a20e72a8c155'/>
<id>urn:sha1:cc01b8a8f43bd1e02339322595f7a20e72a8c155</id>
<content type='text'>
commit v9.0-66-ge2daa8f79 introduced an issue, for example
where cp could hang when overwriting a destination fifo,
when it would try to open() the fifo on systems
like Solaris 10 that didn't support the O_DIRECTORY flag.

This is still racy on such systems, but only in the
case where a directory is replaced by a fifo in
the small window between stat() and open().

* src/system.h (target_directory_operand): On systems without
O_DIRECTORY, ensure the file is a directory before attempting to open().
* tests/cp/special-f.sh: Protect cp with timeout(1),
as cp was seen to hang when trying to overwrite an existing fifo.
* NEWS: Mention the bug fix.
</content>
</entry>
<entry>
<title>tests: improve recent printf test</title>
<updated>2022-03-20T17:46:13Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-03-20T17:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=500c697cc85b7c1ec6ca4e329331cf3c6fc8f2ab'/>
<id>urn:sha1:500c697cc85b7c1ec6ca4e329331cf3c6fc8f2ab</id>
<content type='text'>
* tests/misc/printf-mb.sh: Given we shortcut the single char
(invalid multi-byte) case, add a case to ensure we're correctly
checking the return from mbrtowc().
</content>
</entry>
<entry>
<title>printf: support printing the numeric value of multi-byte chars</title>
<updated>2022-03-19T16:57:07Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-03-18T14:52:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6367cfe5fc513fb0832a3be18be8c9a813383321'/>
<id>urn:sha1:6367cfe5fc513fb0832a3be18be8c9a813383321</id>
<content type='text'>
* src/printf.c (STRTOX): Update to support multi-byte chars.
* tests/misc/printf-mb.sh: Add a new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the improvement.
Fixes https://bugs.gnu.org/54388
</content>
</entry>
</feed>
