selftest prompts for ssh password ??

Maritza Mendez martitzam at
Thu Jun 25 05:56:53 BST 2009

On Wed, Jun 24, 2009 at 4:31 AM, Vincent Ladeuil
<v.ladeuil+lp at<v.ladeuil%2Blp at>
> wrote:


> cert_file:
> /usr/lib/python2.6/dist-packages/bzrlib/tests/ssl_certs/server.crt
> I bet that file doesn't exist on your machine right (they don't
> on mine at least) ?
> So what we have here is :
> - a bug in the test server, it shouldn't fail to start
>  *silently*. And the test setUp should just abort if the server
>  can't be started.
> - packaging bug, these test can't be run without these files,
>  they seems to be included in the tarball though, so I suspect
>  they are lost at installation time,
> Now, if you create copy the content from the ssl_certs directory
> from the bzr sources, the tests should pass.
>     Vincent

You are exactly correct.  I thought I would be clever and run
myself to create server and ca certs.  That did not go so well... so  maybe
the tests are hard-coded to particular pre-generated certs.  So I just
copied the certs from the bzr sources as you suggested and voila!  A 'bzr
selftest test_http' runs to completeion (and passes).

So you appear to be correct about both bugs.  You figured out what was going
on, so you get first right of refusal to write them up.  If you prefer, I'll
do the typing.  Either way is great, so long as we make sure they get

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the bazaar mailing list