<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc, branch v8.4</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.4</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-01-13T09:21:02Z</updated>
<entry>
<title>tests: don't silently skip the sort-version tests</title>
<updated>2010-01-13T09:21:02Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-13T09:19:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b498ba1410d9730782db439db27e85ff20d0e56'/>
<id>urn:sha1:3b498ba1410d9730782db439db27e85ff20d0e56</id>
<content type='text'>
* tests/misc/sort-version: Don't use &lt;&lt;- and indented here-doc contents.
s/&lt;&lt;-/&lt;&lt;/ and unindent the here-document contents.  Otherwise,
bash would ignore the indented delimiter and use EOF, thus silently
skipping this test.  OpenBSD5.4's shell reported the failure:
  $ printf 'cat&lt;&lt;-x\n foo\n x\n'|sh
  sh: &lt;stdin&gt;[4]: here document `x' unclosed
  [Exit 1]
by contrast, bash warns but still exits successfully:
  $ printf 'cat&lt;&lt;-x\n foo\n x\n'|bash &amp;&amp; echo you lose
  bash: line 3: warning: here-document at line 1 delimited by \
    end-of-file (wanted `x')
   foo
   x
  you lose
</content>
</entry>
<entry>
<title>ls: fix color of broken symlinks colored as target</title>
<updated>2010-01-01T20:41:46Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2010-01-01T14:39:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b7f2b51c42edabd516c5ecc748a654da736c912c'/>
<id>urn:sha1:b7f2b51c42edabd516c5ecc748a654da736c912c</id>
<content type='text'>
* src/ls.c (print_color_indicator): When using 'LINK target' in
dircolors, treat broken symlink as C_ORPHAN.
* tests/misc/ls-misc (sl-dangle2, sl-dangle3, sl-dangle4)
(sl-dangle5): Test for it, and add more coverage.
* NEWS: Document it.
* THANKS: Update.
Reported by Chris Jones.
</content>
</entry>
<entry>
<title>maint: add a few copyrights; remove obsolete README file</title>
<updated>2010-01-01T13:06:48Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-01T10:02:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=157c2bc55e7433bd3d79197f55d33b80f79eccf7'/>
<id>urn:sha1:157c2bc55e7433bd3d79197f55d33b80f79eccf7</id>
<content type='text'>
* tests/README: Remove long-obsolete file.
* tests/Makefile.am (EXTRA_DIST): Remove README.
* tests/misc/truncate-dir-fail: Add copyright comment.
* tests/misc/selinux: Likewise.
* tests/misc/chcon: Likewise.
* tests/misc/chcon-fail: Likewise.
* tests/sample-test: Use only 2010 in this list.
</content>
</entry>
<entry>
<title>maint: update all FSF copyright year lists to include 2010</title>
<updated>2010-01-01T13:06:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-01T09:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1aa17dc89b3f313697661541adca0aa0defbdc09'/>
<id>urn:sha1:1aa17dc89b3f313697661541adca0aa0defbdc09</id>
<content type='text'>
Use this command:
git ls-files | grep -v COPYING \
  | xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \
      build-aux/update-copyright
</content>
</entry>
<entry>
<title>wc: line-buffer the printed counts</title>
<updated>2009-12-23T13:45:34Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-22T07:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=11dc0016bb72372bbd46b964fb57f4d10448225a'/>
<id>urn:sha1:11dc0016bb72372bbd46b964fb57f4d10448225a</id>
<content type='text'>
* src/wc.c (main): Set stdout to line buffered mode
to ensure parallel running instances don't intersperse
their output.  This adds 6.5% to the run time in the worst case
of many zero length files, but has neglible impact for
standard sized files.
* tests/misc/wc-parallel: New test for atomic output.
* tests/Makefile.am: Reference it.
* NEWS: Mention the fix
This is similar to commit 710fe413, 20-10-2009,
"md5sum, sha*sum, sum: line-buffer the printed checksums"
</content>
</entry>
<entry>
<title>tests: avoid spurious failure when run via valgrind</title>
<updated>2009-12-10T15:50:05Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-12-10T07:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=06e9880c8e3a0d985cd1a36f1ddc160d1adfb8e2'/>
<id>urn:sha1:06e9880c8e3a0d985cd1a36f1ddc160d1adfb8e2</id>
<content type='text'>
* tests/misc/printenv: Ignore LD_PRELOAD differences.
</content>
</entry>
<entry>
<title>maint: remove an erroneous comment</title>
<updated>2009-12-08T15:33:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-08T15:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=321d2901de6079213af50cecf4cba1de256bb117'/>
<id>urn:sha1:321d2901de6079213af50cecf4cba1de256bb117</id>
<content type='text'>
* tests/misc/timeout: Remove an erroneous comment
introduced through copy and paste.
</content>
</entry>
<entry>
<title>sort: fix failure if sort's parent has ignored SIGCHLD</title>
<updated>2009-12-08T15:29:27Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-08T08:48:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f5a97b8269f11f63cf05cca1f31a08dc7567aeb9'/>
<id>urn:sha1:f5a97b8269f11f63cf05cca1f31a08dc7567aeb9</id>
<content type='text'>
* src/sort.c (main): Reset the SIGCHLD handler to the default
as otherwise wait() could return an error.
* tests/misc/sort-compress: Set the CHLD handler in a subshell
to SIG_IGN to ensure the sort command resets it to SIG_DFL.
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>timeout: fix failure if timeout's parent has ignored SIGCHLD</title>
<updated>2009-12-08T15:17:01Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-07T19:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=73d46261344d5bd05c0940bc2ec5f9ed9a47db1b'/>
<id>urn:sha1:73d46261344d5bd05c0940bc2ec5f9ed9a47db1b</id>
<content type='text'>
* src/timeout.c (main): Reset the SIGCHLD handler to the default
as otherwise wait() could return -1 and set errno to ECHILD.
This condition was ignored until commit 0b1dcf33, on 31-08-2009,
"timeout: defensive handling of all wait() errors"
but subsequently timeout would run the command correctly
but then fail with an error message.
* tests/misc/timeout: In a subshell set the CHLD handler to
SIG_IGN to ensure the timeout command resets it to SIG_DFL.
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>tests: fix stty-row-col failure on small fixed terminals</title>
<updated>2009-12-08T15:08:44Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-08T08:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7ac41f995014067dd4f9eb6f75875f44f761e49a'/>
<id>urn:sha1:7ac41f995014067dd4f9eb6f75875f44f761e49a</id>
<content type='text'>
* tests/misc/stty-row-col: Linux virtual consoles at least,
issue an error if you try to increase their size, so skip the
test if we can't increase the dimensions of the tty by 1 cell.
Reported by Matthew Burgess.
</content>
</entry>
</feed>
