test_strace_result_has_raw_log fails on maverick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
I suspect this is broken by maverick's recent policy change not to allow you to ptrace your own processes:
FAIL: bzrlib.
-------
_StringException: Text attachment: log
------------
265.118 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/home/
return fn(*args)
File "/home/
testMethod()
File "/home/
self.
AssertionError: pattern "myfile" not found in ""
Related branches
- Robert Collins (community): Approve
-
Diff: 184 lines (+54/-28)3 files modifiedNEWS (+4/-0)
bzrlib/strace.py (+22/-3)
bzrlib/tests/test_strace.py (+28/-25)
Changed in bzr: | |
assignee: | nobody → Martin Pool (mbp) |
status: | Confirmed → In Progress |
tags: | added: regression |
Changed in bzr: | |
status: | In Progress → Fix Released |
strace doesn't exit with an error if it fails to ptrace (bug 627208) so to detect this case we might have to look at the error message.
It's a bit silly that the strace code doesn't seem to actually be used by any tests other than its own, but it's probably worth keeping.