[MERGE] selftest fix: by default create testing tree with binary line endings

Alexander Belchenko bialix at ukr.net
Mon Dec 18 11:44:32 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It's annoying to each time after new tests added take this on win32:

FAIL: blackbox.test_cat.TestCat.test_remote_cat
    'contents of README\n' != 'contents of README\r\n'

And this is hard to catch when patch is reviewed.

In the past John says that we probably need to change default settings
of self.build_tree method to use binary line-endings.
Attached patch provide this change.
Also note that similar method self.build_tree_contents use only
binary line-endings. So this change make both methods behave
the same way.

Alexander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhn8gzYr338mxwCURAp74AJ0QGbOiP8zUGKyewMYTJbtk00GoZwCfYyf5
LhYXEhlof2fbGVcndqTdLsI=
=ZsrW
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: selftest.fixes.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20061218/859ded35/attachment.diff 


More information about the bazaar mailing list