diff options
Diffstat (limited to 'runtime/poky/qemux86-64/core-image-ptest-liburi-perl/ptest-raw.log')
-rw-r--r-- | runtime/poky/qemux86-64/core-image-ptest-liburi-perl/ptest-raw.log | 1212 |
1 files changed, 606 insertions, 606 deletions
diff --git a/runtime/poky/qemux86-64/core-image-ptest-liburi-perl/ptest-raw.log b/runtime/poky/qemux86-64/core-image-ptest-liburi-perl/ptest-raw.log index 6ca3f22e7de..0406a7e9aa5 100644 --- a/runtime/poky/qemux86-64/core-image-ptest-liburi-perl/ptest-raw.log +++ b/runtime/poky/qemux86-64/core-image-ptest-liburi-perl/ptest-raw.log @@ -1,78 +1,10 @@ START: ptest-runner -2023-06-29T01:14 +2023-06-30T01:14 BEGIN: /usr/lib/liburi-perl/ptest -1..48 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -ok 9 -ok 10 -ok 11 -ok 12 -ok 13 -ok 14 -ok 15 -ok 16 -ok 17 -ok 18 -ok 19 -ok 20 -ok 21 -ok 22 -ok 23 -ok 24 -ok 25 -ok 26 -ok 27 -ok 28 -ok 29 -ok 30 -ok 31 -ok 32 -ok 33 -ok 34 -ok 35 -ok 36 -ok 37 -ok 38 -ok 39 -ok 40 -ok 41 -ok 42 -ok 43 -ok 44 -ok 45 -ok 46 -ok 47 -ok 48 -PASS: t/gopher -1..9 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -ok 9 -PASS: t/rtsp ok 1 - correctly created a URI from a utf8-downgrade string 1..1 PASS: t/escape-char -# store -1..3 -# retrieve -ok 1 -ok 2 -ok 3 -PASS: t/storable -1..23 +1..16 ok 1 ok 2 ok 3 @@ -89,35 +21,7 @@ ok 13 ok 14 ok 15 ok 16 -ok 17 -ok 18 -ok 19 -ok 20 -ok 21 -ok 22 -ok 23 -PASS: t/query -1..4 -ok 1 -ok 2 -ok 3 -ok 4 -PASS: t/urn-oid -1..7 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -PASS: t/idna -ok 1 - no exception when trying to load a scheme handler class -ok 2 - but URI still instantiated as foreign -ok 3 - no exception when trying to load a scheme handler class -ok 4 - but URI still instantiated as foreign -1..4 -PASS: t/scheme-exceptions +PASS: t/http ok 1 ok 2 ok 3 @@ -125,173 +29,116 @@ ok 4 ok 5 1..5 PASS: t/utf8 -1..48 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -ok 9 -ok 10 -ok 11 -ok 12 -ok 13 -ok 14 -ok 15 -ok 16 -ok 17 -ok 18 -ok 19 -ok 20 -ok 21 -ok 22 -ok 23 -ok 24 -ok 25 -ok 26 -ok 27 -ok 28 -ok 29 -ok 30 -ok 31 -ok 32 -ok 33 -ok 34 -ok 35 -ok 36 -ok 37 -ok 38 -ok 39 -ok 40 -ok 41 -ok 42 -ok 43 -ok 44 -ok 45 -ok 46 -ok 47 -ok 48 -PASS: t/generic -ok 1 - Query parameters are sorted -1..1 -PASS: t/sort-hash-query-form -ok 1 - host -ok 2 - port -1..2 -PASS: t/ipv6 # Turn lib path . into /usr/lib/liburi-perl/ptest/. # Self tests for URI::URL version 5.17... # Subtest: scheme tests # Testing 'file://host/fseg/fs?g/fseg' - ok 1 - URI::URL->path - ok 2 - URI::URL->as_string - ok 3 - URI::URL->host + ok 1 - URI::URL->host + ok 2 - URI::URL->path + ok 3 - URI::URL->as_string # Testing 'ftp://0%3A:%40@h:0/0?0' - ok 4 - URI::URL->params - ok 5 - URI::URL->path - ok 6 - URI::URL->query - ok 7 - URI::URL->password - ok 8 - URI::URL->as_string - ok 9 - URI::URL->port - ok 10 - URI::URL->host - ok 11 - URI::URL->scheme - ok 12 - URI::URL->user - ok 13 - URI::URL->netloc + ok 4 - URI::URL->password + ok 5 - URI::URL->as_string + ok 6 - URI::URL->params + ok 7 - URI::URL->netloc + ok 8 - URI::URL->path + ok 9 - URI::URL->query + ok 10 - URI::URL->user + ok 11 - URI::URL->port + ok 12 - URI::URL->host + ok 13 - URI::URL->scheme # Testing 'ftp://host/a/b' - ok 14 - URI::URL->path - ok 15 - URI::URL->as_string + ok 14 - URI::URL->host + ok 15 - URI::URL->port ok 16 - URI::URL->user - ok 17 - URI::URL->host - ok 18 - URI::URL->port + ok 17 - URI::URL->as_string + ok 18 - URI::URL->path # Testing 'ftp://usr:pswd@web:1234/a/b;type=i' - ok 19 - URI::URL->user - ok 20 - URI::URL->host - ok 21 - URI::URL->port - ok 22 - URI::URL->path - ok 23 - URI::URL->as_string - ok 24 - URI::URL->password - ok 25 - URI::URL->params + ok 19 - URI::URL->params + ok 20 - URI::URL->password + ok 21 - URI::URL->as_string + ok 22 - URI::URL->host + ok 23 - URI::URL->port + ok 24 - URI::URL->path + ok 25 - URI::URL->user # Testing 'gopher://gopher/2a_selector' - ok 26 - URI::URL->selector - ok 27 - URI::URL->as_string - ok 28 - URI::URL->gtype + ok 26 - URI::URL->as_string + ok 27 - URI::URL->gtype + ok 28 - URI::URL->selector # Testing 'gopher://host' ok 29 - URI::URL->as_string ok 30 - URI::URL->gtype # Testing 'gopher://host/' - ok 31 - URI::URL->as_string - ok 32 - URI::URL->gtype + ok 31 - URI::URL->gtype + ok 32 - URI::URL->as_string # Testing 'hTTp://web1.net/a/b/c/welcome#intro' - ok 33 - URI::URL->query - ok 34 - URI::URL->eparams + ok 33 - URI::URL->path + ok 34 - URI::URL->query ok 35 - URI::URL->port - ok 36 - URI::URL->host - ok 37 - URI::URL->scheme - ok 38 - URI::URL->epath - ok 39 - URI::URL->frag - ok 40 - URI::URL->equery - ok 41 - URI::URL->path - ok 42 - URI::URL->as_string - ok 43 - URI::URL->full_path - ok 44 - URI::URL->params + ok 36 - URI::URL->eparams + ok 37 - URI::URL->full_path + ok 38 - URI::URL->as_string + ok 39 - URI::URL->params + ok 40 - URI::URL->frag + ok 41 - URI::URL->epath + ok 42 - URI::URL->equery + ok 43 - URI::URL->host + ok 44 - URI::URL->scheme # Testing 'http://0:0/0/0;0?0#0' - ok 45 - URI::URL->netloc - ok 46 - URI::URL->host - ok 47 - URI::URL->port - ok 48 - URI::URL->scheme - ok 49 - URI::URL->path - ok 50 - URI::URL->query - ok 51 - URI::URL->as_string - ok 52 - URI::URL->params - ok 53 - URI::URL->frag + ok 45 - URI::URL->as_string + ok 46 - URI::URL->netloc + ok 47 - URI::URL->params + ok 48 - URI::URL->frag + ok 49 - URI::URL->query + ok 50 - URI::URL->path + ok 51 - URI::URL->scheme + ok 52 - URI::URL->host + ok 53 - URI::URL->port # Testing 'http://web.net' - ok 54 - URI::URL->frag - ok 55 - URI::URL->full_path - ok 56 - URI::URL->as_string - ok 57 - URI::URL->query - ok 58 - URI::URL->path + ok 54 - URI::URL->path + ok 55 - URI::URL->query + ok 56 - URI::URL->frag + ok 57 - URI::URL->host + ok 58 - URI::URL->port ok 59 - URI::URL->scheme - ok 60 - URI::URL->port - ok 61 - URI::URL->host + ok 60 - URI::URL->full_path + ok 61 - URI::URL->as_string # Testing 'http://web.net/' - ok 62 - URI::URL->port - ok 63 - URI::URL->host - ok 64 - URI::URL->scheme - ok 65 - URI::URL->as_string + ok 62 - URI::URL->scheme + ok 63 - URI::URL->port + ok 64 - URI::URL->host + ok 65 - URI::URL->frag ok 66 - URI::URL->query ok 67 - URI::URL->path - ok 68 - URI::URL->full_path - ok 69 - URI::URL->frag + ok 68 - URI::URL->as_string + ok 69 - URI::URL->full_path # Testing 'http://web:1/a?query+text' - ok 70 - URI::URL->frag + ok 70 - URI::URL->path ok 71 - URI::URL->query - ok 72 - URI::URL->path - ok 73 - URI::URL->scheme + ok 72 - URI::URL->frag + ok 73 - URI::URL->host ok 74 - URI::URL->port - ok 75 - URI::URL->host + ok 75 - URI::URL->scheme # Testing 'http:/0?0' ok 76 - URI::URL->scheme - ok 77 - URI::URL->full_path - ok 78 - URI::URL->query - ok 79 - URI::URL->path - ok 80 - URI::URL->as_string + ok 77 - URI::URL->as_string + ok 78 - URI::URL->full_path + ok 79 - URI::URL->query + ok 80 - URI::URL->path # Testing 'http:0' - ok 81 - URI::URL->full_path - ok 82 - URI::URL->scheme - ok 83 - URI::URL->as_string - ok 84 - URI::URL->query + ok 81 - URI::URL->scheme + ok 82 - URI::URL->query + ok 83 - URI::URL->full_path + ok 84 - URI::URL->as_string ok 85 - URI::URL->path # Testing 'mailto:libwww-perl@ics.uci.edu' - ok 86 - URI::URL->encoded822addr - ok 87 - URI::URL->address + ok 86 - URI::URL->address + ok 87 - URI::URL->encoded822addr ok 88 - URI::URL->as_string # Testing 'news:*' - ok 89 - URI::URL->group + ok 89 - URI::URL->as_string ok 90 - URI::URL->groupart - ok 91 - URI::URL->as_string + ok 91 - URI::URL->group # Testing 'news:comp.lang.perl' ok 92 - URI::URL->group # Testing 'news:perl-faq/module-list-1-794455075@ig.co.uk' @@ -299,11 +146,11 @@ PASS: t/ipv6 # Testing 'nntp://news.com/comp.lang.perl/42' ok 94 - URI::URL->group # Testing 'rlogin://aas@a.sn.no' - ok 95 - URI::URL->user - ok 96 - URI::URL->host + ok 95 - URI::URL->host + ok 96 - URI::URL->user # Testing 'telnet://usr:pswd@web:12345/' - ok 97 - URI::URL->user - ok 98 - URI::URL->host + ok 97 - URI::URL->host + ok 98 - URI::URL->user ok 99 - URI::URL->password 1..99 ok 1 - scheme tests @@ -395,7 +242,7 @@ ok 2 - parts test ok 3 - escape test # Subtest: newlocal test ok 1 - URI::URL->as_string - # Local directory is /var/volatile/tmp/XXKK96Gdl2/ + # Local directory is /var/volatile/tmp/5AqQE9PDB5/ ok 2 - URI::URL->as_string ok 3 - URI::URL->as_string ok 4 - URI::URL->as_string @@ -575,12 +422,98 @@ ok 9 - wash&go # URI::URL version 5.17 ok 1..9 PASS: t/old-base -1..4 +1..7 ok 1 ok 2 ok 3 ok 4 -PASS: t/rsync +ok 5 +ok 6 +ok 7 +PASS: t/idna +1..6 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +PASS: t/old-absconf +ok 1 - Query parameters are sorted +1..1 +PASS: t/sort-hash-query-form +ok 1 - constant indicates to treat square brackets as reserved characters (legacy) +ok 2 - legacy: reserved square brackets not escaped +ok 3 - legacy: reserved square brackets not escaped +ok 4 - legacy: reserved square brackets not escaped +ok 5 - legacy: reserved square brackets not escaped +ok 6 - legacy: reserved square brackets not escaped +ok 7 - legacy: reserved square brackets not escaped +1..7 +PASS: t/sq-brackets-legacy +ok 1 - constant indicates NOT to treat square brackets as reserved characters +ok 2 - sqb in path and request +ok 3 - sqb in path and request and fragment +ok 4 - sqb in userinfo, host, path, request and fragment +ok 5 - sqb in userinfo, host, path, request and fragment +ok 6 - scheme +ok 7 - userinfo +ok 8 - host +ok 9 - ihost +ok 10 - port +ok 11 - default_port +ok 12 - host_port +ok 13 - is_secure +ok 14 - path +ok 15 - opaque +ok 16 - fragment +ok 17 - query +ok 18 - as_string +ok 19 - has_recognized_scheme +ok 20 - as_iri +ok 21 - abs (no change) +ok 22 - rel +ok 23 - authority +ok 24 - path_query +ok 25 - query_keywords +ok 26 - segments +ok 27 - scalar: query_form +ok 28 - list: query_form +ok 29 - query removed +ok 30 - list: query_form +ok 31 - query removed: canonical +ok 32 - query +ok 33 - segments +ok 34 - rel/canonical +ok 35 - basic IPv6 URI +ok 36 - basic IPv6 URI +ok 37 - userinfo added (unescaped) +ok 38 - userinfo is escaped +ok 39 - userinfo replaced (escaped) +ok 40 - userinfo is escaped +ok 41 - userinfo replaced (escaped2) +ok 42 - userinfo is escaped2 +ok 43 - userinfo replaced (escaped3) +ok 44 - userinfo is escaped3 +ok 45 - hostname replaced +ok 46 - hostname replaced +ok 47 - host: example.com +ok 48 - same hosts (example.com) +ok 49 - host: 127.0.0.1 +ok 50 - same hosts (127.0.0.1) +ok 51 - IPv6 host: fedc:ba98:7654:3210:fedc:ba98:7654:3210 +ok 52 - same IPv6 hosts (fedc:ba98:7654:3210:fedc:ba98:7654:3210) +ok 53 - IPv6 host: ::1 +ok 54 - same IPv6 hosts (::1) +ok 55 - path replaced +ok 56 - fragment added +ok 57 - authority replaced +ok 58 - authority replaced +ok 59 - authority replaced +ok 60 - authority replaced +ok 61 - authority replaced +1..61 +PASS: t/sq-brackets ok 1 - path_segments in list context ok 2 - path_segments in scalar context ok 3 - set path_segments in list context @@ -591,6 +524,156 @@ ok 7 - An object of class 'URI::_segment' isa 'URI::_segment' ok 8 - dealing with URI segments 1..8 PASS: t/path-segments +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 - it should accept slash in unwanted characters +ok 9 - it should accept regex char group terminator in unwanted characters +ok 10 - it should accept regex escape character at the end of unwanted characters +ok 11 - it should recognize scalar interpolation injection in unwanted characters +ok 12 - it should recognize array interpolation injection in unwanted characters +ok 13 - it should recognize hash interpolation injection in unwanted characters +ok 14 - it should recognize leading minus +ok 15 - it should recognize leading ^- +ok 16 - it should recognize character groups +ok 17 - it should allow character class escapes +ok 18 - regex characters like / and ^ allowed in range +ok 19 - invalid range with max less than min throws exception +ok 20 - it should allow character class escapes +ok 21 - bad escapes emit warnings +ok 22 - allows regexp objects +ok 23 - allows regexp objects matching multiple characters +ok 24 +ok 25 +ok 26 +ok 27 +ok 28 +ok 29 - no (unexpected) warnings (via done_testing) +1..29 +PASS: t/escape +1..19 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +ok 13 +ok 14 +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +PASS: t/rfc2732 +1..45 +ok 1 - g:h => g:h +ok 2 - g => http://a/b/c/g +ok 3 - ./g => http://a/b/c/g +ok 4 - g/ => http://a/b/c/g/ +ok 5 - /g => http://a/g +ok 6 - //g => http://g +ok 7 - ?y => http://a/b/c/d;p?y +ok 8 - g?y => http://a/b/c/g?y +ok 9 - \#s => http://a/b/c/d;p?q\#s +ok 10 - g\#s => http://a/b/c/g\#s +ok 11 - g?y\#s => http://a/b/c/g?y\#s +ok 12 - ;x => http://a/b/c/;x +ok 13 - g;x => http://a/b/c/g;x +ok 14 - g;x?y\#s => http://a/b/c/g;x?y\#s +ok 15 - . => http://a/b/c/ +ok 16 - ./ => http://a/b/c/ +ok 17 - .. => http://a/b/ +ok 18 - ../ => http://a/b/ +ok 19 - ../g => http://a/b/g +ok 20 - ../.. => http://a/ +ok 21 - ../../ => http://a/ +ok 22 - ../../g => http://a/g +ok 23 - <> => http://a/b/c/d;p?q +ok 24 - ../../../g => http://a/../g +ok 25 - ../../../../g => http://a/../../g +ok 26 - /./g => http://a/./g +ok 27 - /../g => http://a/../g +ok 28 - g. => http://a/b/c/g. +ok 29 - .g => http://a/b/c/.g +ok 30 - g.. => http://a/b/c/g.. +ok 31 - ..g => http://a/b/c/..g +ok 32 - ./../g => http://a/b/g +ok 33 - ./g/. => http://a/b/c/g/ +ok 34 - g/./h => http://a/b/c/g/h +ok 35 - g/../h => http://a/b/c/h +ok 36 - g;x=1/./y => http://a/b/c/g;x=1/y +ok 37 - g;x=1/../y => http://a/b/c/y +ok 38 - g?y/./x => http://a/b/c/g?y/./x +ok 39 - g?y/../x => http://a/b/c/g?y/../x +ok 40 - g\#s/./x => http://a/b/c/g\#s/./x +ok 41 - g\#s/../x => http://a/b/c/g\#s/../x +ok 42 - http:g => http:g +ok 43 - http: => http: +ok 44 - \#foo? => http://a/b/c/d;p?q\#foo? +ok 45 - ?\#foo => http://a/b/c/d;p?\#foo +# +# +# In the following cases we did not get back to where we started with rel() +# 1: URI->new("http://a/b/c/g", "http://a/b/c/d;p?q")->rel ==> "g" (not "./g") +# 1: URI->new("http://a/g", "http://a/b/c/d;p?q")->rel ==> "../../g" (not "/g") +# 1: URI->new("http://g", "http://a/b/c/d;p?q")->rel ==> "http://g" (not "//g") +# 1: URI->new("http://a/b/c/d;p?y", "http://a/b/c/d;p?q")->rel ==> "d;p?y" (not "?y") +# 1: URI->new("http://a/b/c/d;p?q#s", "http://a/b/c/d;p?q")->rel ==> "d;p?q#s" (not "#s") +# 1: URI->new("http://a/b/c/", "http://a/b/c/d;p?q")->rel ==> "./" (not ".") +# 1: URI->new("http://a/b/", "http://a/b/c/d;p?q")->rel ==> "../" (not "..") +# 1: URI->new("http://a/", "http://a/b/c/d;p?q")->rel ==> "../../" (not "../..") +# 1: URI->new("http://a/b/c/d;p?q", "http://a/b/c/d;p?q")->rel ==> "d;p?q" (not "<>") +# 1: URI->new("http://a/./g", "http://a/b/c/d;p?q")->rel ==> "../.././g" (not "/./g") +# 1: URI->new("http://a/../g", "http://a/b/c/d;p?q")->rel ==> "../../../g" (not "/../g") +# 1: URI->new("http://a/b/g", "http://a/b/c/d;p?q")->rel ==> "../g" (not "./../g") +# 1: URI->new("http://a/b/c/g/", "http://a/b/c/d;p?q")->rel ==> "g/" (not "./g/.") +# 1: URI->new("http://a/b/c/g/h", "http://a/b/c/d;p?q")->rel ==> "g/h" (not "g/./h") +# 1: URI->new("http://a/b/c/h", "http://a/b/c/d;p?q")->rel ==> "h" (not "g/../h") +# 1: URI->new("http://a/b/c/g;x=1/y", "http://a/b/c/d;p?q")->rel ==> "g;x=1/y" (not "g;x=1/./y") +# 1: URI->new("http://a/b/c/y", "http://a/b/c/d;p?q")->rel ==> "y" (not "g;x=1/../y") +# 1: URI->new("http://a/b/c/d;p?q#foo?", "http://a/b/c/d;p?q")->rel ==> "d;p?q#foo?" (not "#foo?") +# 1: URI->new("http://a/b/c/d;p?#foo", "http://a/b/c/d;p?q")->rel ==> "d;p?#foo" (not "?#foo") +PASS: t/abs +1..23 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +ok 13 +ok 14 +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +ok 20 +ok 21 +ok 22 +ok 23 +PASS: t/query +ok 1 - == +ok 2 - != +1..2 +PASS: t/num_eq 1..8 ok 1 ok 2 @@ -600,7 +683,85 @@ ok 5 ok 6 ok 7 ok 8 -PASS: t/mms +PASS: t/pop +1..4 +ok 1 +ok 2 +ok 3 +ok 4 +PASS: t/rsync +1..6 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +PASS: t/mix +1..48 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +ok 13 +ok 14 +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +ok 20 +ok 21 +ok 22 +ok 23 +ok 24 +ok 25 +ok 26 +ok 27 +ok 28 +ok 29 +ok 30 +ok 31 +ok 32 +ok 33 +ok 34 +ok 35 +ok 36 +ok 37 +ok 38 +ok 39 +ok 40 +ok 41 +ok 42 +ok 43 +ok 44 +ok 45 +ok 46 +ok 47 +ok 48 +PASS: t/gopher +1..12 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +PASS: t/old-file 1..102 # t/roytest1.html ok 1 @@ -710,20 +871,55 @@ ok 100 ok 101 ok 102 PASS: t/roy-test -ok 1 - constant indicates to treat square brackets as reserved characters (legacy) -ok 2 - legacy: reserved square brackets not escaped -ok 3 - legacy: reserved square brackets not escaped -ok 4 - legacy: reserved square brackets not escaped -ok 5 - legacy: reserved square brackets not escaped -ok 6 - legacy: reserved square brackets not escaped -ok 7 - legacy: reserved square brackets not escaped -1..7 -PASS: t/sq-brackets-legacy -1..2 +# store +1..3 +# retrieve ok 1 ok 2 -PASS: t/clone -1..13 +ok 3 +PASS: t/storable +1..19 +ok 1 - query_form_hash get +ok 2 - query_form_hash set +ok 3 - query_param list keys +ok 4 - query_param scalar return +ok 5 - query_param list return +ok 6 - query_param set return +ok 7 - param order +ok 8 - old values returned +ok 9 +ok 10 - query_param_delete +ok 11 +ok 12 +ok 13 - delete by assigning empty list +ok 14 - query_param from scratch +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +PASS: t/query-param +ok 1 - parsing normal URI sets to() +ok 2 - ... and stringification works +ok 3 - to() returns old value +ok 4 - ... and sets new value +ok 5 - ... and stringification works +ok 6 - to() accepts chars that need escaping +ok 7 - ... and stringification escapes them +ok 8 - ... and headers() returns the correct values +ok 9 - setting multiple headers at once works +ok 10 - ... and to() returns the new value +ok 11 - ... and stringification works +ok 12 - starting with an empty URI and setting to() works +ok 13 - subaddress with `+` parsed correctly +ok 14 - ... and stringification works +ok 15 - IPv4 host name +ok 16 - ... and stringification works +ok 17 - IPv4 host name +ok 18 - ... and stringification works +1..18 +PASS: t/mailto +1..26 ok 1 ok 2 ok 3 @@ -737,10 +933,84 @@ ok 10 ok 11 ok 12 ok 13 -PASS: t/sip -1..0 # SKIP Need Business::ISBN 3.005 -1..0 # SKIP Need Business::ISBN 3.005 -SKIP: t/urn-isbn +ok 14 +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +ok 20 +ok 21 +ok 22 +ok 23 +ok 24 +ok 25 +ok 26 +PASS: t/heuristic +1..24 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +ok 13 +ok 14 +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +ok 20 +ok 21 +ok 22 +ok 23 +ok 24 +PASS: t/iri +1..8 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +PASS: t/news +1..22 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +ok 13 +ok 14 +ok 15 +ok 16 +ok 17 +ok 18 +ok 19 +ok 20 +ok 21 +ok 22 +PASS: t/data +1..2 +ok 1 +ok 2 +PASS: t/clone 1..1 # # Versions for all modules listed in static metadata (including optional ones): @@ -806,35 +1076,13 @@ SKIP: t/urn-isbn # ok 1 - Reported prereqs PASS: t/00-report-prereqs -1..19 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -ok 9 -ok 10 -ok 11 -ok 12 -ok 13 -ok 14 -ok 15 -ok 16 -ok 17 -ok 18 -ok 19 -PASS: t/rfc2732 -1..6 +1..5 ok 1 ok 2 ok 3 ok 4 ok 5 -ok 6 -PASS: t/mix +PASS: t/old-relbase 1..8 ok 1 ok 2 @@ -844,7 +1092,11 @@ ok 5 ok 6 ok 7 ok 8 -PASS: t/news +PASS: t/mms +ok 1 - host +ok 2 - port +1..2 +PASS: t/ipv6 1..6 ok 1 ok 2 @@ -852,12 +1104,14 @@ ok 3 ok 4 ok 5 ok 6 -PASS: t/old-absconf -ok 1 - == -ok 2 - != -1..2 -PASS: t/num_eq -1..17 +PASS: t/rel +ok 1 - no exception when trying to load a scheme handler class +ok 2 - but URI still instantiated as foreign +ok 3 - no exception when trying to load a scheme handler class +ok 4 - but URI still instantiated as foreign +1..4 +PASS: t/scheme-exceptions +1..9 ok 1 ok 2 ok 3 @@ -867,16 +1121,25 @@ ok 6 ok 7 ok 8 ok 9 -ok 10 -ok 11 -ok 12 -ok 13 -ok 14 -ok 15 -ok 16 -ok 17 -PASS: t/split -1..26 +PASS: t/rtsp +1..15 +ok 1 - http://en.wikipedia.org/wiki/Punycode example encode +ok 2 - http://en.wikipedia.org/wiki/Punycode example decode +ok 3 - A encode +ok 4 - A decode +ok 5 - B encode +ok 6 - B decode +ok 7 - E encode +ok 8 - E decode +ok 9 - J encode +ok 10 - J decode +ok 11 - K encode +ok 12 - K decode +ok 13 - O encode +ok 14 - O decode +ok 15 - S encode +PASS: t/punycode +1..24 ok 1 ok 2 ok 3 @@ -892,6 +1155,8 @@ ok 12 ok 13 ok 14 ok 15 +# ldap://LDAP-HOST:389/o=University%20of%20Michigan,c=US?postalAddress?base?ObjectClass=*?FOO=Bar,bindname=CN%3DManager%CO%3dFoo +# ldap://ldap-host/o=University%20of%20Michigan,c=US?postaladdress???foo=Bar,bindname=CN=Manager%CO=Foo ok 16 ok 17 ok 18 @@ -901,10 +1166,8 @@ ok 21 ok 22 ok 23 ok 24 -ok 25 -ok 26 -PASS: t/heuristic -1..16 +PASS: t/ldap +1..48 ok 1 ok 2 ok 3 @@ -921,142 +1184,43 @@ ok 13 ok 14 ok 15 ok 16 -PASS: t/http -1..45 -ok 1 - g:h => g:h -ok 2 - g => http://a/b/c/g -ok 3 - ./g => http://a/b/c/g -ok 4 - g/ => http://a/b/c/g/ -ok 5 - /g => http://a/g -ok 6 - //g => http://g -ok 7 - ?y => http://a/b/c/d;p?y -ok 8 - g?y => http://a/b/c/g?y -ok 9 - \#s => http://a/b/c/d;p?q\#s -ok 10 - g\#s => http://a/b/c/g\#s -ok 11 - g?y\#s => http://a/b/c/g?y\#s -ok 12 - ;x => http://a/b/c/;x -ok 13 - g;x => http://a/b/c/g;x -ok 14 - g;x?y\#s => http://a/b/c/g;x?y\#s -ok 15 - . => http://a/b/c/ -ok 16 - ./ => http://a/b/c/ -ok 17 - .. => http://a/b/ -ok 18 - ../ => http://a/b/ -ok 19 - ../g => http://a/b/g -ok 20 - ../.. => http://a/ -ok 21 - ../../ => http://a/ -ok 22 - ../../g => http://a/g -ok 23 - <> => http://a/b/c/d;p?q -ok 24 - ../../../g => http://a/../g -ok 25 - ../../../../g => http://a/../../g -ok 26 - /./g => http://a/./g -ok 27 - /../g => http://a/../g -ok 28 - g. => http://a/b/c/g. -ok 29 - .g => http://a/b/c/.g -ok 30 - g.. => http://a/b/c/g.. -ok 31 - ..g => http://a/b/c/..g -ok 32 - ./../g => http://a/b/g -ok 33 - ./g/. => http://a/b/c/g/ -ok 34 - g/./h => http://a/b/c/g/h -ok 35 - g/../h => http://a/b/c/h -ok 36 - g;x=1/./y => http://a/b/c/g;x=1/y -ok 37 - g;x=1/../y => http://a/b/c/y -ok 38 - g?y/./x => http://a/b/c/g?y/./x -ok 39 - g?y/../x => http://a/b/c/g?y/../x -ok 40 - g\#s/./x => http://a/b/c/g\#s/./x -ok 41 - g\#s/../x => http://a/b/c/g\#s/../x -ok 42 - http:g => http:g -ok 43 - http: => http: -ok 44 - \#foo? => http://a/b/c/d;p?q\#foo? -ok 45 - ?\#foo => http://a/b/c/d;p?\#foo -# -# -# In the following cases we did not get back to where we started with rel() -# 1: URI->new("http://a/b/c/g", "http://a/b/c/d;p?q")->rel ==> "g" (not "./g") -# 1: URI->new("http://a/g", "http://a/b/c/d;p?q")->rel ==> "../../g" (not "/g") -# 1: URI->new("http://g", "http://a/b/c/d;p?q")->rel ==> "http://g" (not "//g") -# 1: URI->new("http://a/b/c/d;p?y", "http://a/b/c/d;p?q")->rel ==> "d;p?y" (not "?y") -# 1: URI->new("http://a/b/c/d;p?q#s", "http://a/b/c/d;p?q")->rel ==> "d;p?q#s" (not "#s") -# 1: URI->new("http://a/b/c/", "http://a/b/c/d;p?q")->rel ==> "./" (not ".") -# 1: URI->new("http://a/b/", "http://a/b/c/d;p?q")->rel ==> "../" (not "..") -# 1: URI->new("http://a/", "http://a/b/c/d;p?q")->rel ==> "../../" (not "../..") -# 1: URI->new("http://a/b/c/d;p?q", "http://a/b/c/d;p?q")->rel ==> "d;p?q" (not "<>") -# 1: URI->new("http://a/./g", "http://a/b/c/d;p?q")->rel ==> "../.././g" (not "/./g") -# 1: URI->new("http://a/../g", "http://a/b/c/d;p?q")->rel ==> "../../../g" (not "/../g") -# 1: URI->new("http://a/b/g", "http://a/b/c/d;p?q")->rel ==> "../g" (not "./../g") -# 1: URI->new("http://a/b/c/g/", "http://a/b/c/d;p?q")->rel ==> "g/" (not "./g/.") -# 1: URI->new("http://a/b/c/g/h", "http://a/b/c/d;p?q")->rel ==> "g/h" (not "g/./h") -# 1: URI->new("http://a/b/c/h", "http://a/b/c/d;p?q")->rel ==> "h" (not "g/../h") -# 1: URI->new("http://a/b/c/g;x=1/y", "http://a/b/c/d;p?q")->rel ==> "g;x=1/y" (not "g;x=1/./y") -# 1: URI->new("http://a/b/c/y", "http://a/b/c/d;p?q")->rel ==> "y" (not "g;x=1/../y") -# 1: URI->new("http://a/b/c/d;p?q#foo?", "http://a/b/c/d;p?q")->rel ==> "d;p?q#foo?" (not "#foo?") -# 1: URI->new("http://a/b/c/d;p?#foo", "http://a/b/c/d;p?q")->rel ==> "d;p?#foo" (not "?#foo") -PASS: t/abs -ok 1 - parsing normal URI sets to() -ok 2 - ... and stringification works -ok 3 - to() returns old value -ok 4 - ... and sets new value -ok 5 - ... and stringification works -ok 6 - to() accepts chars that need escaping -ok 7 - ... and stringification escapes them -ok 8 - ... and headers() returns the correct values -ok 9 - setting multiple headers at once works -ok 10 - ... and to() returns the new value -ok 11 - ... and stringification works -ok 12 - starting with an empty URI and setting to() works -ok 13 - subaddress with `+` parsed correctly -ok 14 - ... and stringification works -ok 15 - IPv4 host name -ok 16 - ... and stringification works -ok 17 - IPv4 host name -ok 18 - ... and stringification works -1..18 -PASS: t/mailto -1..12 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -ok 9 -ok 10 -ok 11 -ok 12 -PASS: t/old-file -1..8 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -PASS: t/pop -1..19 -ok 1 - query_form_hash get -ok 2 - query_form_hash set -ok 3 - query_param list keys -ok 4 - query_param scalar return -ok 5 - query_param list return -ok 6 - query_param set return -ok 7 - param order -ok 8 - old values returned -ok 9 -ok 10 - query_param_delete -ok 11 -ok 12 -ok 13 - delete by assigning empty list -ok 14 - query_param from scratch -ok 15 -ok 16 ok 17 ok 18 ok 19 -PASS: t/query-param -1..24 +ok 20 +ok 21 +ok 22 +ok 23 +ok 24 +ok 25 +ok 26 +ok 27 +ok 28 +ok 29 +ok 30 +ok 31 +ok 32 +ok 33 +ok 34 +ok 35 +ok 36 +ok 37 +ok 38 +ok 39 +ok 40 +ok 41 +ok 42 +ok 43 +ok 44 +ok 45 +ok 46 +ok 47 +ok 48 +PASS: t/generic +1..0 # SKIP Need Business::ISBN 3.005 +1..0 # SKIP Need Business::ISBN 3.005 +SKIP: t/urn-isbn +1..17 ok 1 ok 2 ok 3 @@ -1072,25 +1236,9 @@ ok 12 ok 13 ok 14 ok 15 -# ldap://LDAP-HOST:389/o=University%20of%20Michigan,c=US?postalAddress?base?ObjectClass=*?FOO=Bar,bindname=CN%3DManager%CO%3dFoo -# ldap://ldap-host/o=University%20of%20Michigan,c=US?postaladdress???foo=Bar,bindname=CN=Manager%CO=Foo ok 16 ok 17 -ok 18 -ok 19 -ok 20 -ok 21 -ok 22 -ok 23 -ok 24 -PASS: t/ldap -1..5 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -PASS: t/old-relbase +PASS: t/split 1..13 ok 1 ok 2 @@ -1106,121 +1254,13 @@ ok 11 ok 12 ok 13 PASS: t/ftp -ok 1 - constant indicates NOT to treat square brackets as reserved characters -ok 2 - sqb in path and request -ok 3 - sqb in path and request and fragment -ok 4 - sqb in userinfo, host, path, request and fragment -ok 5 - sqb in userinfo, host, path, request and fragment -ok 6 - scheme -ok 7 - userinfo -ok 8 - host -ok 9 - ihost -ok 10 - port -ok 11 - default_port -ok 12 - host_port -ok 13 - is_secure -ok 14 - path -ok 15 - opaque -ok 16 - fragment -ok 17 - query -ok 18 - as_string -ok 19 - has_recognized_scheme -ok 20 - as_iri -ok 21 - abs (no change) -ok 22 - rel -ok 23 - authority -ok 24 - path_query -ok 25 - query_keywords -ok 26 - segments -ok 27 - scalar: query_form -ok 28 - list: query_form -ok 29 - query removed -ok 30 - list: query_form -ok 31 - query removed: canonical -ok 32 - query -ok 33 - segments -ok 34 - rel/canonical -ok 35 - basic IPv6 URI -ok 36 - basic IPv6 URI -ok 37 - userinfo added (unescaped) -ok 38 - userinfo is escaped -ok 39 - userinfo replaced (escaped) -ok 40 - userinfo is escaped -ok 41 - userinfo replaced (escaped2) -ok 42 - userinfo is escaped2 -ok 43 - userinfo replaced (escaped3) -ok 44 - userinfo is escaped3 -ok 45 - hostname replaced -ok 46 - hostname replaced -ok 47 - host: example.com -ok 48 - same hosts (example.com) -ok 49 - host: 127.0.0.1 -ok 50 - same hosts (127.0.0.1) -ok 51 - IPv6 host: fedc:ba98:7654:3210:fedc:ba98:7654:3210 -ok 52 - same IPv6 hosts (fedc:ba98:7654:3210:fedc:ba98:7654:3210) -ok 53 - IPv6 host: ::1 -ok 54 - same IPv6 hosts (::1) -ok 55 - path replaced -ok 56 - fragment added -ok 57 - authority replaced -ok 58 - authority replaced -ok 59 - authority replaced -ok 60 - authority replaced -ok 61 - authority replaced -1..61 -PASS: t/sq-brackets -1..24 -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 -ok 9 -ok 10 -ok 11 -ok 12 -ok 13 -ok 14 -ok 15 -ok 16 -ok 17 -ok 18 -ok 19 -ok 20 -ok 21 -ok 22 -ok 23 -ok 24 -PASS: t/iri -1..6 +1..4 ok 1 ok 2 ok 3 ok 4 -ok 5 -ok 6 -PASS: t/rel -1..15 -ok 1 - http://en.wikipedia.org/wiki/Punycode example encode -ok 2 - http://en.wikipedia.org/wiki/Punycode example decode -ok 3 - A encode -ok 4 - A decode -ok 5 - B encode -ok 6 - B decode -ok 7 - E encode -ok 8 - E decode -ok 9 - J encode -ok 10 - J decode -ok 11 - K encode -ok 12 - K decode -ok 13 - O encode -ok 14 - O decode -ok 15 - S encode -PASS: t/punycode -1..22 +PASS: t/urn-oid +1..13 ok 1 ok 2 ok 3 @@ -1234,49 +1274,9 @@ ok 10 ok 11 ok 12 ok 13 -ok 14 -ok 15 -ok 16 -ok 17 -ok 18 -ok 19 -ok 20 -ok 21 -ok 22 -PASS: t/data -ok 1 -ok 2 -ok 3 -ok 4 -ok 5 -ok 6 -ok 7 -ok 8 - it should accept slash in unwanted characters -ok 9 - it should accept regex char group terminator in unwanted characters -ok 10 - it should accept regex escape character at the end of unwanted characters -ok 11 - it should recognize scalar interpolation injection in unwanted characters -ok 12 - it should recognize array interpolation injection in unwanted characters -ok 13 - it should recognize hash interpolation injection in unwanted characters -ok 14 - it should recognize leading minus -ok 15 - it should recognize leading ^- -ok 16 - it should recognize character groups -ok 17 - it should allow character class escapes -ok 18 - regex characters like / and ^ allowed in range -ok 19 - invalid range with max less than min throws exception -ok 20 - it should allow character class escapes -ok 21 - bad escapes emit warnings -ok 22 - allows regexp objects -ok 23 - allows regexp objects matching multiple characters -ok 24 -ok 25 -ok 26 -ok 27 -ok 28 -ok 29 - no (unexpected) warnings (via done_testing) -1..29 -PASS: t/escape +PASS: t/sip DURATION: 4 END: /usr/lib/liburi-perl/ptest -2023-06-29T01:14 +2023-06-30T01:15 STOP: ptest-runner TOTAL: 1 FAIL: 0
\ No newline at end of file |