Test output for intarweb
Testing time: 8.0s
CHICKEN_INSTALL_PREFIX=/root/src/salmonella/salmonella-4.5.0/repo CHICKEN_INCLUDE_PATH=/root/src/salmonella/salmonella-4.5.0/repo/share/chicken CHICKEN_REPOSITORY=/root/src/salmonella/salmonella-4.5.0/repo/lib/chicken/5 /usr/local/chicken-4.5.0/bin/csi -script run.scm
-- testing Intarweb ----------------------------------------------------------
-- testing Headers -------------------------------------------------------
-- testing Single headers --------------------------------------------
Basic test ................................................... [ PASS]
Extra spaces are ignored ..................................... [ PASS]
Continuation chars ........................................... [ PASS]
Multiple headers for singular header types discarded ......... [ PASS]
4 tests completed in 0.004 seconds.
4 out of 4 (100%) tests passed.
-- done testing Single headers ---------------------------------------
-- testing Multi-headers ---------------------------------------------
Multiple headers ............................................. [ PASS]
Multiple headers: case insensitivity ......................... [ PASS]
Comma-separated headers ...................................... [ PASS]
Quoted headers ............................................... [ PASS]
Unknown headers are not parsed and put into lists ............ [ PASS]
5 tests completed in 0.009 seconds.
5 out of 5 (100%) tests passed.
-- done testing Multi-headers ----------------------------------------
-- testing Miscellaneous ---------------------------------------------
Missing header contents ...................................... [ PASS]
Bad header w/ handler ........................................ [ PASS]
Bad header w/o handler ....................................... [ PASS]
Embedded newlines ............................................ [ PASS]
4 tests completed in 0 seconds.
4 out of 4 (100%) tests passed.
-- done testing Miscellaneous ----------------------------------------
3 subgroups completed in 0.013 seconds.
3 out of 3 (100%) subgroups passed.
-- done testing Headers --------------------------------------------------
-- testing Specialized header parsers ------------------------------------
-- testing Host/port -------------------------------------------------
Hostname and port ............................................ [ PASS]
Hostname, no port ............................................ [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing Host/port --------------------------------------------
-- testing Quality parameter -----------------------------------------
quality value (case-insensitive) ............................. [ PASS]
quality encoding value ....................................... [ PASS]
quality values have only three digits ........................ [ PASS]
quality values maximum is 1.0 ................................ [ PASS]
quality values minimum is 0.0 ................................ [ PASS]
missing quality value ok ..................................... [ PASS]
6 tests completed in 0.001 seconds.
6 out of 6 (100%) tests passed.
-- done testing Quality parameter ------------------------------------
-- testing Symbol-parser-ci ------------------------------------------
Case-insensitive ............................................. [ PASS]
1 test completed in 0 seconds.
1 out of 1 (100%) test passed.
-- done testing Symbol-parser-ci -------------------------------------
-- testing Symbol-parser ---------------------------------------------
Case-sensitive ............................................... [ PASS]
1 test completed in 0.001 seconds.
1 out of 1 (100%) test passed.
-- done testing Symbol-parser ----------------------------------------
-- testing Natnum-subparser ------------------------------------------
Simple test .................................................. [ PASS]
No number defaults to 0 ...................................... [ PASS]
No negative numbers .......................................... [ PASS]
Rounding of real numbers ..................................... [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing Natnum-subparser -------------------------------------
-- testing Cache-control-parser --------------------------------------
max-age is a number .......................................... [ PASS]
private without value ........................................ [ PASS]
private with values .......................................... [ PASS]
Acts like a multi-header ..................................... [ PASS]
4 tests completed in 0 seconds.
4 out of 4 (100%) tests passed.
-- done testing Cache-control-parser ---------------------------------
-- testing authorization-parser --------------------------------------
-- testing basic auth --------------------------------------------
basic .................................................... [ PASS]
username ................................................. [ PASS]
password ................................................. [ PASS]
3 tests completed in 0 seconds.
3 out of 3 (100%) tests passed.
-- done testing basic auth ---------------------------------------
-- testing digest auth -------------------------------------------
digest ................................................... [ PASS]
realm .................................................... [ PASS]
nonce .................................................... [ PASS]
username ................................................. [ PASS]
qop ...................................................... [ PASS]
digest uri ............................................... [ PASS]
nonce count .............................................. [ PASS]
cnonce ................................................... [ PASS]
response ................................................. [ PASS]
opaque ................................................... [ PASS]
algorithm ................................................ [ PASS]
11 tests completed in 0.007 seconds.
11 out of 11 (100%) tests passed.
-- done testing digest auth --------------------------------------
-- testing custom authorization scheme ---------------------------
Custom ................................................... [ PASS]
Custom contents .......................................... [ PASS]
2 tests completed in 0 seconds.
2 out of 2 (100%) tests passed.
-- done testing custom authorization scheme ----------------------
3 subgroups completed in 0.008 seconds.
3 out of 3 (100%) subgroups passed.
-- done testing authorization-parser ---------------------------------
-- testing authenticate parser ---------------------------------------
-- testing basic auth --------------------------------------------
basic .................................................... [ PASS]
realm .................................................... [ PASS]
2 tests completed in 0 seconds.
2 out of 2 (100%) tests passed.
-- done testing basic auth ---------------------------------------
-- testing digest auth -------------------------------------------
digest ................................................... [ PASS]
realm .................................................... [ PASS]
qop ...................................................... [ PASS]
nonce .................................................... [ PASS]
opaque ................................................... [ PASS]
missing stale value ...................................... [ PASS]
domains .................................................. [ PASS]
stale .................................................... [ PASS]
non-true stale value ..................................... [ PASS]
9 tests completed in 0.002 seconds.
9 out of 9 (100%) tests passed.
-- done testing digest auth --------------------------------------
2 subgroups completed in 0.003 seconds.
2 out of 2 (100%) subgroups passed.
-- done testing authenticate parser ----------------------------------
-- testing pragma-parser ---------------------------------------------
value ........................................................ [ PASS]
no value ..................................................... [ PASS]
private with values .......................................... [ PASS]
Acts like a multi-header ..................................... [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing pragma-parser ----------------------------------------
-- testing base64-parser ---------------------------------------------
md5 is base64-decoded ........................................ [ PASS]
1 test completed in 0 seconds.
1 out of 1 (100%) test passed.
-- done testing base64-parser ----------------------------------------
-- testing Range-parser ----------------------------------------------
Simple range ................................................. [ PASS]
1 test completed in 0.001 seconds.
1 out of 1 (100%) test passed.
-- done testing Range-parser -----------------------------------------
-- testing normalized-uri --------------------------------------------
Uri .......................................................... [ PASS]
Auto-normalization ........................................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing normalized-uri ---------------------------------------
-- testing etag-parser -----------------------------------------------
Strong tag ................................................... [ PASS]
Weak tag ..................................................... [ PASS]
Empty tag .................................................... [ PASS]
Strong tag, containing W/ prefix ............................. [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing etag-parser ------------------------------------------
-- testing if-match parser -------------------------------------------
Strong etag .................................................. [ PASS]
Weak etag .................................................... [ PASS]
Multiple etags ............................................... [ PASS]
Wildcard ..................................................... [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing if-match parser --------------------------------------
-- testing http-date-parser ------------------------------------------
RFC1123 time ................................................. [ PASS]
RFC850 time .................................................. [ PASS]
asctime time ................................................. [ PASS]
3 tests completed in 0.038 seconds.
3 out of 3 (100%) tests passed.
-- done testing http-date-parser -------------------------------------
-- testing If-Range parser -------------------------------------------
RFC1123 time ................................................. [ PASS]
RFC850 time .................................................. [ PASS]
asctime time ................................................. [ PASS]
Strong Etag .................................................. [ PASS]
Weak Etag .................................................... [ PASS]
Empty Etag ................................................... [ PASS]
Strong Etag, containing W/ prefix ............................ [ PASS]
7 tests completed in 0.007 seconds.
7 out of 7 (100%) tests passed.
-- done testing If-Range parser --------------------------------------
-- testing Product parser --------------------------------------------
Simple product ............................................... [ PASS]
Product with comment ......................................... [ PASS]
Realistic product (comments, semicolons) ..................... [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing Product parser ---------------------------------------
-- testing Set-Cookie parser -----------------------------------------
Simple name/value pair ....................................... [ PASS]
Multiple cookies with same name (CI) are all kept ............ [ PASS]
Cookie names preserve case ................................... [ PASS]
Cookie with = signs .......................................... [ PASS]
Comment ...................................................... [ PASS]
Multiple cookies in one header ............................... [ PASS]
Multiple cookies in multiple headers ......................... [ PASS]
Missing "secure" value ....................................... [ PASS]
Missing value ................................................ [ PASS]
Old-style cookie expires value ............................... [ PASS]
Secure value ................................................. [ PASS]
Path ......................................................... [ PASS]
Port numbers ................................................. [ PASS]
Noncompliant syntax cookie expiry value (rfc1123) ............ [ PASS]
Noncompliant syntax cookie expiry value (rfc850-like, abbrev day) [ PASS]
15 tests completed in 0.02 seconds.
15 out of 15 (100%) tests passed.
-- done testing Set-Cookie parser ------------------------------------
-- testing Cookie-parser ---------------------------------------------
Multiple cookies in the same header .......................... [ PASS]
Parameters of cookies (spaces stripped) ...................... [ PASS]
Parameters of cookies ........................................ [ PASS]
Version string is used for all cookies ....................... [ PASS]
4 tests completed in 0.005 seconds.
4 out of 4 (100%) tests passed.
-- done testing Cookie-parser ----------------------------------------
19 subgroups completed in 0.091 seconds.
19 out of 19 (100%) subgroups passed.
-- done testing Specialized header parsers -------------------------------
-- testing Headers -------------------------------------------------------
Simple test ...................................................... [ PASS]
Multi headers are folded ......................................... [ PASS]
Single headers are unique ........................................ [ PASS]
Extra single headers are ignored ................................. [ PASS]
Parameters ....................................................... [ PASS]
Multi headers are folded into old headers ........................ [ PASS]
6 tests completed in 0.001 seconds.
6 out of 6 (100%) tests passed.
-- done testing Headers --------------------------------------------------
-- testing Unparsers -----------------------------------------------------
-- testing Default unparser ------------------------------------------
String ....................................................... [ PASS]
Multiple strings ............................................. [ PASS]
Auto-quoting on commas and whitespace ........................ [ PASS]
Escaping quotes .............................................. [ PASS]
Escaping control characters .................................. [ PASS]
Embedded newlines throw an error ............................. [ PASS]
Alist ........................................................ [ PASS]
Alist with escapes ........................................... [ PASS]
URI .......................................................... [ PASS]
Parameters ................................................... [ PASS]
10 tests completed in 0.009 seconds.
10 out of 10 (100%) tests passed.
-- done testing Default unparser -------------------------------------
-- testing Etag unparser ---------------------------------------------
Weak tag ..................................................... [ PASS]
Strong tag ................................................... [ PASS]
Strong tag starting with W/ .................................. [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing Etag unparser ----------------------------------------
-- testing If-match unparser -----------------------------------------
List of etags ................................................ [ PASS]
Wildcard ..................................................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing If-match unparser ------------------------------------
-- testing Date/time unparser ----------------------------------------
RFC1123 time ................................................. [ PASS]
1 test completed in 0 seconds.
1 out of 1 (100%) test passed.
-- done testing Date/time unparser -----------------------------------
-- testing Host/port unparser ----------------------------------------
No port specified ............................................ [ PASS]
Different port ............................................... [ PASS]
2 tests completed in 0 seconds.
2 out of 2 (100%) tests passed.
-- done testing Host/port unparser -----------------------------------
-- testing Product unparser ------------------------------------------
Product with comments ........................................ [ PASS]
Realistic product ............................................ [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing Product unparser -------------------------------------
-- testing Cookie unparser -------------------------------------------
Basic cookie ................................................. [ PASS]
Port list .................................................... [ PASS]
#t or #f values .............................................. [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing Cookie unparser --------------------------------------
-- testing Set-Cookie unparser ---------------------------------------
Simple name/value pair ....................................... [ PASS]
Multiple cookies with same name (CI) are all written ......... [ PASS]
Cookie names preserve case ................................... [ PASS]
Cookie with = signs .......................................... [ PASS]
Comment ...................................................... [ PASS]
Old-style cookie expires value ............................... [ PASS]
Secure (true) ................................................ [ PASS]
Secure (false) ............................................... [ PASS]
Path ......................................................... [ PASS]
9 tests completed in 0.002 seconds.
9 out of 9 (100%) tests passed.
-- done testing Set-Cookie unparser ----------------------------------
-- testing authorization unparser ------------------------------------
Basic auth ................................................... [ PASS]
Basic auth with colon in username ............................ [ PASS]
Digest auth .................................................. [ PASS]
Custom auth .................................................. [ PASS]
4 tests completed in 0.002 seconds.
4 out of 4 (100%) tests passed.
-- done testing authorization unparser -------------------------------
-- testing authenticate unparser -------------------------------------
-- testing basic auth --------------------------------------------
basic .................................................... [ PASS]
1 test completed in 0.001 seconds.
1 out of 1 (100%) test passed.
-- done testing basic auth ---------------------------------------
-- testing digest auth -------------------------------------------
digest ................................................... [ PASS]
domains .................................................. [ PASS]
stale .................................................... [ PASS]
stale present but false .................................. [ PASS]
4 tests completed in 0.002 seconds.
4 out of 4 (100%) tests passed.
-- done testing digest auth --------------------------------------
2 subgroups completed in 0.003 seconds.
2 out of 2 (100%) subgroups passed.
-- done testing authenticate unparser --------------------------------
-- testing Content-disposition unparser ------------------------------
Attributes are always fully quoted ........................... [ PASS]
1 test completed in 0 seconds.
1 out of 1 (100%) test passed.
-- done testing Content-disposition unparser -------------------------
11 subgroups completed in 0.02 seconds.
11 out of 11 (100%) subgroups passed.
-- done testing Unparsers ------------------------------------------------
-- testing Read-request --------------------------------------------------
(test-read-request "qux") ........................................ [ PASS]
(test-read-request "") ........................................... [ PASS]
(test-read-request "foo") ........................................ [ PASS]
(test-read-request "bar") ........................................ [ PASS]
-- testing HTTP/0.9 --------------------------------------------------
(request-major req) .......................................... [ PASS]
(request-minor req) .......................................... [ PASS]
(request-method req) ......................................... [ PASS]
(request-uri req) ............................................ [ PASS]
(request-headers req) ........................................ [ PASS]
Method is case-insensitive ................................... [ PASS]
0.9 only knows GET ........................................... [ PASS]
7 tests completed in 0.034 seconds.
7 out of 7 (100%) tests passed.
-- done testing HTTP/0.9 ---------------------------------------------
-- testing HTTP/1.0 --------------------------------------------------
(request-major req) .......................................... [ PASS]
(request-minor req) .......................................... [ PASS]
(request-method req) ......................................... [ PASS]
(request-uri req) ............................................ [ PASS]
(request-headers req) ........................................ [ PASS]
(request-method (test-read-request "PUT /path HTTP/1.0\r\n")) [ PASS]
6 tests completed in 0.013 seconds.
6 out of 6 (100%) tests passed.
-- done testing HTTP/1.0 ---------------------------------------------
-- testing HTTP/1.1 --------------------------------------------------
(request-major req) .......................................... [ PASS]
(request-minor req) .......................................... [ PASS]
(request-method (test-read-request "PUT /path HTTP/1.1\r\n\r\n")) [ PASS]
Method is case-sensitive ..................................... [ PASS]
Protocol is case-insensitive ................................. [ PASS]
5 tests completed in 0.033 seconds.
5 out of 5 (100%) tests passed.
-- done testing HTTP/1.1 ---------------------------------------------
4 tests and 3 subgroups completed in 0.08 seconds.
4 out of 4 (100%) tests passed.
3 out of 3 (100%) subgroups passed.
-- done testing Read-request ---------------------------------------------
-- testing Write request -------------------------------------------------
-- testing HTTP/0.9 --------------------------------------------------
Always empty headers ......................................... [ PASS]
Always GET ................................................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing HTTP/0.9 ---------------------------------------------
-- testing HTTP/1.0 --------------------------------------------------
Headers ...................................................... [ PASS]
Chunking ignored ............................................. [ PASS]
2 tests completed in 0 seconds.
2 out of 2 (100%) tests passed.
-- done testing HTTP/1.0 ---------------------------------------------
-- testing HTTP/1.1 --------------------------------------------------
Headers ...................................................... [ PASS]
Chunking ..................................................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing HTTP/1.1 ---------------------------------------------
3 subgroups completed in 0.002 seconds.
3 out of 3 (100%) subgroups passed.
-- done testing Write request --------------------------------------------
-- testing Read response -------------------------------------------------
-- testing HTTP/1.1 --------------------------------------------------
Version detection ............................................ [ PASS]
Status ....................................................... [ PASS]
Headers ...................................................... [ PASS]
Contents ..................................................... [ PASS]
Chunking ..................................................... [ PASS]
5 tests completed in 0.015 seconds.
5 out of 5 (100%) tests passed.
-- done testing HTTP/1.1 ---------------------------------------------
-- testing HTTP/1.0 --------------------------------------------------
Version detection ............................................ [ PASS]
Status ....................................................... [ PASS]
Headers ...................................................... [ PASS]
Contents ..................................................... [ PASS]
Chunking ignored ............................................. [ PASS]
5 tests completed in 0.024 seconds.
5 out of 5 (100%) tests passed.
-- done testing HTTP/1.0 ---------------------------------------------
-- testing HTTP/0.9 --------------------------------------------------
Always OK status ............................................. [ PASS]
Version detection; fallback to 0.9 ........................... [ PASS]
No headers ................................................... [ PASS]
Contents ..................................................... [ PASS]
4 tests completed in 0.01 seconds.
4 out of 4 (100%) tests passed.
-- done testing HTTP/0.9 ---------------------------------------------
3 subgroups completed in 0.049 seconds.
3 out of 3 (100%) subgroups passed.
-- done testing Read response --------------------------------------------
-- testing Write response ------------------------------------------------
-- testing HTTP/0.9 --------------------------------------------------
Headers ignored .............................................. [ PASS]
1 test completed in 0 seconds.
1 out of 1 (100%) test passed.
-- done testing HTTP/0.9 ---------------------------------------------
-- testing HTTP/1.0 --------------------------------------------------
Headers used ................................................. [ PASS]
Status code .................................................. [ PASS]
Chunking ignored ............................................. [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing HTTP/1.0 ---------------------------------------------
-- testing HTTP/1.1 --------------------------------------------------
Headers used ................................................. [ PASS]
Status code .................................................. [ PASS]
Chunking ..................................................... [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing HTTP/1.1 ---------------------------------------------
-- testing Status ----------------------------------------------------
reason and code are looked up by symbol properly ............. [ PASS]
an error is raised for unknown status codes .................. [ PASS]
any status can be used when code and reason are given directly [ PASS]
defaults can be parameterized ................................ [ PASS]
4 tests completed in 0 seconds.
4 out of 4 (100%) tests passed.
-- done testing Status -----------------------------------------------
4 subgroups completed in 0.002 seconds.
4 out of 4 (100%) subgroups passed.
-- done testing Write response -------------------------------------------
-- testing Etag comparison procedures ------------------------------------
-- testing Weak comparison -------------------------------------------
Strong etag does not match list not containing it ............ [ PASS]
Weak etag does not match list not containing it .............. [ PASS]
Weak etag matches list containing it ......................... [ PASS]
Strong etag matches list containing it ....................... [ PASS]
Weak etag does not match list containing same tag but strong . [ PASS]
Strong etag does not match list containing same tag but weak . [ PASS]
Weak etag matches list containing wildcard ................... [ PASS]
Strong etag matches list containing wildcard ................. [ PASS]
8 tests completed in 0.001 seconds.
8 out of 8 (100%) tests passed.
-- done testing Weak comparison --------------------------------------
-- testing Strong comparison -----------------------------------------
Strong etag does not match list not containing it ............ [ PASS]
Weak etag does not match list not containing it .............. [ PASS]
Weak etag does *not* match list containing it ................ [ PASS]
Strong etag matches list containing it ....................... [ PASS]
Weak etag does not match list containing same tag but strong . [ PASS]
Strong etag does not match list containing same tag but weak . [ PASS]
Weak etag matches list containing wildcard ................... [ PASS]
Strong etag matches list containing wildcard ................. [ PASS]
8 tests completed in 0 seconds.
8 out of 8 (100%) tests passed.
-- done testing Strong comparison ------------------------------------
2 subgroups completed in 0.001 seconds.
2 out of 2 (100%) subgroups passed.
-- done testing Etag comparison procedures -------------------------------
9 subgroups completed in 0.638 seconds.
9 out of 9 (100%) subgroups passed.
-- done testing Intarweb -----------------------------------------------------