<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch v7.4</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.4</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-05-05T06:52:09Z</updated>
<entry>
<title>tests: rm/one-file-system: umount more reliably</title>
<updated>2009-05-05T06:52:09Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-05T05:54:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8d00fb26f1bd5847f8e1318fdb99c8ef256dbece'/>
<id>urn:sha1:8d00fb26f1bd5847f8e1318fdb99c8ef256dbece</id>
<content type='text'>
* tests/rm/one-file-system: Run umount via trap, so it runs
also upon irregular termination.
</content>
</entry>
<entry>
<title>tests: add tests of e.g., date -d 'next monday'</title>
<updated>2009-05-03T10:03:50Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-03T04:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=59e8a5e2b28561ee6fcf070b058b787a8fe247d5'/>
<id>urn:sha1:59e8a5e2b28561ee6fcf070b058b787a8fe247d5</id>
<content type='text'>
* tests/misc/date-next-dow: New file.
* tests/Makefile.am (TESTS): Add misc/date-next-dow.
* gnulib: Update submodule to latest, for getdate.y that
handles "next Monday" properly when run on a Monday.
</content>
</entry>
<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>
</feed>
