Strange test failure in test_selftest on vanilla bzr.dev
Aaron Bentley
aaron.bentley at utoronto.ca
Sat Mar 10 21:13:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I've got a test case failure in a vanilla copy of bzr.dev. This
shouldn't be happening. Probably indicates a platform difference
between my (Edgy) laptop and PQM.
$ ./bzr selftest test_selftest
bzr: /home/abentley/bzr/bzr.dev/bzr
bzrlib: /home/abentley/bzr/bzr.dev/bzrlib
[56/75 in 2s] blackbox.test_selftest.TestOptions.test_transport
- ----------------------------------------------------------------------
Ran 1 test in 0.002s
OK
FAIL: blackbox.test_selftest.TestOptions.test_transport
pattern "'Ran 1 test'" not found in "' bzr:
/home/abentley/bzr/bzr.dev/bzr\n bzrlib:
/home/abentley/bzr/bzr.dev/bzrlib\n\n'"
[75/75 in 7s, 1 failed]
blackbox.test_selftest.TestSelftestCleanOutput.test_cle
======================================================================
FAIL: test_transport (bzrlib.tests.blackbox.test_selftest.TestOptions)
vvvv[log from
bzrlib.tests.blackbox.test_selftest.TestOptions.test_transport]-
run bzr: ['selftest', '--transport=sftp', 'test_transport_set_to_sftp']
bzr arguments: ['selftest', '--transport=sftp',
'test_transport_set_to_sftp']
encoding stdout as sys.stdout encoding 'UTF-8'
INFO tests passed
output:
' bzr: /home/abentley/bzr/bzr.dev/bzr\n bzrlib:
/home/abentley/bzr/bzr.dev/bzrlib\n\n'
errors:
'tests passed\n'
^^^^[log from
bzrlib.tests.blackbox.test_selftest.TestOptions.test_transport]-
- ----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/abentley/bzr/bzr.dev/bzrlib/tests/blackbox/test_selftest.py",
line 77, in test_transport
self.assertContainsRe(stdout, 'Ran 1 test')
File "/home/abentley/bzr/bzr.dev/bzrlib/tests/__init__.py", line 751,
in assertContainsRe
raise AssertionError('pattern "%r" not found in "%r"'
AssertionError: pattern "'Ran 1 test'" not found in "' bzr:
/home/abentley/bzr/bzr.dev/bzr\n bzrlib:
/home/abentley/bzr/bzr.dev/bzrlib\n\n'"
- ----------------------------------------------------------------------
Ran 75 tests in 7.680s
FAILED (failures=1)
tests failed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF8x9c0F+nu1YWqI0RAoSpAJ0ZgkS+zor/KTjaqJcntI/s2kitCACeMNjO
PDqn+/FTITRKLDKuQ5WdyZc=
=zAKT
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list