Closed Bug 562322 Opened 16 years ago Closed 16 years ago

Overeager test filename detection

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file)

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 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+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Depends on: 569144
Depends on: 569140
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: