<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-70/tests, branch master</title>
<subtitle>a fork of cgit with a Gopher interface</subtitle>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/'/>
<entry>
<title>global: spelling fixes</title>
<updated>2017-10-15T16:44:55+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-10-14T19:05:51+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=67d0f870506e3bc3703ae3cb2cb00e19691ce967'/>
<id>67d0f870506e3bc3703ae3cb2cb00e19691ce967</id>
<content type='text'>
Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: allow shell to be overridden</title>
<updated>2015-08-13T13:36:18+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-13T11:14:13+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=2ef4edee19c3f935dfffc3e0f4a56f5e2f183fa4'/>
<id>2ef4edee19c3f935dfffc3e0f4a56f5e2f183fa4</id>
<content type='text'>
On some systems (e.g. Solaris), /bin/sh is not a POSIX shell.  Git
already provides suitable overrides in its config.mak.uname file and we
provide cgit.conf to allow the user to further change this.

The code for this is taken from Git's t/Makefile, meaning that we now
invoke the tests in the same way that Git does.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On some systems (e.g. Solaris), /bin/sh is not a POSIX shell.  Git
already provides suitable overrides in its config.mak.uname file and we
provide cgit.conf to allow the user to further change this.

The code for this is taken from Git's t/Makefile, meaning that we now
invoke the tests in the same way that Git does.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t0110: Chain together using &amp;&amp;</title>
<updated>2015-08-12T13:16:05+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-08-12T13:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=2d386e227e0b75474efcfe82e9fec7d0f21c6df4'/>
<id>2d386e227e0b75474efcfe82e9fec7d0f21c6df4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-patch: match git-format-patch(1) output</title>
<updated>2014-12-28T13:44:44+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-12-28T13:10:33+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=7552266aaccb9445e082fc04215afcb55ad543d8'/>
<id>7552266aaccb9445e082fc04215afcb55ad543d8</id>
<content type='text'>
Using (DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH) causes Git to emit a
"---" line between the commit message and the body of the patch, which
fixes a regression introduced in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20), prior to which we
inserted the "---" line ourselves.

DIFF_FORMAT_SUMMARY is added so that we match the output of
git-format-patch(1) without the "-p" option.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using (DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH) causes Git to emit a
"---" line between the commit message and the body of the patch, which
fixes a regression introduced in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20), prior to which we
inserted the "---" line ourselves.

DIFF_FORMAT_SUMMARY is added so that we match the output of
git-format-patch(1) without the "-p" option.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t0108: modernize style</title>
<updated>2014-12-28T13:43:51+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-12-28T13:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=ce8f4902295fbc774454362600007c971770631a'/>
<id>ce8f4902295fbc774454362600007c971770631a</id>
<content type='text'>
* &amp;&amp;-chaining
* use test_cmp instead of cmp
* use strip_headers instead of knowing how many lines there will be

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* &amp;&amp;-chaining
* use test_cmp instead of cmp
* use strip_headers instead of knowing how many lines there will be

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: only do lua tests if lua is compiled-in</title>
<updated>2014-01-20T12:11:10+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-20T12:11:10+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=f759cc0f08c195940de05d5394f7b1ad4d44365e'/>
<id>f759cc0f08c195940de05d5394f7b1ad4d44365e</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t0111: Additions and fixes</title>
<updated>2014-01-15T23:53:18+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-15T22:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=3741254a6989b2837cd8d20480f152f0096bcb9a'/>
<id>3741254a6989b2837cd8d20480f152f0096bcb9a</id>
<content type='text'>
* Rename the capitalize-* filters to dump.* since they also dump the
  arguments.

* Add full argument validation to the email filters.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename the capitalize-* filters to dump.* since they also dump the
  arguments.

* Add full argument validation to the email filters.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t0111: Add basic tests for Lua filters</title>
<updated>2014-01-15T13:45:21+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-14T21:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=caf557a2ba666ad87a1ebd5b40750feaf1bd631f'/>
<id>caf557a2ba666ad87a1ebd5b40750feaf1bd631f</id>
<content type='text'>
* Validate the email filter by manipulating stdin. Additional checks for
  all the arguments can be added in a later patch.

* Add the exec prefix to all informational messages.

* Rename the filter repository to filter-exec. The Git repository itself
  is not renamed since it can be shared amongst all filter types.

* In the filter checks, check whether all arguments are passed properly
  instead of validating the buffer/stdin only.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Validate the email filter by manipulating stdin. Additional checks for
  all the arguments can be added in a later patch.

* Add the exec prefix to all informational messages.

* Rename the filter repository to filter-exec. The Git repository itself
  is not renamed since it can be shared amongst all filter types.

* In the filter checks, check whether all arguments are passed properly
  instead of validating the buffer/stdin only.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/: Add t0111-filter.sh</title>
<updated>2014-01-14T12:55:53+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-14T11:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=ce56d89a2662549acd178292450798f5ffcd4bc6'/>
<id>ce56d89a2662549acd178292450798f5ffcd4bc6</id>
<content type='text'>
This adds basic tests for all types of exec filters.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds basic tests for all types of exec filters.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add CGIT_TEST_OPTS variable to Makefile</title>
<updated>2014-01-12T22:03:54+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-01-12T19:46:42+00:00</published>
<link rel='alternate' type='text/html' href='http://5.196.69.93/cgit-70/commit/?id=a52aaa90dab1d95f9df383d2cb3f7c428ab849fe'/>
<id>a52aaa90dab1d95f9df383d2cb3f7c428ab849fe</id>
<content type='text'>
This allows running the entire test suite with a set of command-line
options.  For example:

	make test CGIT_TEST_OPTS=--valgrind

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows running the entire test suite with a set of command-line
options.  For example:

	make test CGIT_TEST_OPTS=--valgrind

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
</feed>
