[merge] Separate Test home and working dir

John Arbash Meinel john at arbash-meinel.com
Thu Sep 7 22:51:41 BST 2006


The attached patch separates the $HOME directory from the working
directory for the test suite, and fixes up tests that work working
around that fact.

This should help the whole test suite to pass on both win32 and on mac.
And it simplifies the test suite a bit.

It does potentially break plugin tests. I saw this test fails:
bzrlib.plugins.email.tests.testemail.TestGetTo

And it does so, because it assumed it was being run in a directory named
after the plugin test, rather than some other 'branch nick'. (now it
would be 'work'.

And the best part is that diffstat says:
 11 files changed, 43 insertions(+), 67 deletions(-)

Because I was able to remove a lot of the old 'ignore' lines.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_home_and_work.diff
Type: text/x-patch
Size: 15332 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060907/645318ef/attachment.bin 
-------------- 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/20060907/645318ef/attachment.pgp 


More information about the bazaar mailing list