<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests, branch v1.2.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C 
</subtitle>
<link rel='alternate' type='text/html' href='https://git.joursoir.net/cgit/'/>
<entry>
<title>tests: skip tests if strace is not functional</title>
<updated>2019-12-11T10:04:02+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-12-11T09:55:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.joursoir.net/cgit/commit/?id=ca98c9e7bf31617efc3ff7d3575efe5bba3cde1a'/>
<id>ca98c9e7bf31617efc3ff7d3575efe5bba3cde1a</id>
<content type='text'>
Chances are that strace is available but not functional due to
restricted permissions:

strace: test_ptrace_get_syscall_info: PTRACE_TRACEME: Operation not permitted
strace: ptrace(PTRACE_TRACEME, ...): Operation not permitted
+++ exited with 1 +++

Just skip the tests then.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Chances are that strace is available but not functional due to
restricted permissions:

strace: test_ptrace_get_syscall_info: PTRACE_TRACEME: Operation not permitted
strace: ptrace(PTRACE_TRACEME, ...): Operation not permitted
+++ exited with 1 +++

Just skip the tests then.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: successfully validate rc versions</title>
<updated>2019-06-05T13:38:14+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-06-04T11:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.joursoir.net/cgit/commit/?id=27a6d69ab38825602bdbd5a5d0161e465326ea8d'/>
<id>27a6d69ab38825602bdbd5a5d0161e465326ea8d</id>
<content type='text'>
For testing versions the version string differs for git tag (v2.22.0-rc3)
and tarball file name (2.22.0.rc3). Let's fix validation for testing
versions.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For testing versions the version string differs for git tag (v2.22.0-rc3)
and tarball file name (2.22.0.rc3). Let's fix validation for testing
versions.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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='https://git.joursoir.net/cgit/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>
</feed>
