<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-70/tests/t0109-gitconfig.sh, branch upstream</title>
<subtitle>a fork of cgit with a Gopher interface</subtitle>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/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://ns2.complex-networks.net/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>t0109: "function" is a bash-ism</title>
<updated>2013-05-13T13:16:48+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-05-09T18:40:58+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=7966fd9b8e32562196b52abd32f6ba1e15228b81'/>
<id>7966fd9b8e32562196b52abd32f6ba1e15228b81</id>
<content type='text'>
We try to stick to POSIX shell in the tests but a "function" keyword has
found its way into t0109.  Remove it.

This makes the tests work with dash again.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We try to stick to POSIX shell in the tests but a "function" keyword has
found its way into t0109.  Remove it.

This makes the tests work with dash again.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-snapshot: do not access $HOME</title>
<updated>2013-04-30T10:29:07+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2013-04-30T10:27:41+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=8bf4a0465e81da877e0c81620ae4ac9356145fc9'/>
<id>8bf4a0465e81da877e0c81620ae4ac9356145fc9</id>
<content type='text'>
It's a bit tedious to have to do this here too. If we encounter other
issues with $HOME down the line, I'll look into adding some nice utility
functions to handle this, or perhaps giving up on the hope that we could
keep $HOME defined for scripts.

This commit additionally adds a test case, should the issue surface
again.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's a bit tedious to have to do this here too. If we encounter other
issues with $HOME down the line, I'll look into adding some nice utility
functions to handle this, or perhaps giving up on the hope that we could
keep $HOME defined for scripts.

This commit additionally adds a test case, should the issue surface
again.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t0109: test more URLs</title>
<updated>2013-04-15T14:59:06+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-14T16:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=64f30688faef0876641a8e0e4f26b5c673c291d4'/>
<id>64f30688faef0876641a8e0e4f26b5c673c291d4</id>
<content type='text'>
In order to ensure that we don't access $HOME at some point after
initial startup when rendering a specific view, run the strace test on a
range of different pages.

This ensures that we don't end up reading a configuration later for some
specific view.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to ensure that we don't access $HOME at some point after
initial startup when rendering a specific view, run the strace test on a
range of different pages.

This ensures that we don't end up reading a configuration later for some
specific view.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t0109: chain operations with &amp;&amp;</title>
<updated>2013-04-10T12:14:06+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-10T12:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=880223dc845e8b502e753425b889cbb70b73478e'/>
<id>880223dc845e8b502e753425b889cbb70b73478e</id>
<content type='text'>
Without '&amp;&amp;' between operations, we will not detect if strace or cgit
exit with an error status, which would cause a false positive test
status in this case.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without '&amp;&amp;' between operations, we will not detect if strace or cgit
exit with an error status, which would cause a false positive test
status in this case.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Make sure that git does not access $HOME</title>
<updated>2013-04-08T20:53:07+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2013-04-08T20:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cgit-70/commit/?id=dd1f0e5f1b4de00c98fe7444915864b7271e09fe'/>
<id>dd1f0e5f1b4de00c98fe7444915864b7271e09fe</id>
<content type='text'>
With the latest changes to prevent git from accessing configuration
files that it should not, it's important to be sure that we won't
have further breakage in the future.

Use strace to implement a test to make sure cgit does not access()
anything built from $HOME.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the latest changes to prevent git from accessing configuration
files that it should not, it's important to be sure that we won't
have further breakage in the future.

Use strace to implement a test to make sure cgit does not access()
anything built from $HOME.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
