<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/init.sh, branch v8.18</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.18</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2012-07-04T11:32:24Z</updated>
<entry>
<title>date: fails to diagnose invalid input</title>
<updated>2012-07-04T11:32:24Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-07-04T11:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc322ddd16607c0c8e978e5003008344e2710ec9'/>
<id>urn:sha1:cc322ddd16607c0c8e978e5003008344e2710ec9</id>
<content type='text'>
date -d "$(printf '\xb0')" would print 00:00:00 with today's date
rather than diagnosing the invalid input.  Now it reports this:
date: invalid date '\260'
* gnulib: Update submodule to latest for fixed parse-datetime.y.
* tests/misc/date [invalid-high-bit-set]: New test.
* NEWS (Bug fixes): Mention it.
* bootstrap, tests/init.sh: Also update to latest.
Reported by Peter Evans in http://bugs.gnu.org/11843
</content>
</entry>
<entry>
<title>build: update gnulib submodule to latest; also bootstrap and init.sh</title>
<updated>2012-05-08T13:47:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-05-08T09:05:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=30071b2f5cb8135154cbc7bb0ec76c5926d2b983'/>
<id>urn:sha1:30071b2f5cb8135154cbc7bb0ec76c5926d2b983</id>
<content type='text'>
* bootstrap: Update from gnulib.
* tests/init.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: change `...' to '...' on lines not matching /[=\$]/</title>
<updated>2012-01-09T20:50:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-07T16:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2'/>
<id>urn:sha1:dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2</id>
<content type='text'>
Exempt lines with '$' or '=', since those are prone to improper
conversion.  Run this:
  git grep -l "\`[^']*'" tests \
   |xargs perl -pi -e '/[=\$]/ and next;s/\`([^'\''"]*?'\'')/'\''$1/g'
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2012-01-01T09:04:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T08:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5111aa42968262bd4d44eeca277b194020bb5007'/>
<id>urn:sha1:5111aa42968262bd4d44eeca277b194020bb5007</id>
<content type='text'>
Run "make update-copyright".
</content>
</entry>
<entry>
<title>build: update gnulib and tests/init.sh</title>
<updated>2011-11-23T07:56:56Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-11-23T07:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3d213a17fac0a33d9845d1511d568a68ae2035ec'/>
<id>urn:sha1:3d213a17fac0a33d9845d1511d568a68ae2035ec</id>
<content type='text'>
* gnulib: Update.
* tests/init.sh: Update from gnulib.
</content>
</entry>
<entry>
<title>tests: init.sh: support any non-GNU diff</title>
<updated>2011-09-19T17:24:46Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2011-09-19T17:24:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a4fa14849a7e310d135732142df2439f8f820483'/>
<id>urn:sha1:a4fa14849a7e310d135732142df2439f8f820483</id>
<content type='text'>
* tests/init.sh (compare): If "diff -c" is supported but "diff -u" is
not, use "diff -c".  Useful on AIX 6.1, HP-UX 11.31, OSF/1 5.1,
Solaris 8.
</content>
</entry>
<entry>
<title>tests: init.sh: work also with any non-GNU diff that supports -u</title>
<updated>2011-09-02T12:08:40Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2011-09-02T08:51:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0cefe580926e17c8781e8140bd9912795b6e21cc'/>
<id>urn:sha1:0cefe580926e17c8781e8140bd9912795b6e21cc</id>
<content type='text'>
* tests/init.sh: Relax check for diff -u support.
Rather than checking for GNU diff via --version, simply check
for support for -u itself.  Useful at least on OpenBSD 4.9.
</content>
</entry>
<entry>
<title>tests: init.sh: use "sed 1q" in place of "head -1"</title>
<updated>2011-06-20T08:01:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-06-20T08:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1d919fbb7fc5e75e3bf2835f9e2fccbe179b7d69'/>
<id>urn:sha1:1d919fbb7fc5e75e3bf2835f9e2fccbe179b7d69</id>
<content type='text'>
* tests/init.sh (warn_): Use "sed 1q" in place of "head -1".
The latter is officially obsolete but more portable than "head -n1".
Reported by Bernhard Voelker.
</content>
</entry>
<entry>
<title>tests: improve init.sh by removing w2_</title>
<updated>2011-06-20T07:53:20Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2011-06-20T07:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b970f0a50546e7cc062b0f76df45ae69661b2846'/>
<id>urn:sha1:b970f0a50546e7cc062b0f76df45ae69661b2846</id>
<content type='text'>
* tests/init.sh (w2_): Remove, moving contents into...
(warn_): ...here.  Call self from subshell when IFS must be changed.
</content>
</entry>
<entry>
<title>tests: remove skip_test_ function; use new skip_ instead</title>
<updated>2011-06-17T07:17:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-06-14T14:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2e580ca741b83202e6b22e0bb58b18101a443bd8'/>
<id>urn:sha1:2e580ca741b83202e6b22e0bb58b18101a443bd8</id>
<content type='text'>
* tests/init.cfg (skip_test_): Remove function.
Use skip_ in place of skip_test_ everywhere else.
* cfg.mk (sc_prohibit_skip_): Remove rule.
* tests/**: Use skip_, not skip_test_, everywhere.
</content>
</entry>
</feed>
