inaccessible shared repositories
John Arbash Meinel
john at arbash-meinel.com
Fri Dec 8 15:57:37 GMT 2006
Kent Gibson wrote:
> I just noticed that this situation also causes the following selftests
> to fail:
>
> branch_txt
> blackbox.test_info.TestInfo.test_info_non_existing
> blackbox.test_outside_wt.TestOutsideWT.test_cwd_log
> blackbox.test_outside_wt.TestOutsideWT.test_diff_ouside_tree
>
> This in itself worries me. Shouldn't the selftests be running in a
> sandbox?
> Or might they go twiddling with my shared repositories?
>
> And more importantly, shouldn't "ouside" be "outside"?
>
> Cheers,
> Kent.
All of those should be doing readonly tests. And yes everything
generally runs inside a sandbox. We run the tests in a 'test000X.tmp'
directory, and create a non-shared branch there to prevent bzr from
looking outside. If you are finding tests that are looking elsewhere, it
is a bug in the test suite. We even override $HOME, etc, so they are
usually very well sandboxed, but even tests can have bugs in them.
Can you provide tracebacks for the tests that are failing so we can make
sure they are fixed?
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061208/9764b9d6/attachment.pgp
More information about the bazaar
mailing list