<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/patch.git/tests, branch baserock/morph</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>maint: enable the sc_space_tab syntax-check rule</title>
<updated>2012-01-01T10:26:31+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T09:57:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=d0745f417ce32d647ab5a949b6027404da5e98c3'/>
<id>d0745f417ce32d647ab5a949b6027404da5e98c3</id>
<content type='text'>
* cfg.mk (local-checks-to-skip): Remove sc_space_tab,
thus enabling this syntax-check rule.
* tests/quoted-filenames: Use TAB-space, not space-TAB.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* cfg.mk (local-checks-to-skip): Remove sc_space_tab,
thus enabling this syntax-check rule.
* tests/quoted-filenames: Use TAB-space, not space-TAB.
</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>
<entry>
<title>Timestamp not set when creating files with --set-time or --set-utc</title>
<updated>2011-12-08T23:53:38+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2011-12-08T23:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=5ca55b84143a840218bcdc78120b44b02d8ef561'/>
<id>5ca55b84143a840218bcdc78120b44b02d8ef561</id>
<content type='text'>
* src/util.h (enum file_attributes): Add FA_XATTRS flag for extended
attributes.
* src/patch.c (main): Use set_file_attributes() even when the infile doesn't
exist: it may still set the file time (FA_TIMES).  Omit all other FA_ flags if
infile doesn't exist.  Otherwise, add FA_XATTRS as well.
* src/util.c (set_file_attributes): Only copy extended attributes if FA_XATTRS
is set.  Avoid using st where it may be undefined.
* tests/preserve-mode-and-timestamp: Add file create test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/util.h (enum file_attributes): Add FA_XATTRS flag for extended
attributes.
* src/patch.c (main): Use set_file_attributes() even when the infile doesn't
exist: it may still set the file time (FA_TIMES).  Omit all other FA_ flags if
infile doesn't exist.  Otherwise, add FA_XATTRS as well.
* src/util.c (set_file_attributes): Only copy extended attributes if FA_XATTRS
is set.  Avoid using st where it may be undefined.
* tests/preserve-mode-and-timestamp: Add file create test.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: specify test runner in LOG_COMPILER, not in TEST_ENVIRONMENT</title>
<updated>2011-10-11T22:34:19+00:00</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2011-10-10T23:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=17086c5cf2656df6f1dd4db7970a20ed519267ea'/>
<id>17086c5cf2656df6f1dd4db7970a20ed519267ea</id>
<content type='text'>
* tests/Makefile.am (TESTS_ENVIRONMENT): Don't use $(SHELL) here
to ensure the test scripts are run through it; instead, ...
(LOG_COMPILER): ... use it here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/Makefile.am (TESTS_ENVIRONMENT): Don't use $(SHELL) here
to ensure the test scripts are run through it; instead, ...
(LOG_COMPILER): ... use it here.
</pre>
</div>
</content>
</entry>
<entry>
<title>give a diagnostic rather than a failed assertion for a mangled patch</title>
<updated>2011-10-11T01:31:57+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-10-09T09:42:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=4e595c3b6de267bfe770c218bb38c116a3d7d59f'/>
<id>4e595c3b6de267bfe770c218bb38c116a3d7d59f</id>
<content type='text'>
* src/pch.c (another_hunk): Rather than asserting(C), issue the
"replacement text or line numbers mangled ..." diagnostic when !C.
* tests/mangled-numbers-abort: New test for the above.
* tests/Makefile.am (TESTS): Add it.
* NEWS: Mention it.
Reported by Gabriel Vlasiu via Tim Waugh.
See also http://bugzilla.redhat.com/738959
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/pch.c (another_hunk): Rather than asserting(C), issue the
"replacement text or line numbers mangled ..." diagnostic when !C.
* tests/mangled-numbers-abort: New test for the above.
* tests/Makefile.am (TESTS): Add it.
* NEWS: Mention it.
Reported by Gabriel Vlasiu via Tim Waugh.
See also http://bugzilla.redhat.com/738959
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: update copyright date year ranges to include 2011</title>
<updated>2011-03-27T07:16:46+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-03-01T08:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=db2fb7cdba1552586a00d224b5914fae3386f8d6'/>
<id>db2fb7cdba1552586a00d224b5914fae3386f8d6</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add update-copyright.
Run "make update-copyright".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap.conf (gnulib_modules): Add update-copyright.
Run "make update-copyright".
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: avoid non-portable use of test -a</title>
<updated>2011-03-26T13:20:28+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-02-20T10:33:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=2876ed918f00810f399dcb626df61feea389bfac'/>
<id>2876ed918f00810f399dcb626df61feea389bfac</id>
<content type='text'>
With these changes, "make sc_prohibit_test_minus_ao" almost passes.
Uses of "test -o" remain.
Note: unchecked uses of test -ot/-nt also remain.
* tests/empty-files: Use "test C1 &amp;&amp; test C2", not "test C1 -a C2"
* tests/merge: Likewise.
* tests/symlinks: Likewise.
* tests/test-lib.sh: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With these changes, "make sc_prohibit_test_minus_ao" almost passes.
Uses of "test -o" remain.
Note: unchecked uses of test -ot/-nt also remain.
* tests/empty-files: Use "test C1 &amp;&amp; test C2", not "test C1 -a C2"
* tests/merge: Likewise.
* tests/symlinks: Likewise.
* tests/test-lib.sh: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: allow the sc_prohibit_empty_lines_at_EOF test to pass</title>
<updated>2011-03-26T13:20:28+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-02-20T10:21:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=02e3376350b5ddf29ba1e697ec8b71cf5a9f8344'/>
<id>02e3376350b5ddf29ba1e697ec8b71cf5a9f8344</id>
<content type='text'>
* tests/test-lib.sh: Remove empty line at end of file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/test-lib.sh: Remove empty line at end of file.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: remove trailing blanks</title>
<updated>2011-03-26T13:20:28+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-02-20T10:15:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=07d4792620794da6bcc10728bd8c6118affb5b98'/>
<id>07d4792620794da6bcc10728bd8c6118affb5b98</id>
<content type='text'>
* bootstrap.conf: Remove trailing blanks.
* tests/reject-format: Define a dummy, empty variable, and use it in
here-doc to protect required trailing blanks from accidental removal.
* tests/no-newline-triggers-assert: Likewise.
* tests/preserve-c-function-names: Likewise.
* tests/create-delete: Likewise.
* tests/global-reject-files: Complete a sentence that ended in a space.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap.conf: Remove trailing blanks.
* tests/reject-format: Define a dummy, empty variable, and use it in
here-doc to protect required trailing blanks from accidental removal.
* tests/no-newline-triggers-assert: Likewise.
* tests/preserve-c-function-names: Likewise.
* tests/create-delete: Likewise.
* tests/global-reject-files: Complete a sentence that ended in a space.
</pre>
</div>
</content>
</entry>
<entry>
<title>don't warn twice about the same invalid file name</title>
<updated>2011-02-17T09:00:57+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-02-17T08:59:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=e0f707523cab26f74ec23f4a20a27add8702ed5b'/>
<id>e0f707523cab26f74ec23f4a20a27add8702ed5b</id>
<content type='text'>
* src/pch.c (name_is_valid): Don't warn about the same name twice.
* tests/bad-filenames (emit_patch): Exercise the new code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/pch.c (name_is_valid): Don't warn about the same name twice.
* tests/bad-filenames (emit_patch): Exercise the new code.
</pre>
</div>
</content>
</entry>
</feed>
