pike.git
/
lib
/
modules
/
Standards.pmod
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Standards.pmod/testsuite.in:45:
"content-domain": "RFC822", "dek-info": "DES-CBC,F8143EDE5960C597", "key-info": "DES-ECB,RSA-MD2,9FD3AAD2F2691B9A, B70665BB9BF7CBCDA60195DB94F727D3\0DES-ECB,RSA-MD2,161A3F75DC82EF26, E2EF532C65CBCFF79F83A2658132DB47", "originator-id-symmetric": "linn@zendia.enet.dec.com,,", "post": "PRIVACY-ENHANCED MESSAGE", "pre": "PRIVACY-ENHANCED MESSAGE", "proc-type": "4,ENCRYPTED", "recipient-id-symmetric": "linn@zendia.enet.dec.com,ptf-kmc,3\0pem-dev@tis.com,ptf-kmc,4" ]) ]])
+
test_any([[
+
return (mapping)Standards.PEM.Message(#"-----BEGIN FOO-----
+
QkFS
+
-----END FOO-----");
+
]], "BAR")
// - Standards.URI // RFC 3986 5.4.1 Normal Examples test_equal((string)Standards.URI("g:h", "http://a/b/c/d;p?q"), "g:h") test_equal((string)Standards.URI("g", "http://a/b/c/d;p?q"), "http://a/b/c/g") test_equal((string)Standards.URI("./g", "http://a/b/c/d;p?q"), "http://a/b/c/g") test_equal((string)Standards.URI("g/", "http://a/b/c/d;p?q"), "http://a/b/c/g/") test_equal((string)Standards.URI("/g", "http://a/b/c/d;p?q"), "http://a/g") test_equal((string)Standards.URI("//g", "http://a/b/c/d;p?q"), "http://g") test_equal((string)Standards.URI("?y", "http://a/b/c/d;p?q"), "http://a/b/c/d;p?y")