Closed Bug 677248 Opened 14 years ago Closed 5 years ago

netwerk/test/urltest.cpp seems to be unmaintained

Categories

(Core :: Networking, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: julian.reschke, Assigned: jesup)

Details

(Whiteboard: [necko-would-take])

urltest.cpp seems to be unmaintained. It's not run; and it it is run will fail because of IMHO broken use of fgets(). To get it running I had to change while (fgets(temp,512,testfile)) { + // remove newline + temp[strlen(temp)-1] = 0; + if (*temp == '#' || !*temp) continue; So \n is removed from the buffer before proceeding. Even with this change I get test failures, probably because the expected results have not been maintained.
Most of the standard tests should be able to move straight into test_URIs.js if they're not already covered, and probably the external tests as well.
Assignee: nobody → rjesup
Status: NEW → ASSIGNED
Whiteboard: [necko-would-take]
Priority: -- → P5

File has been removed

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.