<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/diffutils.git/tests, branch v3.1</title>
<subtitle>git.savannah.gnu.org: git/diffutils.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/'/>
<entry>
<title>tests: update init.sh from gnulib</title>
<updated>2011-08-03T16:07:33+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-08-03T16:07:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=c06794dacf66868840ea4818352929eabeec09c2'/>
<id>c06794dacf66868840ea4818352929eabeec09c2</id>
<content type='text'>
* tests/init.sh: Update from gnulib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/init.sh: Update from gnulib.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: avoid newer but less-portable tail option syntax</title>
<updated>2011-01-24T15:34:32+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-01-24T15:32:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=4e0d3664c7a1a7515309b140dbf8ff27538423cf'/>
<id>4e0d3664c7a1a7515309b140dbf8ff27538423cf</id>
<content type='text'>
* tests/function-line-vs-leading-space: Use sed -n '3,$p' rather than
tail -n+3.  Older versions of tail do not accept that newer syntax.
Reported by Sudhakara Peram.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/function-line-vs-leading-space: Use sed -n '3,$p' rather than
tail -n+3.  Older versions of tail do not accept that newer syntax.
Reported by Sudhakara Peram.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix an erroneous test</title>
<updated>2011-01-24T12:36:17+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-01-24T12:36:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=bf4003c13d75c927f5f616b2c38eef7c3d7e28c4'/>
<id>bf4003c13d75c927f5f616b2c38eef7c3d7e28c4</id>
<content type='text'>
On most systems, like-named files were compared, by luck.
However, on others, different-named files would be compared
since their names were being treated as equal -- but they had
different content, so the test would fail.
* tests/colliding-file-names: Use different sets of file names
in d1 and d2 so that they cannot accidentally match.
Put the same line in each test file.  This is required
when files named e.g., abc and ABC are compared.
This test was failing on a NixOS 86_64-darwin system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On most systems, like-named files were compared, by luck.
However, on others, different-named files would be compared
since their names were being treated as equal -- but they had
different content, so the test would fail.
* tests/colliding-file-names: Use different sets of file names
in d1 and d2 so that they cannot accidentally match.
Put the same line in each test file.  This is required
when files named e.g., abc and ABC are compared.
This test was failing on a NixOS 86_64-darwin system.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix typo that silently disabled all tests</title>
<updated>2011-01-24T11:13:16+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-01-24T11:13:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=13b0958f25f67ad1d759105921650243dfbe648c'/>
<id>13b0958f25f67ad1d759105921650243dfbe648c</id>
<content type='text'>
* tests/Makefile.am (TESTS): Fix typo: s/jESTS/TESTS/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/Makefile.am (TESTS): Fix typo: s/jESTS/TESTS/
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: update copyright year ranges to include 2011</title>
<updated>2011-01-03T21:13:35+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-01-03T21:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=ce5367b6b3e4df909883f41f3ad6f12981f5a263'/>
<id>ce5367b6b3e4df909883f41f3ad6f12981f5a263</id>
<content type='text'>
Run "make update-copyright", so "make syntax-check" works in 2011.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "make update-copyright", so "make syntax-check" works in 2011.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: adjust init.sh use to conform</title>
<updated>2010-09-04T07:15:32+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-09-04T07:08:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=361b3b13da25366256745b7cce4ff71231ef24e9'/>
<id>361b3b13da25366256745b7cce4ff71231ef24e9</id>
<content type='text'>
* tests/help-version: Use one line: "${srcdir=.}/init.sh"; ...
* tests/basic: Likewise.
* tests/binary: Likewise.
* tests/colliding-file-names: Likewise.
* tests/excess-slash: Likewise.
* tests/function-line-vs-leading-space: Likewise.
* tests/help-version: Likewise.
* tests/label-vs-func: Likewise.
* tests/no-newline-at-eof: Likewise.
* tests/stdin: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/help-version: Use one line: "${srcdir=.}/init.sh"; ...
* tests/basic: Likewise.
* tests/binary: Likewise.
* tests/colliding-file-names: Likewise.
* tests/excess-slash: Likewise.
* tests/function-line-vs-leading-space: Likewise.
* tests/help-version: Likewise.
* tests/label-vs-func: Likewise.
* tests/no-newline-at-eof: Likewise.
* tests/stdin: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: update build/test tools from gnulib</title>
<updated>2010-09-04T06:54:18+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-09-04T06:54:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=0d0c959471b898f18166f65dcb164c7b602a416c'/>
<id>0d0c959471b898f18166f65dcb164c7b602a416c</id>
<content type='text'>
* bootstrap: Update from gnulib.
* tests/init.sh: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap: Update from gnulib.
* tests/init.sh: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff -r: avoid printing excess slashes in concatenated file names</title>
<updated>2010-08-14T22:15:57+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-08-14T22:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=53de393ca335e77f22d3789100734c87868f12b3'/>
<id>53de393ca335e77f22d3789100734c87868f12b3</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add filenamecat.
* src/diff.c: Include "filenamecat.h".
(compare_files): Use file_name_concat, rather than dir_file_pathname.
* src/util.c (dir_file_pathname): Remove now-unused function.
* src/diff.h: Remove its declaration.
* tests/excess-slash: New script to test for this.
* tests/Makefile.am (TESTS): Add it.
Forwarded by Santiago Vila from &lt;bugs.debian.org/586301a&gt;,
reported by Jari Aalto.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap.conf (gnulib_modules): Add filenamecat.
* src/diff.c: Include "filenamecat.h".
(compare_files): Use file_name_concat, rather than dir_file_pathname.
* src/util.c (dir_file_pathname): Remove now-unused function.
* src/diff.h: Remove its declaration.
* tests/excess-slash: New script to test for this.
* tests/Makefile.am (TESTS): Add it.
Forwarded by Santiago Vila from &lt;bugs.debian.org/586301a&gt;,
reported by Jari Aalto.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: avoid spurious diffs when two distinct dir entries compare equal</title>
<updated>2010-08-13T00:55:38+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-08-13T00:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=f2ad578b241713fa81d98b3573fa42397d2ea3f8'/>
<id>f2ad578b241713fa81d98b3573fa42397d2ea3f8</id>
<content type='text'>
Problem reported by Christoph Anton Mitterer in:
http://lists.gnu.org/archive/html/bug-diffutils/2010-08/msg00000.html

* NEWS: Mention this bug fix.
* src/dir.c (compare_names_for_qsort): Fall back on file_name_cmp
if two distinct entries in the same directory compare equal.
(diff_dirs): Prefer a file_name_cmp match when available.
* tests/Makefile.am (TESTS): New test colliding-file-names.
* tests/colliding-file-names: New file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem reported by Christoph Anton Mitterer in:
http://lists.gnu.org/archive/html/bug-diffutils/2010-08/msg00000.html

* NEWS: Mention this bug fix.
* src/dir.c (compare_names_for_qsort): Fall back on file_name_cmp
if two distinct entries in the same directory compare equal.
(diff_dirs): Prefer a file_name_cmp match when available.
* tests/Makefile.am (TESTS): New test colliding-file-names.
* tests/colliding-file-names: New file.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: update gnulib submodule to latest</title>
<updated>2010-04-30T16:56:15+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-04-30T16:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=5c63f4d41638b863f5c5a71401af6e1c042d223d'/>
<id>5c63f4d41638b863f5c5a71401af6e1c042d223d</id>
<content type='text'>
* bootstrap: Also update from gnulib.
* tests/init.sh: Likewise
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap: Also update from gnulib.
* tests/init.sh: Likewise
</pre>
</div>
</content>
</entry>
</feed>
