Add tests for apache, output tests/httpd.conf
authorDan Winship <danw@src.gnome.org>
Fri, 9 Jun 2006 16:28:13 +0000 (16:28 +0000)
committerDan Winship <danw@src.gnome.org>
Fri, 9 Jun 2006 16:28:13 +0000 (16:28 +0000)
commitfea222c5f1bf284f2f491ffd3c329f039dd76240
treed6a0a368eaf6c410d0246d05fd8142c900fffc8b
parent6b07580dad1eff4f8b5732aa4f3230c24fd04ba2
Add tests for apache, output tests/httpd.conf

* configure.in: Add tests for apache, output tests/httpd.conf

* tests/htdigest:
* tests/htpasswd:
* tests/httpd.conf.in: Apache 2.2 config files for auth-test

* tests/apache-wrapper.c (apache_init, apache_cleanup): functions
to start/stop apache

* tests/auth-test.c: Use apache-wrapper functions to start a local
apache process to test authentication against, since the auth-test
tree at developer.ximian.com went missing a long time ago. #311825

* tests/Makefile.am (auth_test_SOURCES): use apache-wrapper.c
(TESTS): include auth-test if HAVE_APACHE.

* libsoup/soup-session.c (lookup_auth): Fix this in the case of a
URI pointing to a directory rather than a file.
ChangeLog
configure.in
libsoup/soup-session.c
tests/.cvsignore
tests/Makefile.am
tests/apache-wrapper.c [new file with mode: 0644]
tests/apache-wrapper.h [new file with mode: 0644]
tests/auth-test.c
tests/htdigest [new file with mode: 0644]
tests/htpasswd [new file with mode: 0644]
tests/httpd.conf.in [new file with mode: 0644]