<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc, 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-20T21:37:18Z</updated>
<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>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>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>
<entry>
<title>timeout: use more standard option parsing</title>
<updated>2010-03-26T14:27:54Z</updated>
<author>
<name>Kim Hansen</name>
<email>kim@i9.dk</email>
</author>
<published>2010-03-25T17:43:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=88d4b3461e3eeb69e1d09e89f38050abd6b81402'/>
<id>urn:sha1:88d4b3461e3eeb69e1d09e89f38050abd6b81402</id>
<content type='text'>
* src/timeout.c (main): Don't use parse_long_options()
which is a helper for commands that don't have any
long options specific to them.
* tests/misc/timeout-parameters: Remove a case that now
passes due to us accepting multiple instances of the
--help and --version options.
* THANKS: Add the author.

Signed-off-by: Pádraig Brady &lt;P@draigBrady.com&gt;
</content>
</entry>
<entry>
<title>tests: change help-version to per-program functions</title>
<updated>2010-03-19T12:13:08Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>bonzini@gnu.org</email>
</author>
<published>2010-03-19T11:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3dcbcf98f427f8ab6ceafd27396adae4b2276bb8'/>
<id>urn:sha1:3dcbcf98f427f8ab6ceafd27396adae4b2276bb8</id>
<content type='text'>
* help-version: Change each *_args variable to a *_setup function.
</content>
</entry>
<entry>
<title>timeout: add the --kill-after option</title>
<updated>2010-03-16T23:10:15Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-03-15T23:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c403c31e8806b732e1164ef4a206b0eab71bca95'/>
<id>urn:sha1:c403c31e8806b732e1164ef4a206b0eab71bca95</id>
<content type='text'>
Based on a report from Kim Hansen who wanted to
send a KILL signal to the monitored command
when `timeout` itself received a termination signal.
Rather than changing such a signal into a KILL,
we provide the more general mechanism of sending
the KILL after the specified grace period.

* src/timeout.c (cleanup): If a non zero kill delay
is specified, (re)set the alarm to that delay, after
which a KILL signal will be sent to the process group.
(usage): Mention the new option.  Separate the description
of DURATION since it's now specified in 2 places.
Clarify that the duration is an integer.
(parse_duration): A new function refactored from main(),
since this logic is now called for two parameters.
(main): Parse the -k option.
* doc/coreutils.texi (timeout invocation): Describe the
new --kill-after option and use @display rather than
@table to show the duration suffixes.  Clarify that
a duration of 0 disables the associated timeout.
* tests/misc/timeout-parameters: Check invalid --kill-after.
* tests/misc/timeout: Check a valid --kill-after works.
* NEWS: Mention the new feature.
</content>
</entry>
<entry>
<title>sort: fix issues with month sorting in some locales</title>
<updated>2010-03-01T10:58:02Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-02-26T15:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=59e2e55d0f154a388adc9bac37d2b45f2ba971f8'/>
<id>urn:sha1:59e2e55d0f154a388adc9bac37d2b45f2ba971f8</id>
<content type='text'>
* src/sort.c (char fold_toupper[]): Change to unsigned
so as the correct comparisons are made in getmonth().
This fixes unibyte locales where abbreviated months
have characters that are &gt; 0x7F, but it also works for
multibyte locales with the caveat that multibyte characters
are matched case sensitively.
With this change, the following example sorts correctly:
  $ echo -e "1 márta\n2 Feabhra" | LANG=ga_IE.utf8 sort -k2,2M
  2 Feabhra
  1 márta
* src/sort.c (inittables): Since we ignore blanks around months
in the input, don't include them when they're present in the locale.
With this change, the following example sorts correctly:
  $ echo -e "1 2月\n2 1月" | LANG=ja_JP.utf8 sort -k2,2M
  2 1月
  1 2月
* tests/misc/sort-month: A new test to exercise the above cases.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>expr: clarify error message</title>
<updated>2010-02-25T15:54:49Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-02-25T15:36:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9a6c97eb2965adf868b26acf0ace0094dfe4cada'/>
<id>urn:sha1:9a6c97eb2965adf868b26acf0ace0094dfe4cada</id>
<content type='text'>
* src/expr.c (eval4, eval3): Clarify that expr expects integers,
and not the broader category of numbers.
* tests/misc/expr: Update test accordingly.
Suggested by Dan Jacobson.
</content>
</entry>
<entry>
<title>tests: include help-version test settings used by gzip and grep</title>
<updated>2010-02-07T16:18:02Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-02-07T11:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=86573d33a70248bb67567272629af9841ae2f562'/>
<id>urn:sha1:86573d33a70248bb67567272629af9841ae2f562</id>
<content type='text'>
* tests/misc/help-version: ...the better to keep this file in sync.
</content>
</entry>
</feed>
