[PATCH 2 of 4] Create a test to make sure old CGI scripts will still work

Eric M. Hopper hopper at omnifarious.org
Fri Jun 30 10:00:26 CDT 2006


On Fri, 2006-06-30 at 13:43 +0200, Thomas Arendsen Hein wrote:
> declare -x doesn't work on plain sh, I have a patch for this.

Oops.  I should've tested that.  :-(

> Changing $PATH isn't good if python isn't installed in the default
> location, I have a patch for this, too.

I meant to remove that, but forgot.

> > +./hgweb.cgi >page1 2>&1 ; echo $?
> > +./hgwebdir.cgi >page2 2>&1 ; echo $?

> Here is a third test needed with PATH_INFO pointing to the repo,
> i.e. /test/
> 
> This would show that the hgwebdir index page works, but not the
> repository pages. Neither with old cgi, nor with hg serve.

Yes, that would be a good idea too.  :-)  Are you saying that this is
the case now?

*sigh*,
-- 
The best we can hope for concerning the people at large is that they
be properly armed.  -- Alexander Hamilton
-- Eric Hopper (hopper at omnifarious.org  http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: This is a digitally signed message part
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060630/8459a364/attachment.pgp


More information about the Mercurial mailing list