[Merge] lp:~vila/bzr/leaking-tests into lp:bzr

John Arbash Meinel john at arbash-meinel.com
Wed Jun 16 21:17:56 BST 2010


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

Robert Collins wrote:
> tee may be writing in text mode, not binary mode, and the current
> subunit protocol is really a binary one that looks like a unix text
> file for some bits.
> 

Potentially, sure. Though I'll note that I had it working with hudson
via the |tee -a && subunit2junitxml a while back.

I *can* say that doing:

echo -ne "hello\nthere\r\n" | tee test.txt

Results in a text file with "\r\n" and "\n" as listed. (which would hint
that tee is working in binary mode.) I'm pretty sure I have cygwin
configured to be in binary mode. Though mixing win32 processes with
cygwin processes can do funny things I would guess. (bzr is win32 piping
into cygwin tee).

At this point, it has been running for many hours, and I see lots of
tracebacks involving "read_bytes_from_socket".

I might try subunit again, but it seems to keep breaking on me. (Which
is also a bit strange, since I *did* have testr working for a while,
which also hints at being able to save and then restore subunit streams.)

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

iEYEARECAAYFAkwZMXQACgkQJdeBCYSNAAO0OwCeNYRN4qMXlN/UckFtCusH+Lht
wFAAoJol8/0WQssl/GuiVLr4Xze7eN3H
=jfd/
-----END PGP SIGNATURE-----



More information about the bazaar mailing list