<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/diffutils.git/tests/basic, branch baserock/bootstrap</title>
<subtitle>git.savannah.gnu.org: git/diffutils.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/diffutils.git/'/>
<entry>
<title>tests: use "compare exp out", not "compare out exp"</title>
<updated>2011-11-29T16:17:10+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-11-29T16:11:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/diffutils.git/commit/?id=31b43733d40d0a919e0af013f48e271f5824200e'/>
<id>31b43733d40d0a919e0af013f48e271f5824200e</id>
<content type='text'>
Likewise, when an empty file is expected, use "compare /dev/null out",
not "compare out /dev/null". I.e., specify the expected/desired contents
via the first file name.  Prompted by a suggestion from Bruno Haible
in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154

Run these commands:

  git grep -l -E 'compare [^ ]+ exp' \
    |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/'
  git grep -l -E 'compare [^ ]+ /dev/null' \
    |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'

But manually convert this one:

  -compare out exp-$(echo $opt|tr ' ' _)
  +compare exp-$(echo $opt|tr ' ' _) out

and avoid an inappropriate change to cfg.mk.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Likewise, when an empty file is expected, use "compare /dev/null out",
not "compare out /dev/null". I.e., specify the expected/desired contents
via the first file name.  Prompted by a suggestion from Bruno Haible
in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154

Run these commands:

  git grep -l -E 'compare [^ ]+ exp' \
    |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/'
  git grep -l -E 'compare [^ ]+ /dev/null' \
    |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'

But manually convert this one:

  -compare out exp-$(echo $opt|tr ' ' _)
  +compare exp-$(echo $opt|tr ' ' _) out

and avoid an inappropriate change to cfg.mk.
</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://91.123.203.49/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>tests: use path_prepend_ consistently; remove unnecessary VERBOSE check</title>
<updated>2010-04-07T09:01:31+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-04-07T08:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/diffutils.git/commit/?id=55cf264a2bac21ed6b8729bc175df421e35facf4'/>
<id>55cf264a2bac21ed6b8729bc175df421e35facf4</id>
<content type='text'>
* tests/basic: Likewise.
* tests/binary: Likewise.
* tests/function-line-vs-leading-space: Likewise.
* tests/label-vs-func: Likewise.
* tests/stdin: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/basic: Likewise.
* tests/binary: Likewise.
* tests/function-line-vs-leading-space: Likewise.
* tests/label-vs-func: Likewise.
* tests/stdin: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: honor VERBOSE</title>
<updated>2010-02-10T07:55:59+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-02-10T07:55:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/diffutils.git/commit/?id=b22f6671d773e326fdc9c4b096a5c056c6cd0509'/>
<id>b22f6671d773e326fdc9c4b096a5c056c6cd0509</id>
<content type='text'>
* tests/basic: Enable "set -x" if $VERBOSE.
* tests/help-version: Likewise.
* tests/label-vs-func: Likewise.
* tests/stdin: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/basic: Enable "set -x" if $VERBOSE.
* tests/help-version: Likewise.
* tests/label-vs-func: Likewise.
* tests/stdin: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add a test of basic functionality</title>
<updated>2010-01-09T10:07:25+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-09T10:05:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/diffutils.git/commit/?id=4e1233f063e4c3e5421cd28245b96f2607a7038b'/>
<id>4e1233f063e4c3e5421cd28245b96f2607a7038b</id>
<content type='text'>
* tests/basic: Start adding tests.
* tests/Makefile.am (TESTS): Add it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/basic: Start adding tests.
* tests/Makefile.am (TESTS): Add it.
</pre>
</div>
</content>
</entry>
</feed>
