<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch v7.3</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.3</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-04-28T09:16:33Z</updated>
<entry>
<title>tests: ensure that cp's -a doesn't silence --preserve=context</title>
<updated>2009-04-28T09:16:33Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2009-04-27T15:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cb9fd937437cf4f9347925f6b9c82f4e92bae6e5'/>
<id>urn:sha1:cb9fd937437cf4f9347925f6b9c82f4e92bae6e5</id>
<content type='text'>
* tests/cp/cp-a-selinux: Ensure that the -a option does not silence
error diagnostics from --preserve=context, when preserving context
is required.
</content>
</entry>
<entry>
<title>tests: add test for xattr diagnostics on dest. FS lacking xattr support</title>
<updated>2009-04-28T09:16:29Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2009-04-27T15:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8259a73a85c5ef46c26da27f9424aeed360fa2cd'/>
<id>urn:sha1:8259a73a85c5ef46c26da27f9424aeed360fa2cd</id>
<content type='text'>
* tests/cp/cp-mv-enotsup-xattr: Ensure that xattr diagnostics are
displayed correctly when destination filesystem lacks xattr support.
* tests/Makefile.am (root_tests): Add new root-only test.
</content>
</entry>
<entry>
<title>tests: avoid unusual (~1-in-20) failure of a new test</title>
<updated>2009-04-24T19:34:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-24T19:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b726914a4c1ea8f943359d9ad19a09d3ee606694'/>
<id>urn:sha1:b726914a4c1ea8f943359d9ad19a09d3ee606694</id>
<content type='text'>
* tests/misc/sort: Remove one of the generated tests.
363 remain in this file alone.
</content>
</entry>
<entry>
<title>sort -m: don't segfault when output file is also an input file</title>
<updated>2009-04-23T19:03:14Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-22T06:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=25eb4c69097ca4f5665b050cfa4247a19ffd8c55'/>
<id>urn:sha1:25eb4c69097ca4f5665b050cfa4247a19ffd8c55</id>
<content type='text'>
* src/sort.c (avoid_trashing_input): Fix an off-by-one error and
guard the use of memmove.
* NEWS (Bug fixes): Mention it.
* tests/misc/sort: Add tests to exercise the offending code.
* THANKS: Update.
Reported by Otavio Salvador in http://bugs.debian.org/525048.
</content>
</entry>
<entry>
<title>cp: work around linux kernel bug: short-read != EOF on /proc</title>
<updated>2009-04-22T19:52:11Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-17T16:44:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c74fbaefebe91ca60e3a8582613a3714c740df65'/>
<id>urn:sha1:c74fbaefebe91ca60e3a8582613a3714c740df65</id>
<content type='text'>
Remove the optimization that avoided up to 50% of cp's read syscalls.
Do not assume that a short read on a regular file indicates EOF.
When reading from a file in /proc on linux [at least 2.6.9 - 2.6.29]
into a 4k-byte buffer or larger, a short read does not
always indicate EOF.  For example, "cp /proc/slabinfo /tmp"
copies only 4068 of the total 7493 bytes.  This optimization
(25719a33154f0c62ea9881f0c79ae312dd4cec7a, Improve performance a bit
by optimizing away; 2005-11-24) appears to have been worth less than
a 2% speed-up (and usually much less), so the impact of removing it
is negligible.

* src/copy.c (copy_reg): Don't exit the loop early.
* tests/cp/proc-short-read: New test, lightly based on a suggestion
from Mike Frysinger, to exercise this fix.
* tests/Makefile.am (TESTS): Add cp/proc-short-read.
* NEWS (Improve robustness): Mention this change.
</content>
</entry>
<entry>
<title>tests: avoid new "make distcheck" failure due to newer File::Temp</title>
<updated>2009-04-22T19:45:24Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-22T19:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2ad7da759490a5680844e1e4b6b4ac1d13b95d3b'/>
<id>urn:sha1:2ad7da759490a5680844e1e4b6b4ac1d13b95d3b</id>
<content type='text'>
With newer perl (e.g., Fedora 10's 4:5.10.0-68.fc10), tests/CuTmpdir.pm
stopped removing its temporary directories, with diagnostics like this:
  cannot remove path when cwd is /c/coreutils/tests/misc/seq.tmp-e2up \
  for /c/coreutils/tests/misc/seq.tmp-e2up: at \
  /usr/lib/perl5/5.10.0/File/Temp.pm line 902
Chdir out of the target directory before that code runs:
* tests/CuTmpdir.pm (END): chdir '..'.
(chmod_tree): Remove explicit "chdir $dir".
</content>
</entry>
<entry>
<title>tests: avoid failure of install-C test on FreeBSD UFS file system</title>
<updated>2009-04-19T20:17:08Z</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2009-04-17T16:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e453e720b906a422dbaa7e3a40ee607fe4727912'/>
<id>urn:sha1:e453e720b906a422dbaa7e3a40ee607fe4727912</id>
<content type='text'>
* tests/install/install-C: Use 2755 (set-gid), not 1755 (sticky),
to test install -C with non-permission mode bits set.  At least on
FreeBSD with a UFS file system, a non-root user may not set the
sticky bit on a non-directory.
</content>
</entry>
<entry>
<title>tests: misc/ls-misc: avoid shadowing local decl of $e</title>
<updated>2009-04-09T13:29:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-04-09T13:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0df3a91b25183ea9be3cad7d899242073460e3aa'/>
<id>urn:sha1:0df3a91b25183ea9be3cad7d899242073460e3aa</id>
<content type='text'>
* tests/misc/ls-misc (make_j_d): Rename latter $e to $env
</content>
</entry>
<entry>
<title>id: fix infinite loop on some systems</title>
<updated>2009-04-09T13:07:29Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-04-08T09:43:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bf87a2c8ea4487ca4448c9fe42a9c9858400acbd'/>
<id>urn:sha1:bf87a2c8ea4487ca4448c9fe42a9c9858400acbd</id>
<content type='text'>
Steven Parkes reported that `id -G $USER` went into an infinite loop
on Darwin systems for users in more than 10 groups:
http://bugs.gentoo.org/show_bug.cgi?id=264007
* gl/lib/mgetgroups.c (mgetgroups): Work around buggy getgrouplist
implementations that don't update the required size correctly,
by doubling the result buffer and retrying. Also return the
parameter updated by getgrouplist rather than its return value,
as the documentation doesn't actually state the number of groups
stored is returned by getgrouplist.
* tests/misc/id-groups: Add test to exercise this logic
* tests/Makefile.am: Reference new test
* NEWS: Mention the fix
* THANKS: Update
</content>
</entry>
<entry>
<title>maint: Clarify ambiguous refs to Linux kernels or GNU/Linux systems</title>
<updated>2009-04-07T17:57:53Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-04-06T06:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9fdf5845fc87135c4f68bce79f72a25d07130240'/>
<id>urn:sha1:9fdf5845fc87135c4f68bce79f72a25d07130240</id>
<content type='text'>
* README-prereq: s_linux_GNU/Linux_ or s_linux_Linux kernel_
* README-valgrind: ditto
* src/chown-core.c: ditto
* src/dd.c: ditto
* src/df.c: ditto
* src/ls.c: ditto
* src/mv.c: ditto
* src/pwd.c: ditto
* src/remove.c: ditto
* src/shred.c: ditto
* src/stat.c: ditto
* src/su.c: ditto
* src/system.h: ditto
* src/timeout.c: ditto
* src/truncate.c: ditto
</content>
</entry>
</feed>
