<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch v8.5</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.5</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-04-23T13:44:19Z</updated>
<entry>
<title>tests: fix exit status of signal handlers in shell scripts</title>
<updated>2010-04-23T13:44:19Z</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2010-01-30T16:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c0a121c9bccc6175dc3cdb705e2ec8cb2be9f71c'/>
<id>urn:sha1:c0a121c9bccc6175dc3cdb705e2ec8cb2be9f71c</id>
<content type='text'>
The value of `$?' on entrance to signal handlers in shell scripts
cannot be relied upon, so set the exit code explicitly.

* cfg.mk (sc_always_defined_macros, sc_system_h_headers): Set
the exit code in signal handler explicitly to 128 + SIG&lt;SIGNAL&gt;.
* src/Makefile.am (sc_tight_scope): Likewise.
* tests/test-lib.sh: Likewise.
</content>
</entry>
<entry>
<title>sort: fix parsing of end field in obsolescent key formats</title>
<updated>2010-04-20T21:37:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-04-20T15:25:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8fc12909f649fbe75eb84c48ace554ae3e4e6c06'/>
<id>urn:sha1:8fc12909f649fbe75eb84c48ace554ae3e4e6c06</id>
<content type='text'>
This regression was introduced in commit 224a69b5, 2009-02-24,
"sort: Fix two bugs with determining the end of field".
The specific regression being that we include 1 field too many when
an end field is specified using obsolescent key syntax (+POS -POS).

* src/sort.c (struct keyfield): Clarify the description of the eword
member, as suggested by Alan Curry.
(main): When processing obsolescent format key specifications,
normalize eword to a zero based count when no specific end char is given
for an end field. This matches what's done when keys are specified with -k.
* tests/misc/sort: Add a few more tests for the obsolescent key formats,
with test 07i being the particular failure addressed by this change.
* THANKS: Add Alan Curry who precisely identified the issue.
* NEWS: Mention the fix.
Reported by Santiago Rodríguez
</content>
</entry>
<entry>
<title>cp: preserve "capabilities" when also preserving file ownership</title>
<updated>2010-04-16T22:02:02Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-04-16T07:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1777d0dfe34dc4d8c148a34a96eb92c6036ff7bd'/>
<id>urn:sha1:1777d0dfe34dc4d8c148a34a96eb92c6036ff7bd</id>
<content type='text'>
* src/copy.c (copy_reg): Copy xattrs _after_ setting file ownership
so that capabilities are not cleared when setting ownership.
* tests/cp/capability: A new root test.
* tests/Makefile.am (root_tests): Reference the new test.
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>tests: avoid spurious failure of ls/color-norm test</title>
<updated>2010-04-15T23:26:21Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-04-14T14:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3a1595a3fbb07c53ea920c969667f0346a10534c'/>
<id>urn:sha1:3a1595a3fbb07c53ea920c969667f0346a10534c</id>
<content type='text'>
* tests/ls/color-norm: Use the "time" output by `ls -l`
to check normal style.  Previously we used the size from `ls -s`,
but the size of "empty" files can vary depending on whether
SELinux is enabled for example.
</content>
</entry>
<entry>
<title>tests: avoid spurious failure of root-only ls/capability test</title>
<updated>2010-04-14T13:48:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-04-14T13:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=05bee6f116d81084f5796b2ab1ec12135fb72fc2'/>
<id>urn:sha1:05bee6f116d81084f5796b2ab1ec12135fb72fc2</id>
<content type='text'>
* tests/ls/capability: Adjust this test not to expect the no-op escape
sequence that was removed from all other tests by 2010-01-30 commit
5d43617e, "ls --color: don't emit a final no-op escape sequence".
</content>
</entry>
<entry>
<title>cp: treat selinux warnings consistently</title>
<updated>2010-04-13T12:09:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-04-13T11:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=584e38d8b3199924ce24f9fa075d27d0d82a2a8b'/>
<id>urn:sha1:584e38d8b3199924ce24f9fa075d27d0d82a2a8b</id>
<content type='text'>
* src/copy.c (copy_reg): Suppress SELinux ENOTSUP warnings consistently
between the destination being present or not.  Previously we did
not suppress ENOTSUP messages when the destination was present.
(copy_internal): Use the same ENOTSUP supression method as
copy_reg() even though the issue was not seen in this case.
* tests/cp/cp-a-selinux: Add a test case for the issue and
group the other test cases in the file more coherently.
* tests/cp/cp-mv-enotsup-xattr: Do the same check for xattr
warnings, even though they did not have the issue.
</content>
</entry>
<entry>
<title>tests: add a PATH-sanity-check to help-version</title>
<updated>2010-04-07T09:47:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-04-07T09:47:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f6b2f46714c7aab9f1402008f12f8c83487a5761'/>
<id>urn:sha1:f6b2f46714c7aab9f1402008f12f8c83487a5761</id>
<content type='text'>
* tests/misc/help-version: Sync from gzip's version.
* tests/check.mk (TESTS_ENVIRONMENT): Export VERSION, as required
for new help-version test.
</content>
</entry>
<entry>
<title>tests: avoid spurious sc_prohibit_test_minus_ao syntax-check failures</title>
<updated>2010-03-29T06:28:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-03-29T06:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5ef03d6c5bb8d5d822a32db465894c8e051e38ac'/>
<id>urn:sha1:5ef03d6c5bb8d5d822a32db465894c8e051e38ac</id>
<content type='text'>
* tests/misc/ls-time: Change comments and diagnostics.
* tests/misc/xattr: Likewise.
</content>
</entry>
<entry>
<title>tests: fix typos in envvar-check script</title>
<updated>2010-03-26T15:49:48Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-03-26T15:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8915368ee3f9580155a8a3119a27e9615368a846'/>
<id>urn:sha1:8915368ee3f9580155a8a3119a27e9615368a846</id>
<content type='text'>
* tests/envvar-check: Fix variable name typos.
Probably harmless, since no selected shell would fail to unset.
</content>
</entry>
<entry>
<title>nice,chroot: use more standard option parsing</title>
<updated>2010-03-26T14:31:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-03-26T07:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b4f9559537144a7158064ca67b7a4305f1c459df'/>
<id>urn:sha1:b4f9559537144a7158064ca67b7a4305f1c459df</id>
<content type='text'>
Related to the 2010-03-25 commit, 88d4b346,
"timeout: use more standard option parsing".
* src/nice.c (main): Don't use parse_long_options()
which is a helper for commands that don't have any
long options specific to them.
* src/chroot.c (main): Likewise.
* tests/misc/nice-fail: Remove a case that now
passes due to us accepting multiple instances of the
--help and --version options.
* tests/misc/chroot-fail: Likewise.
</content>
</entry>
</feed>
