Closed
Bug 562322
Opened 16 years ago
Closed 16 years ago
Overeager test filename detection
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file)
|
1.91 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
Today there was the following test failure somewhere:
26181 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_bug515401.html | document base when insert base with href before existing - got "http://mochi.test:8888/tests/content/base/test/base5/", expected "http://mochi.test:8888/tests/content/base/test/base6/"
There's no bug filed for test_bug515401.html, so processLine looked at the next token with slashes and ended up with '",' as the filename. What followed was a huge lists with orange bugs that have a quotation mark in their summary.
Ehsan, were there any special cases you had in mind when you wrote the line
$tokens = explode(" ", $line);
?
It looks to me like the test path is always in the second part that's separated with |. I've made a patch that uses that fact.
Attachment #442073 -
Flags: review?(ehsan)
Comment 1•16 years ago
|
||
Comment on attachment 442073 [details] [diff] [review]
use ... | THIS PART | ...
Looks sane. I tried to remember why I tokenized based on a space, but couldn't. I think I was just being silly!
Attachment #442073 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 2•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•11 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•