<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/lib-httpd.sh, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-07-20T18:37:45Z</updated>
<entry>
<title>t/{t5541,lib-httpd}: replace problematic '!()' notation with test_must_fail</title>
<updated>2010-07-20T18:37:45Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-07-20T18:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=77b5be2abab69a69618dd40a6ca8b754388b8216'/>
<id>urn:sha1:77b5be2abab69a69618dd40a6ca8b754388b8216</id>
<content type='text'>
The '!()' notation is interpreted as a pattern-list on Ksh.  The Ksh man
page describe it as follows:

   !(pattern-list)
      Matches anything except one of the given patterns.

Ksh performs a file glob using the pattern-list and then tries to execute
the first file in the list.  If a space is added between the '!' and the
open parens, then Ksh will not interpret it as a pattern list, but in this
case, it is preferred to use test_must_fail, so lets do so.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: Use skip_all=* to skip tests</title>
<updated>2010-07-09T00:53:12Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2010-07-08T01:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e8344e866655cfae1f870d7e8d5046c1bdf08adf'/>
<id>urn:sha1:e8344e866655cfae1f870d7e8d5046c1bdf08adf</id>
<content type='text'>
Change tests to skip with skip_all=* + test_done instead of using say
+ test_done.

This is a follow-up to "tests: Skip tests in a way that makes sense
under TAP" (fadb5156e4). I missed these cases when prepearing that
patch, hopefully this is all of them.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: Skip tests in a way that makes sense under TAP</title>
<updated>2010-06-25T17:08:20Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2010-06-24T17:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fadb5156e485e9d25c89d4b4f96c2d4fe6db6187'/>
<id>urn:sha1:fadb5156e485e9d25c89d4b4f96c2d4fe6db6187</id>
<content type='text'>
SKIP messages are now part of the TAP plan. A TAP harness now knows
why a particular test was skipped and can report that information. The
non-TAP harness built into Git's test-lib did nothing special with
these messages, and is unaffected by these changes.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t554[01]-http-push: refactor, add non-ff tests</title>
<updated>2010-03-02T19:10:35Z</updated>
<author>
<name>Tay Ray Chuan</name>
<email>rctay89@gmail.com</email>
</author>
<published>2010-03-02T10:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6cbd6e92616773457574f9755910f44b3c34a983'/>
<id>urn:sha1:6cbd6e92616773457574f9755910f44b3c34a983</id>
<content type='text'>
Move non-fast forward tests to lib-httpd.sh so that we don't have to
duplicate the tests in both t5540 and t5541.

Signed-off-by: Tay Ray Chuan &lt;rctay89@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/lib-http.sh: Restructure finding of default httpd location</title>
<updated>2010-01-06T09:07:07Z</updated>
<author>
<name>Tarmigan Casebolt</name>
<email>tarmigan+git@gmail.com</email>
</author>
<published>2010-01-02T22:04:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0d344738dc55a75bddbcd9a08ea9a7b401f1aa63'/>
<id>urn:sha1:0d344738dc55a75bddbcd9a08ea9a7b401f1aa63</id>
<content type='text'>
On CentOS 5, httpd is located at /usr/sbin/httpd, and the modules are
located at /usr/lib64/httpd/modules.  To enable easy testing of httpd,
we would like those locations to be detected automatically.

uname might not be the best way to determine the default location for
httpd since different Linux distributions apparently put httpd in
different places, so we test a couple different locations for httpd,
and use the first one that we come across.  We do the same for the
modules directory.

cc: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Signed-off-by: Tarmigan Casebolt &lt;tarmigan+git@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>test-lib: fix http exit codes</title>
<updated>2009-06-02T05:45:01Z</updated>
<author>
<name>Clemens Buchacher</name>
<email>drizzd@aon.at</email>
</author>
<published>2009-06-01T12:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a5adcbe377de7c8f5d794fce1fe2b23a0bddf758'/>
<id>urn:sha1:a5adcbe377de7c8f5d794fce1fe2b23a0bddf758</id>
<content type='text'>
Previously, die() would report the exit code of stop_httpd. Instead,
save and reset the exit code before dying.

Signed-off-by: Clemens Buchacher &lt;drizzd@aon.at&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: remove exit after test_done call</title>
<updated>2009-04-05T07:38:26Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-04-03T19:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5dba35912474770d0df45ed801d78c4c9ed5e949'/>
<id>urn:sha1:5dba35912474770d0df45ed801d78c4c9ed5e949</id>
<content type='text'>
test_done always exits, so this line is never executed.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>test scripts: refactor start_httpd helper</title>
<updated>2009-02-26T08:49:44Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-02-25T08:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75318a3bad4b7a25f617217891bfbcec26a9161a'/>
<id>urn:sha1:75318a3bad4b7a25f617217891bfbcec26a9161a</id>
<content type='text'>
There are some redirects and some error checking that need
to be done by the caller; let's move both into the
start_httpd function so that all callers don't have to
repeat them (there is only one caller now, but another will
follow in this series).

This doesn't violate any assumptions that aren't already
being made by lib-httpd, which is happy to say "skipping"
and call test_done for a number of other cases.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Allow HTTP tests to run on Darwin</title>
<updated>2009-02-25T21:58:57Z</updated>
<author>
<name>Jay Soffian</name>
<email>jaysoffian@gmail.com</email>
</author>
<published>2009-02-25T08:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=69707d616fd3acda6ecc47198edeaaa87f2cfcea'/>
<id>urn:sha1:69707d616fd3acda6ecc47198edeaaa87f2cfcea</id>
<content type='text'>
This patch allows the HTTP tests to run on OS X 10.5. It is not
sufficient to be able to pass in LIB_HTTPD_PATH and
LIB_HTTPD_MODULE_PATH alone, as the apache.conf also needs a couple
tweaks.

These changes are put into an &lt;IfDefine&gt; to keep them Darwin specific,
but this means lib-httpd.sh needs to be modified to pass -DDarwin to
apache when running on Darwin. As long as we're making this change to
lib-httpd.sh, we may as well set LIB_HTTPD_PATH and
LIB_HTTPD_MODULE_PATH to appropriate default values for the platform.

Note that we now pass HTTPD_PARA to apache at shutdown as well.
Otherwise apache will emit a harmless, but noisy warning that LogFormat
is an unknown directive.

Signed-off-by: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>use uppercase POSIX compliant signals for the 'trap' command</title>
<updated>2009-01-20T06:39:31Z</updated>
<author>
<name>Markus Heidelberg</name>
<email>markus.heidelberg@web.de</email>
</author>
<published>2009-01-19T23:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=35641310afa04aaa0ba5f31be6bdb2cf23ec100f'/>
<id>urn:sha1:35641310afa04aaa0ba5f31be6bdb2cf23ec100f</id>
<content type='text'>
In 'man 1p trap' there is written:

    "Implementations may permit names with the SIG prefix or ignore case
    in signal names as an extension."

So change the lowercase signals to uppercase, which is POSIX compliant
instead of being an extension.

There wasn't anybody claiming that it doesn't work, but there was a bug
with using a signal with the SIG prefix, which is an extension as well.
So let's play it safe and change it, since it doesn't hurt anyone.

While at it, also convert 8 indentation spaces to 1 tab character.

Signed-off-by: Markus Heidelberg &lt;markus.heidelberg@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
