<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/patch.git/tests/create-delete, branch testing</title>
<subtitle>git.savannah.gnu.org: git/patch.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/'/>
<entry>
<title>test-lib.sh: factorize require_* functions</title>
<updated>2015-01-31T21:14:01+00:00</updated>
<author>
<name>Quentin Casasnovas</name>
<email>quentin.casasnovas@oracle.com</email>
</author>
<published>2015-01-27T12:31:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=c80b1a06a9209e6e7f1b624b9058e2b838c67797'/>
<id>c80b1a06a9209e6e7f1b624b9058e2b838c67797</id>
<content type='text'>
Since the code is identical when just checking if a utility is present on
the system or not, we can factorize it.

Signed-off-by: Quentin Casasnovas &lt;quentin.casasnovas@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the code is identical when just checking if a utility is present on
the system or not, we can factorize it.

Signed-off-by: Quentin Casasnovas &lt;quentin.casasnovas@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve error message when refusing to delete file</title>
<updated>2014-08-12T23:16:44+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2014-08-12T23:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=f926295f4fdfb2777bbd4bfa51441fd5a4f0a9b0'/>
<id>f926295f4fdfb2777bbd4bfa51441fd5a4f0a9b0</id>
<content type='text'>
* src/patch.c: Improve error message.
* tests/create-delete: Update the test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c: Improve error message.
* tests/create-delete: Update the test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't fail test suite if printf '\0' is broken</title>
<updated>2012-09-30T11:06:35+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-30T11:06:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=47191c287d952fde12a9920fe5d800241b6f668d'/>
<id>47191c287d952fde12a9920fe5d800241b6f668d</id>
<content type='text'>
* tests/create-delete: Skip binary diff test if printf '\0' is broken.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/create-delete: Skip binary diff test if printf '\0' is broken.
</pre>
</div>
</content>
</entry>
<entry>
<title>Repair 'backup of unmodified file' test</title>
<updated>2012-09-28T16:39:33+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-28T10:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=fc5ddce20e783dde69c6903b6270ec4f290b3150'/>
<id>fc5ddce20e783dde69c6903b6270ec4f290b3150</id>
<content type='text'>
tests/create-delete: Repair 'backup of unmodified file' test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests/create-delete: Repair 'backup of unmodified file' test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve the previous commit</title>
<updated>2012-09-25T23:33:22+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-25T23:33:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=e8bfce654715e443830069b9dfa73e7300de0392'/>
<id>e8bfce654715e443830069b9dfa73e7300de0392</id>
<content type='text'>
* src/patch.c: Only print the "file is not empty after patch" message when
trying to delete the output file.  Say that we were trying to delete the file.
* tests/create-delete: Fix the expected messages.  Add test cases for the
--remove-empty-files and --posix options.
* NEWS: Better describe this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c: Only print the "file is not empty after patch" message when
trying to delete the output file.  Say that we were trying to delete the file.
* tests/create-delete: Fix the expected messages.  Add test cases for the
--remove-empty-files and --posix options.
* NEWS: Better describe this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Only expect files to become empty if the patch says so</title>
<updated>2012-09-25T02:07:53+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-25T00:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=1d9ed51e9c812d49affc2f9b3cd985257f6a525b'/>
<id>1d9ed51e9c812d49affc2f9b3cd985257f6a525b</id>
<content type='text'>
Test cases based on patches from Dmitry V. Levin &lt;ldv@altlinux.org&gt;.
* src/patch.c (main): Only expect files to become empty if the patch says so.
* NEWS: Document this change.
* tests/create-delete: Add (more) empty vs. non-empty test cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test cases based on patches from Dmitry V. Levin &lt;ldv@altlinux.org&gt;.
* src/patch.c (main): Only expect files to become empty if the patch says so.
* NEWS: Document this change.
* tests/create-delete: Add (more) empty vs. non-empty test cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>In a git-style diff, make sure not to unlink the original by accident</title>
<updated>2012-09-13T14:32:53+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-13T14:13:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=281537bcd92515ae3b9f154acd579ce97260f99b'/>
<id>281537bcd92515ae3b9f154acd579ce97260f99b</id>
<content type='text'>
* src/patch.c (main): Fail if a file is not empty as expected.
(output_files): In a git-style diff, make sure not to unlink the original when
making a backup of an unmodified file.
* tests/create-delete: Fix failed-file-deletion test and add
successful-file-deletion test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c (main): Fail if a file is not empty as expected.
(output_files): In a git-style diff, make sure not to unlink the original when
making a backup of an unmodified file.
* tests/create-delete: Fix failed-file-deletion test and add
successful-file-deletion test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix segfault in output_file_later()</title>
<updated>2012-04-24T10:37:26+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-04-24T10:37:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=90d4e1f3d5fe04e3fb60ec21fb2a943cc90b0c75'/>
<id>90d4e1f3d5fe04e3fb60ec21fb2a943cc90b0c75</id>
<content type='text'>
Bug reported by Dmitry V. Levin &lt;ldv@altlinux.org&gt;.
* src/patch.c (output_file_later): Fix case where the output file is identical
with the input file (and to == NULL).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug reported by Dmitry V. Levin &lt;ldv@altlinux.org&gt;.
* src/patch.c (output_file_later): Fix case where the output file is identical
with the input file (and to == NULL).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "delete file which does not exist" test case</title>
<updated>2012-04-17T14:48:19+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-04-16T12:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=b9a1ff0cfa3144f212b4f1c3923c3b3c281e2240'/>
<id>b9a1ff0cfa3144f212b4f1c3923c3b3c281e2240</id>
<content type='text'>
* tests/create-delete: Remove left-over file f.orig before the test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/create-delete: Remove left-over file f.orig before the test.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2012-01-01T09:26:02+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T09:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=2d38b11799be79a2a141181689a889bd5bee25da'/>
<id>2d38b11799be79a2a141181689a889bd5bee25da</id>
<content type='text'>
Run "make update-copyright".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "make update-copyright".
</pre>
</div>
</content>
</entry>
</feed>
