[merge] win32- fix test_bundle

John Arbash Meinel john at arbash-meinel.com
Sun Jul 2 02:53:24 BST 2006


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

Hopefully this is my last win32 related bugfix for a while. And it
should be, since the test suite now passes :)

Anyway, I updated the test suite to use a starting space, rather than a
trailing space. Which is supported on win32.

Actually, if you do os.path.abspath('file ')
>>> os.path.abspath('file ')
'h:\\dev\\bzr\\win32\\file'

And if you just use explorer to try to create a file with a trailing
space, it will strip it.

While I was in there, I fixed up some of the other tests. One of them
was asserting that we could send a file with \r\n, but somewhere along
the line we were creating it with only \n line endings.

And I updated the 'get_checkout()' so that it verifies the integrity of
all new entries. So that any bugs like this are caught at the right
time, rather than upon trying the next operation.

John
=:->

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

iD8DBQFEpycUJdeBCYSNAAMRAjPLAKCGV1ryRTWx1VEkywfOehGnRygBegCff17p
ruKfTdVmZehArlajAQW8a3g=
=1Yrw
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32-test_bundle.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060701/8314f786/attachment.diff 


More information about the bazaar mailing list