On Mon, Apr 14, 2014 at 4:06 PM, Jan Lehnardt <[email protected]> wrote:
>
>
> @@ -26,7 +26,7 @@
> fi
>
> if test -f $TGT; then
> - prove $OPTS $TGT
> + prove -v $OPTS $TGT
> else
> prove $OPTS $TGT/*.t
> fi
>
>
> > ./test/etap/run test/etap/231-cors.t
> test/etap/231-cors.t ..
> test/etap/231-cors.t:257: Warning: function test_if_none_match_header/0 is
> unused
> test/etap/231-cors.t:432: Warning: variable 'Else' is unused
> # Current time local 2014-04-14 16:04:37
> # Using etap version "0.3.4"
> 1..28
> Apache CouchDB 0.0.0 (LogLevel=info) is starting.
>
> =INFO REPORT==== 14-Apr-2014::16:04:37 ===
> application: ibrowse
> exited: {shutdown,{ibrowse_app,start,[normal,[]]}}
> type: temporary
> Apache CouchDB has started. Time to relax.
> [info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:64397/
> [info] [<0.94.0>] 127.0.0.1 - - GET / 200
> ok 1 - No CORS Headers when disabled
> [info] [<0.95.0>] 127.0.0.1 - - GET /etap-test-db 200
> ok 2 - No CORS Headers when disabled
> [info] [<0.96.0>] 127.0.0.1 - - GET / 200
> ok 3 - Specified invalid origin, no Access
> [info] [<0.97.0>] 127.0.0.1 - - OPTIONS / 405
> ok 4 - invalid origin
> [info] [<0.98.0>] 127.0.0.1 - - OPTIONS / 204
> ok 5 - test_preflight_request Access-Control-Allow-Methods ok
> [info] [<0.99.0>] 127.0.0.1 - - GET /etap-test-db 200
> ok 6 - db Access-Control-Allow-Origin ok
> ok 7 - db Access-Control-Expose-Headers ok
> [info] [<0.100.0>] 127.0.0.1 - - PUT /etap-test-db/doc1/attachment.txt 201
> [info] [<0.101.0>] 127.0.0.1 - - GET /etap-test-db/doc1?attachments=true
> 200
> ok 8 - Response without errors
> [info] [<0.102.0>] 127.0.0.1 - - PUT /etap-test-db/doc2/attachment.bin 201
> [info] [<0.103.0>] 127.0.0.1 - - GET /etap-test-db/doc2/attachment.bin 206
> ok 9 - Response without errors
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS /etap-test-db 204
> ok 10 - db Access-Control-Allow-Methods ok
> [info] [<0.94.0>] 127.0.0.1 - - GET /etap-test-db1 200
> ok 11 - db origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 405
> ok 12 - check non defined host:port in origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 405
> ok 13 - check non defined scheme in origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 204
> ok 14 - check host:port in origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 204
> ok 15 - check scheme in origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 204
> ok 16 - db origin ok
> [info] [<0.94.0>] 127.0.0.1 - - GET /etap-test-db 200
> ok 17 - db access config case mismatch
> [info] [<0.94.0>] 127.0.0.1 - - GET /etap-test-db 200
> ok 18 - db Access-Control-Allow-Credentials off
> [info] [<0.94.0>] 127.0.0.1 - - GET /etap-test-db 200
> ok 19 - db Access-Control-Allow-Credentials ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 204
> ok 20 - test_preflight_request Access-Control-Allow-Methods ok
> [info] [<0.94.0>] 127.0.0.1 - - GET /etap-test-db 200
> ok 21 - db Access-Control-Allow-Origin ok
> ok 22 - db Access-Control-Expose-Headers ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS /etap-test-db 204
> ok 23 - db Access-Control-Allow-Methods ok
> [info] [<0.94.0>] 127.0.0.1 - - GET /etap-test-db1 200
> ok 24 - db origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 405
> ok 25 - check non defined host:port in origin ok
> [info] [<0.94.0>] 127.0.0.1 - - OPTIONS / 405
> ok 26 - check non defined scheme in origin ok
> # Test died abnormally: {'EXIT',
> {function_clause,
>
> [{couch_passwords,hash_admin_password,["test"]},
>
probably caused by the latest commit in the password handling.