linkchecker/tests/checker/data/http.html.result
Marius Gedminas f4ec7531c1 Fix TestHttp.test_html
The HTML tag has two attributes with URLs:

  <applet archive="file.html" src="file.css">

It would appear that the order in which these attributes are crawled
does not match the order in the result file.

Possibly the crawling order is non-deterministic, although I cannot
reproduce that.  If that's the case, the fix would be to sort the
attributes in the crawler before following them, which means we want the
expected results sorted as well (and since 'archive' comes before 'src',
so file.html should come before file.css).
2017-02-01 18:41:47 +02:00

82 lines
2 KiB
Text

url http://localhost:%(port)d/%(datadir)s/http.html
cache key http://localhost:%(port)d/%(datadir)s/http.html
real url http://localhost:%(port)d/%(datadir)s/http.html
valid
url clsid:12345-67890
cache key clsid:12345-67890
real url clsid:12345-67890
info Clsid URL ignored.
valid
url
cache key http://localhost:%(port)d/%(datadir)s/http.html
real url http://localhost:%(port)d/%(datadir)s/http.html
valid
url dns://www.example.org
cache key dns://www.example.org
real url dns://www.example.org
valid
url dns://www.example.com
cache key dns://www.example.com
real url dns://www.example.com
valid
url http://www.garantiertnixgutt.bla/
cache key http://www.garantiertnixgutt.bla/
real url http://www.garantiertnixgutt.bla/
name bad url
error
url /?d=directory&p=page
cache key http://localhost:%(port)d/?d=directory&p=page
real url http://localhost:%(port)d/?d=directory&p=page
name should not be cached
valid
url /?d=directory&p=page1
cache key http://localhost:%(port)d/?d=directory&p=page1
real url http://localhost:%(port)d/?d=directory&p=page1
name should not be cached
valid
url /?q=ü
cache key http://localhost:%(port)d/?q=%%C3%%BC
real url http://localhost:%(port)d/?q=%%C3%%BC
name html entities
valid
url file.html
cache key http://localhost:%(port)d/tests/checker/data/file.html
real url http://localhost:%(port)d/tests/checker/data/file.html
valid
url file.css
cache key http://localhost:%(port)d/tests/checker/data/file.css
real url http://localhost:%(port)d/tests/checker/data/file.css
valid
url file.asc
cache key http://localhost:%(port)d/tests/checker/data/file.asc
real url http://localhost:%(port)d/tests/checker/data/file.asc
name CSS urls
valid
url file.txt
cache key http://localhost:%(port)d/tests/checker/data/file.txt
real url http://localhost:%(port)d/tests/checker/data/file.txt
name CSS urls
valid
url http://example.org/foo/ #a=1,2,3
cache key http://example.org/foo/%%20
real url http://example.org/foo/%%20#a%%3D1%%2C2%%2C3
error
url http://.example.org/
cache key http://.example.org/
real url http://.example.org/
name Error
error