Skip to content

Instantly share code, notes, and snippets.

@joelreymont
Created March 31, 2011 14:17
Show Gist options
  • Save joelreymont/896423 to your computer and use it in GitHub Desktop.
Save joelreymont/896423 to your computer and use it in GitHub Desktop.
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "bogus")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "bogus")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "bogus")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "bogus")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
DEBUG src/config/db.c:65: [SQL] SELECT id, send_spec, send_ident, recv_spec, recv_ident FROM handler
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9999:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=1
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9997:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=2
DEBUG src/config/db.c:65: [SQL] SELECT id, addr, port FROM proxy
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
DEBUG src/config/db.c:65: [SQL] SELECT id, base, index_file, default_ctype FROM directory
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
DEBUG src/config/db.c:65: [SQL] SELECT id, uuid, default_host, bind_addr, port, chroot, access_log, error_log, pid_file FROM server WHERE uuid='AC1F8236-5919-4696-9D40-0F38DE9E5861'
DEBUG src/config/db.c:65: [SQL] SELECT id, name, matching, server_id FROM host WHERE server_id = 1
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/config/db.c:65: [SQL] SELECT route.id, route.path, route.target_id, route.target_type FROM route, host WHERE host_id=1 AND host.server_id=1 AND host.id = route.host_id
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
DEBUG src/routing.c:92: ADDING prefix: /handlertest, pattern: /handlertest
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /chat/, pattern: /chat/
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /, pattern: /
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /tests/, pattern: /tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /testsmulti/, pattern: /testsmulti/(.*.json)
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /chatdemo/, pattern: /chatdemo/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /static/, pattern: /static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
DEBUG src/routing.c:92: ADDING prefix: tsohlacol, pattern: localhost
DEBUG src/config/config.c:265: Setting default host to host 1:localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/routing.c:92: ADDING prefix: /tests, pattern: /tests
DEBUG src/connection.c:607: Failed to write entire message to conn 1
DEBUG src/config/db.c:65: [SQL] DROP TABLE IF EXISTS testing
DEBUG src/config/db.c:65: [SQL] CREATE TABLE testing (name TEXT, age INT)
DEBUG src/config/db.c:65: [SQL] INSERT INTO testing VALUES ('Zed',35)
DEBUG src/config/db.c:65: [SQL] SELECT * FROM testing
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "bogus")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
DEBUG src/config/db.c:65: [SQL] SELECT id, send_spec, send_ident, recv_spec, recv_ident FROM handler
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9999:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=1
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9997:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=2
DEBUG src/config/db.c:65: [SQL] SELECT id, addr, port FROM proxy
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
DEBUG src/config/db.c:65: [SQL] SELECT id, base, index_file, default_ctype FROM directory
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
DEBUG src/config/db.c:65: [SQL] SELECT id, uuid, default_host, bind_addr, port, chroot, access_log, error_log, pid_file FROM server WHERE uuid='AC1F8236-5919-4696-9D40-0F38DE9E5861'
DEBUG src/config/db.c:65: [SQL] SELECT id, name, matching, server_id FROM host WHERE server_id = 1
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/config/db.c:65: [SQL] SELECT route.id, route.path, route.target_id, route.target_type FROM route, host WHERE host_id=1 AND host.server_id=1 AND host.id = route.host_id
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
DEBUG src/routing.c:92: ADDING prefix: /handlertest, pattern: /handlertest
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /chat/, pattern: /chat/
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /, pattern: /
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /tests/, pattern: /tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /testsmulti/, pattern: /testsmulti/(.*.json)
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /chatdemo/, pattern: /chatdemo/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /static/, pattern: /static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
DEBUG src/routing.c:92: ADDING prefix: tsohlacol, pattern: localhost
DEBUG src/config/config.c:265: Setting default host to host 1:localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/routing.c:92: ADDING prefix: /tests, pattern: /tests
DEBUG src/connection.c:607: Failed to write entire message to conn 1
DEBUG src/config/db.c:65: [SQL] DROP TABLE IF EXISTS testing
DEBUG src/config/db.c:65: [SQL] CREATE TABLE testing (name TEXT, age INT)
DEBUG src/config/db.c:65: [SQL] INSERT INTO testing VALUES ('Zed',35)
DEBUG src/config/db.c:65: [SQL] SELECT * FROM testing
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "bogus")
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001000a0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
DEBUG src/config/db.c:65: [SQL] SELECT id, send_spec, send_ident, recv_spec, recv_ident FROM handler
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9999:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=1
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9997:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=2
DEBUG src/config/db.c:65: [SQL] SELECT id, addr, port FROM proxy
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
DEBUG src/config/db.c:65: [SQL] SELECT id, base, index_file, default_ctype FROM directory
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
DEBUG src/config/db.c:65: [SQL] SELECT id, uuid, default_host, bind_addr, port, chroot, access_log, error_log, pid_file FROM server WHERE uuid='AC1F8236-5919-4696-9D40-0F38DE9E5861'
DEBUG src/config/db.c:65: [SQL] SELECT id, name, matching, server_id FROM host WHERE server_id = 1
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/config/db.c:65: [SQL] SELECT route.id, route.path, route.target_id, route.target_type FROM route, host WHERE host_id=1 AND host.server_id=1 AND host.id = route.host_id
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
DEBUG src/routing.c:92: ADDING prefix: /handlertest, pattern: /handlertest
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /chat/, pattern: /chat/
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /, pattern: /
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /tests/, pattern: /tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /testsmulti/, pattern: /testsmulti/(.*.json)
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /chatdemo/, pattern: /chatdemo/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /static/, pattern: /static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
DEBUG src/routing.c:92: ADDING prefix: tsohlacol, pattern: localhost
DEBUG src/config/config.c:265: Setting default host to host 1:localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/routing.c:92: ADDING prefix: /tests, pattern: /tests
DEBUG src/connection.c:607: Failed to write entire message to conn 1
DEBUG src/config/db.c:65: [SQL] DROP TABLE IF EXISTS testing
DEBUG src/config/db.c:65: [SQL] CREATE TABLE testing (name TEXT, age INT)
DEBUG src/config/db.c:65: [SQL] INSERT INTO testing VALUES ('Zed',35)
DEBUG src/config/db.c:65: [SQL] SELECT * FROM testing
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
DEBUG tests/bstr_tests.c:3742: Direct case testing of bstring core functions
DEBUG tests/bstr_tests.c:437: TEST: bstring bfromcstr (const char * str);
DEBUG tests/bstr_tests.c:397: . bfromcstr (NULL) = NULL
DEBUG tests/bstr_tests.c:405: . bfromcstr ("") = 0x1001000a0:""
DEBUG tests/bstr_tests.c:405: . bfromcstr ("bogus") = 0x1001000a0:"bogus"
DEBUG tests/bstr_tests.c:405: . bfromcstr ("This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001000a0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:446: # failures: 0
DEBUG tests/bstr_tests.c:448: TEST: bstring bfromcstralloc (int len, const char * str);
DEBUG tests/bstr_tests.c:416: . bfromcstralloc (*, NULL) = NULL
DEBUG tests/bstr_tests.c:416: . bfromcstralloc (*, NULL) = NULL
DEBUG tests/bstr_tests.c:425: . bfromcstralloc (0, "") = 0x100100140:""
DEBUG tests/bstr_tests.c:425: . bfromcstralloc (30, "") = 0x100100140:""
DEBUG tests/bstr_tests.c:425: . bfromcstralloc (0, "bogus") = 0x100100140:"bogus"
DEBUG tests/bstr_tests.c:425: . bfromcstralloc (30, "bogus") = 0x100100140:"bogus"
DEBUG tests/bstr_tests.c:425: . bfromcstralloc (0, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x100100140:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:425: . bfromcstralloc (30, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x100100140:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:461: # failures: 0
DEBUG tests/bstr_tests.c:491: TEST: bstring blk2bstr (const void * blk, int len);
DEBUG tests/bstr_tests.c:471: . blk2bstr (NULL, len=10) = NULL
DEBUG tests/bstr_tests.c:471: . blk2bstr (NULL, len=0) = NULL
DEBUG tests/bstr_tests.c:471: . blk2bstr (NULL, len=-1) = NULL
DEBUG tests/bstr_tests.c:476: . blk2bstr (blk=0x10002726a, len=5) = 0x1001002e0:"bogus"
DEBUG tests/bstr_tests.c:476: . blk2bstr (blk=0x100027270, len=86) = 0x1001002e0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:476: . blk2bstr (blk=0x100027270, len=5) = 0x1001002e0:"This "
DEBUG tests/bstr_tests.c:476: . blk2bstr (blk=0x100027270, len=0) = 0x1001002e0:""
DEBUG tests/bstr_tests.c:471: . blk2bstr (NULL, len=-1) = NULL
DEBUG tests/bstr_tests.c:504: # failures: 0
DEBUG tests/bstr_tests.c:544: TEST: char * bstr2cstr (const_bstring s, char z);
DEBUG tests/bstr_tests.c:513: . bstr2cstr (NULL, 3F) = NULL
DEBUG tests/bstr_tests.c:526: . bstr2cstr (0x10002e160[c]:"", 3F) = ""
DEBUG tests/bstr_tests.c:526: . bstr2cstr (0x10002e170[c]:"bogus", 3F) = "bogus"
DEBUG tests/bstr_tests.c:526: . bstr2cstr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3F) = "This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:513: . bstr2cstr (0x10002e190:[err:data=NULL], 3F) = NULL
DEBUG tests/bstr_tests.c:513: . bstr2cstr (0x10002e1a0:[err:slen=-5<0], 3F) = NULL
DEBUG tests/bstr_tests.c:555: # failures: 0
DEBUG tests/bstr_tests.c:577: TEST: bstring bstrcpy (const_bstring b1);
DEBUG tests/bstr_tests.c:562: . bstrcpy (NULL) = NULL
DEBUG tests/bstr_tests.c:562: . bstrcpy (0x10002e190:[err:data=NULL]) = NULL
DEBUG tests/bstr_tests.c:562: . bstrcpy (0x10002e1a0:[err:slen=-5<0]) = NULL
DEBUG tests/bstr_tests.c:562: . bstrcpy (0x10002e160[c]:"") = 0x1001002b0:""
DEBUG tests/bstr_tests.c:562: . bstrcpy (0x10002e170[c]:"bogus") = 0x1001002b0:"bogus"
DEBUG tests/bstr_tests.c:562: . bstrcpy (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001002b0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:588: # failures: 0
DEBUG tests/bstr_tests.c:622: TEST: bstring bmidstr (const_bstring b, int left, int len);
DEBUG tests/bstr_tests.c:595: . bmidstr (NULL, 0, 0) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (NULL, 0, 2) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (NULL, 0, -2) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (NULL, -5, 2) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (NULL, -5, -2) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e190:[err:data=NULL], 1, 3) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e1a0:[err:slen=-5<0], 1, 3) = NULL
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e160[c]:"", 0, 0) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e160[c]:"", 0, -1) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e160[c]:"", 1, 3) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", 0, 0) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", 0, -1) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", 1, 3) = 0x1001002b0:"ogu"
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", -1, 3) = 0x1001002b0:"bo"
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", -1, 9) = 0x1001002b0:"bogus"
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", 3, -1) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:595: . bmidstr (0x10002e170[c]:"bogus", 9, 3) = 0x1001002b0:""
DEBUG tests/bstr_tests.c:644: # failures: 0
DEBUG tests/bstr_tests.c:732: TEST: int bconcat (bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:681: . bconcat (NULL, NULL) = -1
DEBUG tests/bstr_tests.c:681: . bconcat (NULL, 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:681: . bconcat (0x10002e160[c]:"", NULL) = -1
DEBUG tests/bstr_tests.c:681: . bconcat (0x10002e160[c]:"", 0x10002e190:[err:data=NULL]) = -1
DEBUG tests/bstr_tests.c:681: . bconcat (0x10002e160[c]:"", 0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:681: . bconcat (0x10002e190:[err:data=NULL], 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:681: . bconcat (0x10002e1a0:[err:slen=-5<0], 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:657: . bconcat (0x1001002b0[p]:"",
DEBUG tests/bstr_tests.c:663: 0x10002e160[c]:"") = 0x1001002b0[p]:""
DEBUG tests/bstr_tests.c:667: . bconcat (0x1001002b0:"",
DEBUG tests/bstr_tests.c:671: 0x10002e160[c]:"") = 0x1001002b0:""
DEBUG tests/bstr_tests.c:657: . bconcat (0x1001002b0[p]:"",
DEBUG tests/bstr_tests.c:663: 0x10002e170[c]:"bogus") = 0x1001002b0[p]:""
DEBUG tests/bstr_tests.c:667: . bconcat (0x1001002b0:"",
DEBUG tests/bstr_tests.c:671: 0x10002e170[c]:"bogus") = 0x1001002b0:"bogus"
DEBUG tests/bstr_tests.c:657: . bconcat (0x1001002b0[p]:"bogus",
DEBUG tests/bstr_tests.c:663: 0x10002e160[c]:"") = 0x1001002b0[p]:"bogus"
DEBUG tests/bstr_tests.c:667: . bconcat (0x1001002b0:"bogus",
DEBUG tests/bstr_tests.c:671: 0x10002e160[c]:"") = 0x1001002b0:"bogus"
DEBUG tests/bstr_tests.c:657: . bconcat (0x1001002b0[p]:"bogus",
DEBUG tests/bstr_tests.c:663: 0x10002e170[c]:"bogus") = 0x1001002b0[p]:"bogus"
DEBUG tests/bstr_tests.c:667: . bconcat (0x1001002b0:"bogus",
DEBUG tests/bstr_tests.c:671: 0x10002e170[c]:"bogus") = 0x1001002b0:"bogusbogus"
DEBUG tests/bstr_tests.c:697: TEST: bconcat aliasing
DEBUG tests/bstr_tests.c:751: # failures: 0
DEBUG tests/bstr_tests.c:794: TEST: int bconchar (bstring b, char c);
DEBUG tests/bstr_tests.c:780: . bconchar (NULL, x) = -1
DEBUG tests/bstr_tests.c:780: . bconchar (0x10002e190:[err:data=NULL], x) = -1
DEBUG tests/bstr_tests.c:780: . bconchar (0x10002e1a0:[err:slen=-5<0], x) = -1
DEBUG tests/bstr_tests.c:766: . bconchar (0x10002e160[c]:"", x) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:775: . bconchar (0x10002e160[c]:"", x) = 0x1001002f0:"x"
DEBUG tests/bstr_tests.c:766: . bconchar (0x10002e170[c]:"bogus", x) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:775: . bconchar (0x10002e170[c]:"bogus", x) = 0x1001002f0:"bogusx"
DEBUG tests/bstr_tests.c:804: # failures: 0
DEBUG tests/bstr_tests.c:823: TEST: int biseq (const_bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:812: . biseq (NULL, NULL) = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e160[c]:"", NULL) = -1
DEBUG tests/bstr_tests.c:812: . biseq (NULL, 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e170[c]:"bogus", NULL) = -1
DEBUG tests/bstr_tests.c:812: . biseq (NULL, 0x10002e170[c]:"bogus") = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e190:[err:data=NULL], 0x10002e190:[err:data=NULL]) = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e1a0:[err:slen=-5<0], 0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e170[c]:"bogus", 0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e1a0:[err:slen=-5<0], 0x10002e170[c]:"bogus") = -1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e160[c]:"", 0x10002e160[c]:"") = 1
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e170[c]:"bogus", 0x10002e160[c]:"") = 0
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e160[c]:"", 0x10002e170[c]:"bogus") = 0
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e170[c]:"bogus", 0x10002e170[c]:"bogus") = 1
DEBUG tests/bstr_tests.c:812: . biseq (0x1001002f0:"bpgus", 0x10002e170[c]:"bogus") = 0
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e170[c]:"bogus", 0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0
DEBUG tests/bstr_tests.c:812: . biseq (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x10002e170[c]:"bogus") = 0
DEBUG tests/bstr_tests.c:857: # failures: 0
DEBUG tests/bstr_tests.c:823: TEST: int bstrcmp (const_bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:812: . bstrcmp (NULL, NULL) = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e160[c]:"", NULL) = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (NULL, 0x10002e160[c]:"") = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e170[c]:"bogus", NULL) = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (NULL, 0x10002e170[c]:"bogus") = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e190:[err:data=NULL], 0x10002e190:[err:data=NULL]) = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e1a0:[err:slen=-5<0], 0x10002e1a0:[err:slen=-5<0]) = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e170[c]:"bogus", 0x10002e1a0:[err:slen=-5<0]) = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e1a0:[err:slen=-5<0], 0x10002e170[c]:"bogus") = -32768
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e160[c]:"", 0x10002e160[c]:"") = 0
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e170[c]:"bogus", 0x10002e160[c]:"") = 1
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e160[c]:"", 0x10002e170[c]:"bogus") = -1
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e170[c]:"bogus", 0x10002e170[c]:"bogus") = 0
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x1001002f0:"bpgus", 0x10002e170[c]:"bogus") = 1
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e170[c]:"bogus", 0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 14
DEBUG tests/bstr_tests.c:812: . bstrcmp (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x10002e170[c]:"bogus") = -14
DEBUG tests/bstr_tests.c:857: # failures: 0
DEBUG tests/bstr_tests.c:878: TEST: int bstrncmp (const_bstring b0, const_bstring b1, int n);
DEBUG tests/bstr_tests.c:868: . bstrncmp (NULL, NULL, 0) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (NULL, NULL, -1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (NULL, NULL, 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", NULL, 0) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (NULL, 0x10002e160[c]:"", 0) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", NULL, 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (NULL, 0x10002e160[c]:"", 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e190:[err:data=NULL], 0x10002e190:[err:data=NULL], 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e1a0:[err:slen=-5<0], 0x10002e1a0:[err:slen=-5<0], 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", 0x10002e190:[err:data=NULL], 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", 0x10002e1a0:[err:slen=-5<0], 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e190:[err:data=NULL], 0x10002e160[c]:"", 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e1a0:[err:slen=-5<0], 0x10002e160[c]:"", 1) = -32768
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", 0x10002e160[c]:"", -1) = 0
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", 0x10002e160[c]:"", 0) = 0
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e160[c]:"", 0x10002e160[c]:"", 1) = 0
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e170[c]:"bogus", 0x10002e170[c]:"bogus", -1) = 0
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e170[c]:"bogus", 0x10002e170[c]:"bogus", 0) = 0
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e170[c]:"bogus", 0x10002e170[c]:"bogus", 1) = 0
DEBUG tests/bstr_tests.c:868: . bstrncmp (0x10002e170[c]:"bogus", 0x10002e170[c]:"bogus", 9) = 0
DEBUG tests/bstr_tests.c:903: # failures: 0
DEBUG tests/bstr_tests.c:937: TEST: int bdestroy (const_bstring b);
DEBUG tests/bstr_tests.c:912: . bdestroy (NULL) =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x1001002b0[p]:"") =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x1001002f0[p]:"bogus") =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x1001002b0:"") =
DEBUG tests/bstr_tests.c:914: 0
DEBUG tests/bstr_tests.c:912: . bdestroy (0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:914: 0
DEBUG tests/bstr_tests.c:912: . bdestroy (0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:912: . bdestroy (0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:914: -1
DEBUG tests/bstr_tests.c:959: # failures: 0
DEBUG tests/bstr_tests.c:993: TEST: int binstr (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:966: . binstr (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e190:[err:data=NULL], 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:968: 0
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e160[c]:"", 1, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e170[c]:"bogus", 5, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:968: 5
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e170[c]:"bogus", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:968: 0
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e170[c]:"bogus", 0, 0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:968: 0
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e170[c]:"bogus", 0, 0x1001002f0:"BOGUS") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:968: 10
DEBUG tests/bstr_tests.c:966: . binstr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:968: -1
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sssssssssap", 0, 0x1001002f0:"sap") =
DEBUG tests/bstr_tests.c:968: 8
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sssssssssap", 3, 0x1001002f0:"sap") =
DEBUG tests/bstr_tests.c:968: 8
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"ssssssssssap", 3, 0x1001002f0:"sap") =
DEBUG tests/bstr_tests.c:968: 9
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sssssssssap", 0, 0x1001002f0:"s") =
DEBUG tests/bstr_tests.c:968: 0
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sssssssssap", 3, 0x1001002f0:"s") =
DEBUG tests/bstr_tests.c:968: 3
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sssssssssap", 0, 0x1001002f0:"a") =
DEBUG tests/bstr_tests.c:968: 9
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sssssssssap", 5, 0x1001002f0:"a") =
DEBUG tests/bstr_tests.c:968: 9
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"sasasasasap", 0, 0x1001002f0:"sap") =
DEBUG tests/bstr_tests.c:968: 8
DEBUG tests/bstr_tests.c:966: . binstr (0x1001002b0:"ssasasasasap", 0, 0x1001002f0:"sap") =
DEBUG tests/bstr_tests.c:968: 9
DEBUG tests/bstr_tests.c:1045: TEST: int binstrcaseless (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:979: . binstrcaseless (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e190:[err:data=NULL], 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:981: 0
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e160[c]:"", 1, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e170[c]:"bogus", 5, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:981: 5
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e170[c]:"bogus", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:981: 0
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e170[c]:"bogus", 0, 0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:981: 0
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e170[c]:"bogus", 0, 0x1001002f0:"BOGUS") =
DEBUG tests/bstr_tests.c:981: 0
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:981: 10
DEBUG tests/bstr_tests.c:979: . binstrcaseless (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:981: -1
DEBUG tests/bstr_tests.c:1069: # failures: 0
DEBUG tests/bstr_tests.c:1103: TEST: int binstrr (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:1076: . binstrr (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e190:[err:data=NULL], 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1078: 0
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e160[c]:"", 1, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1078: 0
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e170[c]:"bogus", 5, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1078: 5
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e170[c]:"bogus", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1078: 0
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e170[c]:"bogus", 0, 0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:1078: 0
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e170[c]:"bogus", 0, 0x1001002f0:"BOGUS") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1078: -1
DEBUG tests/bstr_tests.c:1076: . binstrr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1078: 10
DEBUG tests/bstr_tests.c:1127: TEST: int binstrrcaseless (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e190:[err:data=NULL], 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1091: 0
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e160[c]:"", 1, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1091: 0
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e170[c]:"bogus", 5, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1091: 5
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e170[c]:"bogus", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1091: 0
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e170[c]:"bogus", 0, 0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:1091: 0
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e170[c]:"bogus", 0, 0x1001002f0:"BOGUS") =
DEBUG tests/bstr_tests.c:1091: 0
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1091: -1
DEBUG tests/bstr_tests.c:1089: . binstrrcaseless (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1091: 10
DEBUG tests/bstr_tests.c:1151: # failures: 0
DEBUG tests/bstr_tests.c:1173: TEST: int binchr (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:1158: . binchr (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e190:[err:data=NULL], 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: 0
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", 0, 0x100808478[c]:"ooooo") =
DEBUG tests/bstr_tests.c:1160: 1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", 0, 0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:1160: 0
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", 10, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: 1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e160[c]:"", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e1c0[c]:"xxxxx", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: -1
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: 3
DEBUG tests/bstr_tests.c:1158: . binchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1160: 10
DEBUG tests/bstr_tests.c:1197: # failures: 0
DEBUG tests/bstr_tests.c:1218: TEST: int binchrr (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:1204: . binchrr (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e190:[err:data=NULL], 0, 0x10002e1a0:[err:slen=-5<0]) =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: 0
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", 0, 0x1001002f0:"bogus") =
DEBUG tests/bstr_tests.c:1206: 0
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", 5, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: 4
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", 4, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: 4
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: 1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e160[c]:"", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e1c0[c]:"xxxxx", 4, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: -1
DEBUG tests/bstr_tests.c:1204: . binchrr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1206: 10
DEBUG tests/bstr_tests.c:1242: # failures: 0
DEBUG tests/bstr_tests.c:1297: TEST: int bsetstr (bstring b0, int pos, const_bstring b1, unsigned char fill);
DEBUG tests/bstr_tests.c:1284: . bsetstr (NULL, 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (NULL, 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e190:[err:data=NULL], 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e190:[err:data=NULL], 0, 0x10002e190:[err:data=NULL], 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL], 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e1a0:[err:slen=-5<0], 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e1a0:[err:slen=-5<0], 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0], 3F) = -1
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1261: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1279: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0:""
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1261: 5, 0x10002e160[c]:"", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1279: 5, 0x10002e160[c]:"", 3F) = 0x1001002f0:"?????"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1261: 5, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1279: 5, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"?????bogus"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1261: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1279: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1261: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1279: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1261: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1279: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1261: -1, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1279: -1, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1261: 2, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1279: 2, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bobogus"
DEBUG tests/bstr_tests.c:1255: . bsetstr (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1261: 6, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1265: . bsetstr (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1279: 6, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus?bogus"
DEBUG tests/bstr_tests.c:1284: . bsetstr (0x10002e170[c]:"bogus", 6, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1321: # failures: 0
DEBUG tests/bstr_tests.c:1375: TEST: int binsert (bstring b0, int pos, const_bstring b1, unsigned char fill);
DEBUG tests/bstr_tests.c:1362: . binsert (NULL, 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (NULL, 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e190:[err:data=NULL], 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e190:[err:data=NULL], 0, 0x10002e190:[err:data=NULL], 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e160[c]:"", 0, 0x10002e190:[err:data=NULL], 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e190:[err:data=NULL], 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e1a0:[err:slen=-5<0], 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e1a0:[err:slen=-5<0], 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e160[c]:"", 0, 0x10002e1a0:[err:slen=-5<0], 3F) = -1
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e1a0:[err:slen=-5<0], 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1340: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1357: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0:""
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1340: 5, 0x10002e160[c]:"", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1357: 5, 0x10002e160[c]:"", 3F) = 0x1001002f0:"?????"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1340: 5, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1357: 5, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"?????bogus"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1340: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1357: 0, 0x10002e160[c]:"", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1340: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1357: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1340: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1357: 0, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogusbogus"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1340: -1, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1357: -1, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1340: 2, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1357: 2, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bobogusgus"
DEBUG tests/bstr_tests.c:1334: . binsert (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1340: 6, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1344: . binsert (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1357: 6, 0x10002e170[c]:"bogus", 3F) = 0x1001002f0:"bogus?bogus"
DEBUG tests/bstr_tests.c:1362: . binsert (0x10002e170[c]:"bogus", 6, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:1399: # failures: 0
DEBUG tests/bstr_tests.c:1449: TEST: int bdelete (bstring s1, int pos, int len);
DEBUG tests/bstr_tests.c:1436: . bdelete (NULL, 0, 0) = -1
DEBUG tests/bstr_tests.c:1436: . bdelete (0x10002e190:[err:data=NULL], 0, 0) = -1
DEBUG tests/bstr_tests.c:1436: . bdelete (0x10002e1a0:[err:slen=-5<0], 0, 0) = -1
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"",
DEBUG tests/bstr_tests.c:1417: 0, 0) = 0x1001002f0[p]:""
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"",
DEBUG tests/bstr_tests.c:1431: 0, 0) = 0x1001002f0:""
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1417: 1, 3) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1431: 1, 3) = 0x1001002f0:"bs"
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1417: -1, 3) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1431: -1, 3) = 0x1001002f0:"gus"
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1417: 1, -3) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1431: 1, -3) = 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1417: 3, 9) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1431: 3, 9) = 0x1001002f0:"bog"
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"bogus",
DEBUG tests/bstr_tests.c:1417: 3, 1) = 0x1001002f0[p]:"bogus"
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"bogus",
DEBUG tests/bstr_tests.c:1431: 3, 1) = 0x1001002f0:"bogs"
DEBUG tests/bstr_tests.c:1411: . bdelete (0x1001002f0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.",
DEBUG tests/bstr_tests.c:1417: 4, 300) = 0x1001002f0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:1421: . bdelete (0x1001002f0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.",
DEBUG tests/bstr_tests.c:1431: 4, 300) = 0x1001002f0:"This"
DEBUG tests/bstr_tests.c:1464: # failures: 0
DEBUG tests/bstr_tests.c:1524: TEST: int balloc (bstring s, int len);
DEBUG tests/bstr_tests.c:1473: . balloc (NULL, 2) =
DEBUG tests/bstr_tests.c:1476: -1
DEBUG tests/bstr_tests.c:1473: . balloc (0x10002e190:[err:data=NULL], 2) =
DEBUG tests/bstr_tests.c:1476: -1
DEBUG tests/bstr_tests.c:1473: . balloc (0x10002e1a0:[err:slen=-5<0], 2) =
DEBUG tests/bstr_tests.c:1476: -1
DEBUG tests/bstr_tests.c:1473: . balloc (0x1001002f0:"test", 2) =
DEBUG tests/bstr_tests.c:1476: 0
DEBUG tests/bstr_tests.c:1473: . balloc (0x1001002f0:"test", -1) =
DEBUG tests/bstr_tests.c:1476: -1
DEBUG tests/bstr_tests.c:1473: . balloc (0x1001002f0:"test", 9) =
DEBUG tests/bstr_tests.c:1476: 0
DEBUG tests/bstr_tests.c:1473: . balloc (0x1001002f0:"test", 2) =
DEBUG tests/bstr_tests.c:1476: 0
DEBUG tests/bstr_tests.c:1473: . balloc (0x1001002f0[p]:"test", 4) =
DEBUG tests/bstr_tests.c:1476: -1
DEBUG tests/bstr_tests.c:1473: . balloc (0x1001002f0:"test", 2) =
DEBUG tests/bstr_tests.c:1476: 0
DEBUG tests/bstr_tests.c:1473: . balloc (0x10002e160[c]:"", 9) =
DEBUG tests/bstr_tests.c:1476: -1
DEBUG tests/bstr_tests.c:1542: # failures: 0
DEBUG tests/bstr_tests.c:1549: TEST: int ballocmin (bstring s, int len);
DEBUG tests/bstr_tests.c:1499: . ballocmin (NULL, 2) =
DEBUG tests/bstr_tests.c:1503: [1503] -1
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x10002e190:[err:data=NULL], 2) =
DEBUG tests/bstr_tests.c:1503: [1503] -1
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x10002e1a0:[err:slen=-5<0], 2) =
DEBUG tests/bstr_tests.c:1503: [1503] -1
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0:"test", 2) =
DEBUG tests/bstr_tests.c:1503: [1503] 0
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0:"test", -1) =
DEBUG tests/bstr_tests.c:1503: [1503] -1
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0:"test", 9) =
DEBUG tests/bstr_tests.c:1503: [1503] 0
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0:"test", 2) =
DEBUG tests/bstr_tests.c:1503: [1503] 0
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0:"test", 9) =
DEBUG tests/bstr_tests.c:1503: [1503] 0
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0[p]:"test", 4) =
DEBUG tests/bstr_tests.c:1503: [1503] -1
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x1001002f0:"test", 2) =
DEBUG tests/bstr_tests.c:1503: [1503] 0
DEBUG tests/bstr_tests.c:1499: . ballocmin (0x10002e160[c]:"", 9) =
DEBUG tests/bstr_tests.c:1503: [1503] -1
DEBUG tests/bstr_tests.c:1568: # failures: 0
DEBUG tests/bstr_tests.c:1613: TEST: int bpattern (bstring b, int len);
DEBUG tests/bstr_tests.c:1598: . bpattern (NULL, 0) = -1
DEBUG tests/bstr_tests.c:1598: . bpattern (NULL, 5) = -1
DEBUG tests/bstr_tests.c:1598: . bpattern (NULL, -5) = -1
DEBUG tests/bstr_tests.c:1598: . bpattern (0x10002e190:[err:data=NULL], 5) = -1
DEBUG tests/bstr_tests.c:1598: . bpattern (0x10002e1a0:[err:slen=-5<0], 5) = -1
DEBUG tests/bstr_tests.c:1584: . bpattern (0x1001002f0:"", 0) =
DEBUG tests/bstr_tests.c:1588: 0x1001002f0:""
DEBUG tests/bstr_tests.c:1584: . bpattern (0x1001002f0:"", 10) =
DEBUG tests/bstr_tests.c:1588: 0x1001002f0:""
DEBUG tests/bstr_tests.c:1584: . bpattern (0x1001002f0:"", -1) =
DEBUG tests/bstr_tests.c:1588: 0x1001002f0:""
DEBUG tests/bstr_tests.c:1584: . bpattern (0x1001002f0:"bogus", 0) =
DEBUG tests/bstr_tests.c:1588: 0x1001002f0:""
DEBUG tests/bstr_tests.c:1584: . bpattern (0x1001002f0:"bogus", 12) =
DEBUG tests/bstr_tests.c:1588: 0x1001002f0:"bogusbogusbo"
DEBUG tests/bstr_tests.c:1584: . bpattern (0x1001002f0:"bogus", -1) =
DEBUG tests/bstr_tests.c:1588: 0x1001002f0:"bogus"
DEBUG tests/bstr_tests.c:1629: # failures: 0
DEBUG tests/bstr_tests.c:1640: TEST: bstring bformat (const char * fmt, ...);
DEBUG tests/bstr_tests.c:1642: . bformat (NULL, 1, 2) =
DEBUG tests/bstr_tests.c:1644: NULL
DEBUG tests/bstr_tests.c:1648: . bformat ("%d %s", 1, "xy") =
DEBUG tests/bstr_tests.c:1650: 0x1001002f0:"1 xy"
DEBUG tests/bstr_tests.c:1654: . bformat ("%d %s(%s)", 6, 0x1001002b0:"1 xy", 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:1656: 0x1001002f0:"6 1 xy(bogus)"
DEBUG tests/bstr_tests.c:1662: . bformat ("%s%s%s%s%s%s%s%s", ...) ...
DEBUG tests/bstr_tests.c:1675: # failures: 0
DEBUG tests/bstr_tests.c:1678: TEST: int bformata (bstring b, const char * fmt, ...);
DEBUG tests/bstr_tests.c:1680: . bformata (0x1001002f0:"", NULL, 1, 2) =
DEBUG tests/bstr_tests.c:1682: -1
DEBUG tests/bstr_tests.c:1684: . bformata (0x10002e190:[err:data=NULL], "%d %d", 1, 2) =
DEBUG tests/bstr_tests.c:1686: -1
DEBUG tests/bstr_tests.c:1688: . bformata (0x1001002f0:"", "%d %d", 1, 2) =
DEBUG tests/bstr_tests.c:1690: 0x1001002f0:"1 2"
DEBUG tests/bstr_tests.c:1695: . bformata ("x", "%s%s%s%s%s%s%s%s", ...) ...
DEBUG tests/bstr_tests.c:1711: # failures: 0
DEBUG tests/bstr_tests.c:1714: TEST: int bassignformat (bstring b, const char * fmt, ...);
DEBUG tests/bstr_tests.c:1716: . bassignformat (0x1001002f0:"Initial", NULL, 1, 2) =
DEBUG tests/bstr_tests.c:1718: -1
DEBUG tests/bstr_tests.c:1720: . bassignformat (0x10002e190:[err:data=NULL], "%d %d", 1, 2) =
DEBUG tests/bstr_tests.c:1722: -1
DEBUG tests/bstr_tests.c:1724: . bassignformat (0x1001002f0:"Initial", "%d %d", 1, 2) =
DEBUG tests/bstr_tests.c:1726: 0x1001002f0:"1 2"
DEBUG tests/bstr_tests.c:1731: . bassignformat ("x", "%s%s%s%s%s%s%s%s", ...) ...
DEBUG tests/bstr_tests.c:1746: # failures: 0
DEBUG tests/bstr_tests.c:1850: TEST: struct bstrList * bsplit (const_bstring str, unsigned char splitChar);
DEBUG tests/bstr_tests.c:1756: . bsplit (NULL, '?') =
DEBUG tests/bstr_tests.c:1790: 0x0
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e190:[err:data=NULL], '?') =
DEBUG tests/bstr_tests.c:1790: 0x0
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e1a0:[err:slen=-5<0], '?') =
DEBUG tests/bstr_tests.c:1790: 0x0
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e160[c]:"", '?') =
DEBUG tests/bstr_tests.c:1764: {
DEBUG tests/bstr_tests.c:1772: 0x1001002b0:""
DEBUG tests/bstr_tests.c:1774: :<1>
DEBUG tests/bstr_tests.c:1781: }
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e170[c]:"bogus", 'o') =
DEBUG tests/bstr_tests.c:1764: {
DEBUG tests/bstr_tests.c:1772: 0x1001002b0:"b"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100220:"gus"
DEBUG tests/bstr_tests.c:1774: :<2>
DEBUG tests/bstr_tests.c:1781: }
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e170[c]:"bogus", 's') =
DEBUG tests/bstr_tests.c:1764: {
DEBUG tests/bstr_tests.c:1772: 0x100100220:"bogu"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x1001002b0:""
DEBUG tests/bstr_tests.c:1774: :<2>
DEBUG tests/bstr_tests.c:1781: }
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e170[c]:"bogus", 'b') =
DEBUG tests/bstr_tests.c:1764: {
DEBUG tests/bstr_tests.c:1772: 0x1001002b0:""
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100220:"ogus"
DEBUG tests/bstr_tests.c:1774: :<2>
DEBUG tests/bstr_tests.c:1781: }
DEBUG tests/bstr_tests.c:1756: . bsplit (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 'o') =
DEBUG tests/bstr_tests.c:1764: {
DEBUG tests/bstr_tests.c:1772: 0x100100130:"This is a b"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x1001000f0:"gus but reas"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100090:"nably l"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100310:"ng string. Just l"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100240:"ng en"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x1001002d0:"ugh t"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x1001002f0:" cause s"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100280:"me mall"
DEBUG tests/bstr_tests.c:1771: ,
DEBUG tests/bstr_tests.c:1772: 0x100100100:"cing."
DEBUG tests/bstr_tests.c:1774: :<9>
DEBUG tests/bstr_tests.c:1781: }
DEBUG tests/bstr_tests.c:1863: TEST: struct bstrList * bsplitstr (bstring str, const_bstring splitStr);
DEBUG tests/bstr_tests.c:1804: . bsplitstr (NULL, NULL) =
DEBUG tests/bstr_tests.c:1835: 0x0
DEBUG tests/bstr_tests.c:1804: . bsplitstr (0x10002e190:[err:data=NULL], 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1835: 0x0
DEBUG tests/bstr_tests.c:1804: . bsplitstr (0x10002e1a0:[err:slen=-5<0], 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1835: 0x0
DEBUG tests/bstr_tests.c:1804: . bsplitstr (0x10002e170[c]:"bogus", 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:1809: {
DEBUG tests/bstr_tests.c:1817: 0x100100310:"b"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x1001000d0:"o"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x100100130:"g"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x1001000f0:"u"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x100100110:"s"
DEBUG tests/bstr_tests.c:1819: :<5>
DEBUG tests/bstr_tests.c:1826: }
DEBUG tests/bstr_tests.c:1804: . bsplitstr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808488[c]:"is") =
DEBUG tests/bstr_tests.c:1809: {
DEBUG tests/bstr_tests.c:1817: 0x100100130:"Th"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x1001000d0:" "
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x100100310:" a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:1819: :<3>
DEBUG tests/bstr_tests.c:1826: }
DEBUG tests/bstr_tests.c:1804: . bsplitstr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808478[c]:"ng") =
DEBUG tests/bstr_tests.c:1809: {
DEBUG tests/bstr_tests.c:1817: 0x100100310:"This is a bogus but reasonably lo"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x1001000d0:" stri"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x100100130:". Just lo"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x100100090:" enough to cause some malloci"
DEBUG tests/bstr_tests.c:1816: ,
DEBUG tests/bstr_tests.c:1817: 0x100100110:"."
DEBUG tests/bstr_tests.c:1819: :<5>
DEBUG tests/bstr_tests.c:1826: }
DEBUG tests/bstr_tests.c:1914: # failures: 0
DEBUG tests/bstr_tests.c:1980: TEST: extern struct bstrList * bsplits (const_bstring str, const_bstring splitStr);
DEBUG tests/bstr_tests.c:1923: . bsplits (NULL, 0x100808480[c]:"o")
DEBUG tests/bstr_tests.c:1962: = 0x0
DEBUG tests/bstr_tests.c:1923: . bsplits (0x100808480[c]:"o", NULL)
DEBUG tests/bstr_tests.c:1962: = 0x0
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e160[c]:"", 0x100808480[c]:"o")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x100100090:""
DEBUG tests/bstr_tests.c:1949: :<1>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e160[c]:"", 0x100808440[c]:"uo")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x100100090:""
DEBUG tests/bstr_tests.c:1949: :<1>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e170[c]:"bogus", 0x10002e160[c]:"")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:1949: :<1>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e170[c]:"bogus", 0x100808480[c]:"o")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x100100090:"b"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x1001002b0:"gus"
DEBUG tests/bstr_tests.c:1949: :<2>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e170[c]:"bogus", 0x100808470[c]:"s")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x1001002b0:"bogu"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100090:""
DEBUG tests/bstr_tests.c:1949: :<2>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e170[c]:"bogus", 0x100808460[c]:"b")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x100100090:""
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x1001002b0:"ogus"
DEBUG tests/bstr_tests.c:1949: :<2>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e170[c]:"bogus", 0x100808450[c]:"bs")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x1001002b0:""
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100090:"ogu"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100130:""
DEBUG tests/bstr_tests.c:1949: :<3>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808480[c]:"o")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x100100130:"This is a b"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100090:"gus but reas"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x1001002b0:"nably l"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x1001000f0:"ng string. Just l"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100270:"ng en"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100290:"ugh t"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x1001002e0:" cause s"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100540:"me mall"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100240:"cing."
DEBUG tests/bstr_tests.c:1949: :<9>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:1923: . bsplits (0x10002e170[c]:"bogus", 0x100808440[c]:"uo")
DEBUG tests/bstr_tests.c:1926: {
DEBUG tests/bstr_tests.c:1940: 0x1001002b0:"b"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100090:"g"
DEBUG tests/bstr_tests.c:1939: ,
DEBUG tests/bstr_tests.c:1940: 0x100100130:"s"
DEBUG tests/bstr_tests.c:1949: :<3>
DEBUG tests/bstr_tests.c:1956: }
DEBUG tests/bstr_tests.c:2025: # failures: 0
DEBUG tests/bstr_tests.c:2091: TEST: bstream integrated test
DEBUG tests/bstr_tests.c:2099: . bsbufflength (bs, 0) -> 1024
DEBUG tests/bstr_tests.c:2108: . bspeek () -> 0x100100090:""
DEBUG tests/bstr_tests.c:2114: . bsreadln ('?') -> 0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2117: . bsunread (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:2121: . bspeek () -> 0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2126: . bsreadln ('?') -> 0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2135: . bsreadln ('.') -> 0x100100090:"This is a bogus but reasonably long string."
DEBUG tests/bstr_tests.c:2138: . bsunread (0x100100090:"This is a bogus but reasonably long string.")
DEBUG tests/bstr_tests.c:2142: . bspeek () -> 0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2147: . bsreadln ('.') -> 0x100100090:"This is a bogus but reasonably long string."
DEBUG tests/bstr_tests.c:2157: . bssplitscb (' ') -> 0x100100090:"This|is|a|bogus|but|reasonably|long|string.||Just|long|enough|to|cause|some|mallocing."
DEBUG tests/bstr_tests.c:2238: # failures: 0
DEBUG tests/bstr_tests.c:2259: TEST: int bninchr (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:2245: . bninchr (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e170[c]:"bogus", 3, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e190:[err:data=NULL], 3, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e170[c]:"bogus", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e170[c]:"bogus", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: 4
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x100100090:"bogus") =
DEBUG tests/bstr_tests.c:2247: 4
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", -1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 1000, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e1c0[c]:"xxxxx", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: 0
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e1c0[c]:"xxxxx", 1, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: 1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e160[c]:"", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: -1
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: 0
DEBUG tests/bstr_tests.c:2245: . bninchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2247: 15
DEBUG tests/bstr_tests.c:2281: # failures: 0
DEBUG tests/bstr_tests.c:2302: TEST: int bninchrr (const_bstring s1, int pos, const_bstring s2);
DEBUG tests/bstr_tests.c:2288: . bninchrr (NULL, 0, NULL) =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e160[c]:"", 0, NULL) =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (NULL, 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e160[c]:"", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e170[c]:"bogus", 0, 0x10002e160[c]:"") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e170[c]:"bogus", 0, 0x10002e190:[err:data=NULL]) =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e190:[err:data=NULL], 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e170[c]:"bogus", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e170[c]:"bogus", 4, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2290: 9
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x100100090:"bogus") =
DEBUG tests/bstr_tests.c:2290: 9
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e1c0[c]:"xxxxx", 4, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2290: 4
DEBUG tests/bstr_tests.c:2288: . bninchrr (0x10002e160[c]:"", 0, 0x10002e170[c]:"bogus") =
DEBUG tests/bstr_tests.c:2290: -1
DEBUG tests/bstr_tests.c:2319: # failures: 0
DEBUG tests/bstr_tests.c:2372: TEST: int breplace (bstring b0, int pos, int len, const_bstring b1, unsigned char fill);
DEBUG tests/bstr_tests.c:2359: . breplace (NULL, 0, 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:2359: . breplace (NULL, 0, 0, 0x10002e160[c]:"", 3F) = -1
DEBUG tests/bstr_tests.c:2359: . breplace (0x10002e190:[err:data=NULL], 1, 3, 0x10002e170[c]:"bogus", 3F) = -1
DEBUG tests/bstr_tests.c:2359: . breplace (0x10002e170[c]:"bogus", 1, 3, 0x10002e190:[err:data=NULL], 3F) = -1
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2338: 0, 0, 0x10002e160[c]:"", 3F) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"",
DEBUG tests/bstr_tests.c:2354: 0, 0, 0x10002e160[c]:"", 3F) = 0x100100090:""
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2338: 5, 0, 0x10002e160[c]:"", 3F) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"",
DEBUG tests/bstr_tests.c:2354: 5, 0, 0x10002e160[c]:"", 3F) = 0x100100090:"?????"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2338: 5, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"",
DEBUG tests/bstr_tests.c:2354: 5, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"?????bogus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: 0, 0, 0x10002e160[c]:"", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: 0, 0, 0x10002e160[c]:"", 3F) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2338: 0, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"",
DEBUG tests/bstr_tests.c:2354: 0, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: 0, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: 0, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bogusbogus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: 1, 3, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: 1, 3, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bboguss"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: 3, 8, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: 3, 8, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bogbogus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: -1, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: -1, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: 2, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: 2, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bobogusgus"
DEBUG tests/bstr_tests.c:2332: . breplace (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2338: 6, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2342: . breplace (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2354: 6, 0, 0x10002e170[c]:"bogus", 3F) = 0x100100090:"bogus?bogus"
DEBUG tests/bstr_tests.c:2359: . breplace (0x10002e170[c]:"bogus", 6, 0, NULL, 3F) = -1
DEBUG tests/bstr_tests.c:2392: # failures: 0
DEBUG tests/bstr_tests.c:2443: TEST: int bassign (bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:2429: . bassign (NULL, NULL) = -1
DEBUG tests/bstr_tests.c:2429: . bassign (NULL, 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:2429: . bassign (0x10002e160[c]:"", NULL) = -1
DEBUG tests/bstr_tests.c:2429: . bassign (0x10002e190:[err:data=NULL], 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:2429: . bassign (0x10002e1a0:[err:slen=-5<0], 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:2429: . bassign (0x10002e160[c]:"", 0x10002e190:[err:data=NULL]) = -1
DEBUG tests/bstr_tests.c:2429: . bassign (0x10002e160[c]:"", 0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:2405: . bassign (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2411: 0x10002e160[c]:"") = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2415: . bassign (0x100100090:"",
DEBUG tests/bstr_tests.c:2419: 0x10002e160[c]:"") = 0x100100090:""
DEBUG tests/bstr_tests.c:2405: . bassign (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2411: 0x10002e170[c]:"bogus") = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2415: . bassign (0x100100090:"",
DEBUG tests/bstr_tests.c:2419: 0x10002e170[c]:"bogus") = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2405: . bassign (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2411: 0x10002e160[c]:"") = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2415: . bassign (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2419: 0x10002e160[c]:"") = 0x100100090:""
DEBUG tests/bstr_tests.c:2405: . bassign (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2411: 0x10002e170[c]:"bogus") = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2415: . bassign (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2419: 0x10002e170[c]:"bogus") = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2459: # failures: 0
DEBUG tests/bstr_tests.c:2518: TEST: int bstrchr (const_bstring s1, int c);
DEBUG tests/bstr_tests.c:2466: . bstrchr (NULL, 0) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e190:[err:data=NULL], 98) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e1a0:[err:slen=-5<0], 115) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e160[c]:"", 0) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e170[c]:"bogus", 0) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e170[c]:"bogus", 98) =
DEBUG tests/bstr_tests.c:2468: 0
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e170[c]:"bogus", 115) =
DEBUG tests/bstr_tests.c:2468: 4
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e170[c]:"bogus", 113) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e1c0[c]:"xxxxx", 0) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e1c0[c]:"xxxxx", 98) =
DEBUG tests/bstr_tests.c:2468: -1
DEBUG tests/bstr_tests.c:2466: . bstrchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 105) =
DEBUG tests/bstr_tests.c:2468: 2
DEBUG tests/bstr_tests.c:2532: TEST: int bstrrchr (const_bstring s1, int c);
DEBUG tests/bstr_tests.c:2479: . bstrrchr (NULL, 0) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e190:[err:data=NULL], 98) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e1a0:[err:slen=-5<0], 115) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e160[c]:"", 0) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e170[c]:"bogus", 0) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e170[c]:"bogus", 98) =
DEBUG tests/bstr_tests.c:2481: 0
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e170[c]:"bogus", 115) =
DEBUG tests/bstr_tests.c:2481: 4
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e170[c]:"bogus", 113) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e1c0[c]:"xxxxx", 0) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e1c0[c]:"xxxxx", 98) =
DEBUG tests/bstr_tests.c:2481: -1
DEBUG tests/bstr_tests.c:2479: . bstrrchr (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 105) =
DEBUG tests/bstr_tests.c:2481: 82
DEBUG tests/bstr_tests.c:2546: TEST: int bstrchrp (const_bstring s1, int c, int pos);
DEBUG tests/bstr_tests.c:2492: . bstrchrp (NULL, 0, 0) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e190:[err:data=NULL], 98, 0) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e1a0:[err:slen=-5<0], 115, 0) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 98, -1) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 98, 5) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e160[c]:"", 0, 0) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 0, 0) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 98, 0) =
DEBUG tests/bstr_tests.c:2494: 0
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 98, 1) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 115, 0) =
DEBUG tests/bstr_tests.c:2494: 4
DEBUG tests/bstr_tests.c:2492: . bstrchrp (0x10002e170[c]:"bogus", 113, 0) =
DEBUG tests/bstr_tests.c:2494: -1
DEBUG tests/bstr_tests.c:2560: TEST: int bstrrchrp (const_bstring s1, int c, int pos);
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (NULL, 0, 0) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e190:[err:data=NULL], 98, 0) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e1a0:[err:slen=-5<0], 115, 0) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 98, -1) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 98, 5) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e160[c]:"", 0, 0) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 0, 0) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 98, 0) =
DEBUG tests/bstr_tests.c:2507: 0
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 98, 4) =
DEBUG tests/bstr_tests.c:2507: 0
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 115, 4) =
DEBUG tests/bstr_tests.c:2507: 4
DEBUG tests/bstr_tests.c:2505: . bstrrchrp (0x10002e170[c]:"bogus", 115, 0) =
DEBUG tests/bstr_tests.c:2507: -1
DEBUG tests/bstr_tests.c:2574: # failures: 0
DEBUG tests/bstr_tests.c:2624: TEST: int bcatcstr (bstring b0, const char * s);
DEBUG tests/bstr_tests.c:2610: . bcatcstr (NULL, 0x0) = -1
DEBUG tests/bstr_tests.c:2610: . bcatcstr (NULL, 0x10002a4e0) = -1
DEBUG tests/bstr_tests.c:2586: . bcatcstr (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2592: 0x0) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2596: . bcatcstr (0x100100090:"",
DEBUG tests/bstr_tests.c:2600: 0x0) = 0x100100090:""
DEBUG tests/bstr_tests.c:2610: . bcatcstr (0x10002e190:[err:data=NULL], 0x10002726a) = -1
DEBUG tests/bstr_tests.c:2610: . bcatcstr (0x10002e1a0:[err:slen=-5<0], 0x10002726a) = -1
DEBUG tests/bstr_tests.c:2586: . bcatcstr (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2592: 0x10002a4e0) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2596: . bcatcstr (0x100100090:"",
DEBUG tests/bstr_tests.c:2600: 0x10002a4e0) = 0x100100090:""
DEBUG tests/bstr_tests.c:2586: . bcatcstr (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2592: 0x10002726a) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2596: . bcatcstr (0x100100090:"",
DEBUG tests/bstr_tests.c:2600: 0x10002726a) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2586: . bcatcstr (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2592: 0x10002a4e0) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2596: . bcatcstr (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2600: 0x10002a4e0) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2586: . bcatcstr (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2592: 0x10002726a) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2596: . bcatcstr (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2600: 0x10002726a) = 0x100100090:"bogusbogus"
DEBUG tests/bstr_tests.c:2638: # failures: 0
DEBUG tests/bstr_tests.c:2691: TEST: int bcatblk (bstring b0, const char * s);
DEBUG tests/bstr_tests.c:2677: . bcatblk (NULL, 0x0, 0) = -1
DEBUG tests/bstr_tests.c:2677: . bcatblk (NULL, 0x10002a4e0, 0) = -1
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2656: 0x0) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"",
DEBUG tests/bstr_tests.c:2664: 0x0) = 0x100100090:""
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2656: 0x0) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"",
DEBUG tests/bstr_tests.c:2664: 0x0) = 0x100100090:""
DEBUG tests/bstr_tests.c:2677: . bcatblk (0x10002e190:[err:data=NULL], 0x0, 0) = -1
DEBUG tests/bstr_tests.c:2677: . bcatblk (0x10002e1a0:[err:slen=-5<0], 0x0, 0) = -1
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2656: 0x10002a4e0) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"",
DEBUG tests/bstr_tests.c:2664: 0x10002a4e0) = 0x100100090:""
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2656: 0x10002a4e0) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"",
DEBUG tests/bstr_tests.c:2664: 0x10002a4e0) = 0x100100090:""
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"",
DEBUG tests/bstr_tests.c:2656: 0x10002726a) = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"",
DEBUG tests/bstr_tests.c:2664: 0x10002726a) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2656: 0x10002a4e0) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2664: 0x10002a4e0) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2656: 0x10002726a) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2664: 0x10002726a) = 0x100100090:"bogusbogus"
DEBUG tests/bstr_tests.c:2650: . bcatblk (0x100100090[p]:"bogus",
DEBUG tests/bstr_tests.c:2656: 0x10002726a) = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2660: . bcatblk (0x100100090:"bogus",
DEBUG tests/bstr_tests.c:2664: 0x10002726a) = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2708: # failures: 0
DEBUG tests/bstr_tests.c:2815: TEST: int bfindreplace (bstring b, const_bstring f, const_bstring r, int pos);
DEBUG tests/bstr_tests.c:2745: . bfindreplace (NULL, NULL, NULL, 0) = -1
DEBUG tests/bstr_tests.c:2745: . bfindreplace (0x10002e170[c]:"bogus", NULL, 0x100808448[c]:"weird", 0) = -1
DEBUG tests/bstr_tests.c:2745: . bfindreplace (0x10002e170[c]:"bogus", 0x100808438[c]:"s", NULL, 0) = -1
DEBUG tests/bstr_tests.c:2745: . bfindreplace (0x10002e190:[err:data=NULL], 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) = -1
DEBUG tests/bstr_tests.c:2745: . bfindreplace (0x10002e1a0:[err:slen=-5<0], 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) = -1
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x10002e170[c]:"bogus", 0x100808458[c]:"funny", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x10002e170[c]:"bogus", 0x100808458[c]:"funny", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"This is a funny but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing."
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"bogus", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"bogus", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"boguweird"
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"bogus", 0x1008083d8[c]:"S", 0x100808448[c]:"weird", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"bogus", 0x1008083d8[c]:"S", 0x100808448[c]:"weird", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 27) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 27)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing."
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808428[c]:"long", 0x100808418[c]:"big", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808428[c]:"long", 0x100808418[c]:"big", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"This is a bogus but reasonably big string. Just big enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x1008083c8[c]:"LONG", 0x100808418[c]:"big", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x1008083c8[c]:"LONG", 0x100808418[c]:"big", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"sstsst", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"sstsst", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"sssstsssst"
DEBUG tests/bstr_tests.c:2722: . bfindreplace (0x100100090[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0) =
DEBUG tests/bstr_tests.c:2728: -1
DEBUG tests/bstr_tests.c:2732: . bfindreplace (0x100100090:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0)
DEBUG tests/bstr_tests.c:2740: -> 0x100100090:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx"
DEBUG tests/bstr_tests.c:2834: TEST: int bfindreplacecaseless (bstring b, const_bstring f, const_bstring r, int pos);
DEBUG tests/bstr_tests.c:2789: . bfindreplacecaseless (NULL, NULL, NULL, 0) = -1
DEBUG tests/bstr_tests.c:2789: . bfindreplacecaseless (0x10002e170[c]:"bogus", NULL, 0x100808448[c]:"weird", 0) = -1
DEBUG tests/bstr_tests.c:2789: . bfindreplacecaseless (0x10002e170[c]:"bogus", 0x100808438[c]:"s", NULL, 0) = -1
DEBUG tests/bstr_tests.c:2789: . bfindreplacecaseless (0x10002e190:[err:data=NULL], 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) = -1
DEBUG tests/bstr_tests.c:2789: . bfindreplacecaseless (0x10002e1a0:[err:slen=-5<0], 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) = -1
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x10002e170[c]:"bogus", 0x100808458[c]:"funny", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x10002e170[c]:"bogus", 0x100808458[c]:"funny", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"This is a funny but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing."
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"bogus", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"bogus", 0x100808438[c]:"s", 0x100808448[c]:"weird", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"boguweird"
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"bogus", 0x1008083d8[c]:"S", 0x100808448[c]:"weird", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"bogus", 0x1008083d8[c]:"S", 0x100808448[c]:"weird", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"boguweird"
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 27) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808438[c]:"s", 0x100808448[c]:"weird", 27)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing."
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808428[c]:"long", 0x100808418[c]:"big", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100808428[c]:"long", 0x100808418[c]:"big", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"This is a bogus but reasonably big string. Just big enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x1008083c8[c]:"LONG", 0x100808418[c]:"big", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x1008083c8[c]:"LONG", 0x100808418[c]:"big", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"This is a bogus but reasonably big string. Just big enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"sstsst", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"sstsst", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"sssstsssst"
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"sstsst", 0x1008083d8[c]:"S", 0x100808408[c]:"ss", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"sstsst", 0x1008083d8[c]:"S", 0x100808408[c]:"ss", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"sssstsssst"
DEBUG tests/bstr_tests.c:2766: . bfindreplacecaseless (0x100100090[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0) =
DEBUG tests/bstr_tests.c:2772: -1
DEBUG tests/bstr_tests.c:2776: . bfindreplacecaseless (0x100100090:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x100808438[c]:"s", 0x100808408[c]:"ss", 0)
DEBUG tests/bstr_tests.c:2784: -> 0x100100090:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx"
DEBUG tests/bstr_tests.c:2854: # failures: 0
DEBUG tests/bstr_tests.c:2884: TEST: int biseqcstr (const_bstring b, const char * s);
DEBUG tests/bstr_tests.c:2862: . biseqcstr (NULL, 0x0:<(null)>) = -1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e160[c]:"", 0x0:<(null)>) = -1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (NULL, 0x10002a4e0:<>) = -1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e190:[err:data=NULL], 0x10002a4e0:<>) = -1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e1a0:[err:slen=-5<0], 0x10002726a:<bogus>) = -1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e160[c]:"", 0x10002a4e0:<>) = 1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e170[c]:"bogus", 0x10002726a:<bogus>) = 1
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e160[c]:"", 0x10002726a:<bogus>) = 0
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x10002e170[c]:"bogus", 0x10002a4e0:<>) = 0
DEBUG tests/bstr_tests.c:2862: . biseqcstr (0x100100090:"bpgus", 0x10002726a:<bogus>) = 0
DEBUG tests/bstr_tests.c:2906: TEST: int biseqcstrcaseless (const_bstring b, const char * s);
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (NULL, 0x0:<(null)>) = -1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e160[c]:"", 0x0:<(null)>) = -1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (NULL, 0x10002a4e0:<>) = -1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e190:[err:data=NULL], 0x10002a4e0:<>) = -1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e1a0:[err:slen=-5<0], 0x10002726a:<bogus>) = -1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e160[c]:"", 0x10002a4e0:<>) = 1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e170[c]:"bogus", 0x10002726a:<bogus>) = 1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e170[c]:"bogus", 0x100027b0e:<BOGUS>) = 1
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e160[c]:"", 0x10002726a:<bogus>) = 0
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x10002e170[c]:"bogus", 0x10002a4e0:<>) = 0
DEBUG tests/bstr_tests.c:2873: . biseqcstrcaseless (0x100100090:"bpgus", 0x10002726a:<bogus>) = 0
DEBUG tests/bstr_tests.c:2979: TEST: int btoupper (bstring b);
DEBUG tests/bstr_tests.c:2965: . btoupper (NULL) = -1
DEBUG tests/bstr_tests.c:2965: . btoupper (0x10002e190:[err:data=NULL]) = -1
DEBUG tests/bstr_tests.c:2965: . btoupper (0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:2941: . btoupper (0x100100090[p]:"")
DEBUG tests/bstr_tests.c:2947: = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:2951: . btoupper (0x100100090:"")
DEBUG tests/bstr_tests.c:2955: = 0x100100090:""
DEBUG tests/bstr_tests.c:2941: . btoupper (0x100100090[p]:"bogus")
DEBUG tests/bstr_tests.c:2947: = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:2951: . btoupper (0x100100090:"bogus")
DEBUG tests/bstr_tests.c:2955: = 0x100100090:"BOGUS"
DEBUG tests/bstr_tests.c:2941: . btoupper (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:2947: = 0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:2951: . btoupper (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:2955: = 0x100100090:"THIS IS A BOGUS BUT REASONABLY LONG STRING. JUST LONG ENOUGH TO CAUSE SOME MALLOCING."
DEBUG tests/bstr_tests.c:3041: TEST: int btolower (bstring b);
DEBUG tests/bstr_tests.c:3027: . btolower (NULL) = -1
DEBUG tests/bstr_tests.c:3027: . btolower (0x10002e190:[err:data=NULL]) = -1
DEBUG tests/bstr_tests.c:3027: . btolower (0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:3003: . btolower (0x100100090[p]:"")
DEBUG tests/bstr_tests.c:3009: = 0x100100090[p]:""
DEBUG tests/bstr_tests.c:3013: . btolower (0x100100090:"")
DEBUG tests/bstr_tests.c:3017: = 0x100100090:""
DEBUG tests/bstr_tests.c:3003: . btolower (0x100100090[p]:"bogus")
DEBUG tests/bstr_tests.c:3009: = 0x100100090[p]:"bogus"
DEBUG tests/bstr_tests.c:3013: . btolower (0x100100090:"bogus")
DEBUG tests/bstr_tests.c:3017: = 0x100100090:"bogus"
DEBUG tests/bstr_tests.c:3003: . btolower (0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:3009: = 0x100100090[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:3013: . btolower (0x100100090:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:3017: = 0x100100090:"this is a bogus but reasonably long string. just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:3074: TEST: int bstricmp (const_bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:3061: . bstricmp (NULL, NULL) = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e160[c]:"", NULL) = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (NULL, 0x10002e160[c]:"") = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e160[c]:"", 0x10002e190:[err:data=NULL]) = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e190:[err:data=NULL], 0x10002e160[c]:"") = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e170[c]:"bogus", 0x10002e1a0:[err:slen=-5<0]) = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e1a0:[err:slen=-5<0], 0x10002e170[c]:"bogus") = -32768
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e160[c]:"", 0x10002e160[c]:"") = 0
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs") = 0
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e170[c]:"bogus", 0x100808470[c]:"bOgUR") = 1
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e170[c]:"bogus", 0x100808460[c]:"bOgUt") = -1
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs") = -256
DEBUG tests/bstr_tests.c:3061: . bstricmp (0x100808480[c]:"bOgUs", 0x10002e170[c]:"bogus") = 256
DEBUG tests/bstr_tests.c:3116: TEST: int bstrnicmp (const_bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (NULL, NULL, 0) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e160[c]:"", NULL, 0) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (NULL, 0x10002e160[c]:"", 0) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e160[c]:"", 0x10002e190:[err:data=NULL], 0) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e190:[err:data=NULL], 0x10002e160[c]:"", 0) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x10002e1a0:[err:slen=-5<0], 5) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e1a0:[err:slen=-5<0], 0x10002e170[c]:"bogus", 5) = -32768
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e160[c]:"", 0x10002e160[c]:"", 0) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs", 0) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs", 5) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs", 4) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs", 6) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808470[c]:"bOgUR", 5) = 33
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808470[c]:"bOgUR", 4) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808470[c]:"bOgUR", 6) = 33
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808460[c]:"bOgUt", 5) = -1
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808460[c]:"bOgUt", 4) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808460[c]:"bOgUt", 6) = -1
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs", 5) = 0
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs", 6) = -256
DEBUG tests/bstr_tests.c:3103: . bstrnicmp (0x100808480[c]:"bOgUs", 0x10002e170[c]:"bogus", 6) = 256
DEBUG tests/bstr_tests.c:3166: TEST: int biseqcaseless (const_bstring b0, const_bstring b1);
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (NULL, NULL) = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e160[c]:"", NULL) = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (NULL, 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e160[c]:"", 0x10002e190:[err:data=NULL]) = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e190:[err:data=NULL], 0x10002e160[c]:"") = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e170[c]:"bogus", 0x10002e1a0:[err:slen=-5<0]) = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e1a0:[err:slen=-5<0], 0x10002e170[c]:"bogus") = -1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e160[c]:"", 0x10002e160[c]:"") = 1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e170[c]:"bogus", 0x100808480[c]:"bOgUs") = 1
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e170[c]:"bogus", 0x100808470[c]:"bOgUR") = 0
DEBUG tests/bstr_tests.c:3153: . biseqcaseless (0x10002e170[c]:"bogus", 0x100808460[c]:"bOgUt") = 0
DEBUG tests/bstr_tests.c:3231: TEST: bgets/breads test
DEBUG tests/bstr_tests.c:3324: TEST: trim functions
DEBUG tests/bstr_tests.c:3296: . bltrim (0x100808470[c]:" bogus string ") = 0x100100170:"bogus string "
DEBUG tests/bstr_tests.c:3302: . brtrim (0x100808470[c]:" bogus string ") = 0x100100170:" bogus string"
DEBUG tests/bstr_tests.c:3308: . btrim (0x100808470[c]:" bogus string ") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3296: . bltrim (0x100808460[c]:"bogus string ") = 0x100100170:"bogus string "
DEBUG tests/bstr_tests.c:3302: . brtrim (0x100808460[c]:"bogus string ") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3308: . btrim (0x100808460[c]:"bogus string ") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3296: . bltrim (0x100808450[c]:" bogus string") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3302: . brtrim (0x100808450[c]:" bogus string") = 0x100100170:" bogus string"
DEBUG tests/bstr_tests.c:3308: . btrim (0x100808450[c]:" bogus string") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3296: . bltrim (0x100808440[c]:"bogus string") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3302: . brtrim (0x100808440[c]:"bogus string") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3308: . btrim (0x100808440[c]:"bogus string") = 0x100100170:"bogus string"
DEBUG tests/bstr_tests.c:3296: . bltrim (0x100808430[c]:" ") = 0x100100170:""
DEBUG tests/bstr_tests.c:3302: . brtrim (0x100808430[c]:" ") = 0x100100170:""
DEBUG tests/bstr_tests.c:3308: . btrim (0x100808430[c]:" ") = 0x100100170:""
DEBUG tests/bstr_tests.c:3296: . bltrim (0x100808420[c]:"") = 0x100100170:""
DEBUG tests/bstr_tests.c:3302: . brtrim (0x100808420[c]:"") = 0x100100170:""
DEBUG tests/bstr_tests.c:3308: . btrim (0x100808420[c]:"") = 0x100100170:""
DEBUG tests/bstr_tests.c:3384: TEST: int bassignmidstr (bstring b0, const_bstring b1, int left, int len);
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (NULL, NULL, 0, 1) = -1
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (NULL, 0x10002e160[c]:"", 0, 1) = -1
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (0x10002e160[c]:"", NULL, 0, 1) = -1
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (0x10002e190:[err:data=NULL], 0x10002e160[c]:"", 0, 1) = -1
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (0x10002e1a0:[err:slen=-5<0], 0x10002e160[c]:"", 0, 1) = -1
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (0x10002e160[c]:"", 0x10002e190:[err:data=NULL], 0, 1) = -1
DEBUG tests/bstr_tests.c:3370: . bassignmidstr (0x10002e160[c]:"", 0x10002e1a0:[err:slen=-5<0], 0, 1) = -1
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"",
DEBUG tests/bstr_tests.c:3352: 0x10002e160[c]:"", 0, 1) = 0x100100170[p]:""
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"",
DEBUG tests/bstr_tests.c:3360: 0x10002e160[c]:"", 0, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"",
DEBUG tests/bstr_tests.c:3352: 0x10002e170[c]:"bogus", 1, 3) = 0x100100170[p]:""
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"",
DEBUG tests/bstr_tests.c:3360: 0x10002e170[c]:"bogus", 1, 3) = 0x100100170:"ogu"
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"bogus",
DEBUG tests/bstr_tests.c:3352: 0x10002e160[c]:"", 0, 1) = 0x100100170[p]:"bogus"
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"bogus",
DEBUG tests/bstr_tests.c:3360: 0x10002e160[c]:"", 0, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"bogus",
DEBUG tests/bstr_tests.c:3352: 0x10002e170[c]:"bogus", 1, 3) = 0x100100170[p]:"bogus"
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"bogus",
DEBUG tests/bstr_tests.c:3360: 0x10002e170[c]:"bogus", 1, 3) = 0x100100170:"ogu"
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"bogus",
DEBUG tests/bstr_tests.c:3352: 0x10002e170[c]:"bogus", -1, 4) = 0x100100170[p]:"bogus"
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"bogus",
DEBUG tests/bstr_tests.c:3360: 0x10002e170[c]:"bogus", -1, 4) = 0x100100170:"bog"
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"bogus",
DEBUG tests/bstr_tests.c:3352: 0x10002e170[c]:"bogus", 1, 9) = 0x100100170[p]:"bogus"
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"bogus",
DEBUG tests/bstr_tests.c:3360: 0x10002e170[c]:"bogus", 1, 9) = 0x100100170:"ogus"
DEBUG tests/bstr_tests.c:3346: . bassignmidstr (0x100100170[p]:"bogus",
DEBUG tests/bstr_tests.c:3352: 0x10002e170[c]:"bogus", 9, 1) = 0x100100170[p]:"bogus"
DEBUG tests/bstr_tests.c:3356: . bassignmidstr (0x100100170:"bogus",
DEBUG tests/bstr_tests.c:3360: 0x10002e170[c]:"bogus", 9, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3404: # failures: 0
DEBUG tests/bstr_tests.c:3447: TEST: int bmid2tbstr (struct tagbstring &t, const_bstring b1, int left, int len);
DEBUG tests/bstr_tests.c:3432: . bmid2tbstr (NULL, 0, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e160[c]:"", 0, 1) = 0x100100220:""
DEBUG tests/bstr_tests.c:3432: . bmid2tbstr (NULL, 0, 1) = 0x100100220:""
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e160[c]:"", 0, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e160[c]:"", 0, 1) = 0x100100220:""
DEBUG tests/bstr_tests.c:3432: . bmid2tbstr (0x10002e190:[err:data=NULL], 0, 1) = 0x100100220:""
DEBUG tests/bstr_tests.c:3432: . bmid2tbstr (0x10002e1a0:[err:slen=-5<0], 0, 1) = 0x100100220:""
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e160[c]:"", 0, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e170[c]:"bogus", 1, 3) = 0x100100220:"ogu"
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e160[c]:"", 0, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e170[c]:"bogus", 1, 3) = 0x100100220:"ogu"
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e170[c]:"bogus", -1, 4) = 0x100100170:"bog"
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e170[c]:"bogus", 1, 9) = 0x100100220:"ogus"
DEBUG tests/bstr_tests.c:3421: . bmid2tbstr (0x10002e170[c]:"bogus", 9, 1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3467: # failures: 0
DEBUG tests/bstr_tests.c:3486: TEST: int btrunc (bstring b, int n);
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e160[c]:"", 10) = 0x100100170:""
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e160[c]:"", 0) = 0x100100170:""
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e160[c]:"", -1) = 0x100100170:""
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e170[c]:"bogus", 10) = 0x100100170:"bogus"
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e170[c]:"bogus", 3) = 0x100100170:"bog"
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e170[c]:"bogus", 0) = 0x100100170:""
DEBUG tests/bstr_tests.c:3478: . btrunc (0x10002e170[c]:"bogus", -1) = 0x100100170:"bogus"
DEBUG tests/bstr_tests.c:3507: # failures: 0
DEBUG tests/bstr_tests.c:3522: TEST: int btfromblk*trim (struct tagbstring t, void * s, int l);
DEBUG tests/bstr_tests.c:3535: . btfromblkltrimws ("", "", 0)
DEBUG tests/bstr_tests.c:3545: . btfromblkrtrimws ("", "", 0)
DEBUG tests/bstr_tests.c:3555: . btfromblktrimws ("", "", 0)
DEBUG tests/bstr_tests.c:3535: . btfromblkltrimws ("", " ", 4)
DEBUG tests/bstr_tests.c:3545: . btfromblkrtrimws ("", " ", 4)
DEBUG tests/bstr_tests.c:3555: . btfromblktrimws ("", " ", 4)
DEBUG tests/bstr_tests.c:3535: . btfromblkltrimws ("abc", " abc", 4)
DEBUG tests/bstr_tests.c:3545: . btfromblkrtrimws (" abc", " abc", 4)
DEBUG tests/bstr_tests.c:3555: . btfromblktrimws ("abc", " abc", 4)
DEBUG tests/bstr_tests.c:3535: . btfromblkltrimws ("abc ", "abc ", 4)
DEBUG tests/bstr_tests.c:3545: . btfromblkrtrimws ("abc", "abc ", 4)
DEBUG tests/bstr_tests.c:3555: . btfromblktrimws ("abc", "abc ", 4)
DEBUG tests/bstr_tests.c:3535: . btfromblkltrimws ("abc ", " abc ", 5)
DEBUG tests/bstr_tests.c:3545: . btfromblkrtrimws (" abc", " abc ", 5)
DEBUG tests/bstr_tests.c:3555: . btfromblktrimws ("abc", " abc ", 5)
DEBUG tests/bstr_tests.c:3535: . btfromblkltrimws ("abc", "abc", 3)
DEBUG tests/bstr_tests.c:3545: . btfromblkrtrimws ("abc", "abc", 3)
DEBUG tests/bstr_tests.c:3555: . btfromblktrimws ("abc", "abc", 3)
DEBUG tests/bstr_tests.c:3559: # failures: 0
DEBUG tests/bstr_tests.c:3602: TEST: int bassigncstr (bstring a, char * str);
DEBUG tests/bstr_tests.c:3569: . bassigncstr (b = 0x100100220:"", NULL)
DEBUG tests/bstr_tests.c:3571: = -1; b -> 0x100100220:""
DEBUG tests/bstr_tests.c:3578: . bassigncstr (b = 0x1001002b0:"", "")
DEBUG tests/bstr_tests.c:3580: = 0; b -> 0x1001002b0:""
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x1001002b0[p]:"xxxxx", "")
DEBUG tests/bstr_tests.c:3587: = -1; b -> 0x1001002b0[p]:"xxxxx"
DEBUG tests/bstr_tests.c:3593: . bassigncstr (a = 0x10002e170[c]:"bogus", "")
DEBUG tests/bstr_tests.c:3595: = -1; a -> 0x10002e170[c]:"bogus"
DEBUG tests/bstr_tests.c:3578: . bassigncstr (b = 0x100100310:"", "bogus")
DEBUG tests/bstr_tests.c:3580: = 0; b -> 0x100100310:"bogus"
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x100100310[p]:"xxxxx", "bogus")
DEBUG tests/bstr_tests.c:3587: = -1; b -> 0x100100310[p]:"xxxxx"
DEBUG tests/bstr_tests.c:3593: . bassigncstr (a = 0x10002e170[c]:"bogus", "bogus")
DEBUG tests/bstr_tests.c:3595: = -1; a -> 0x10002e170[c]:"bogus"
DEBUG tests/bstr_tests.c:3578: . bassigncstr (b = 0x100100250:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:3580: = 0; b -> 0x100100250:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
[INFO] (tests/bstr_tests.c:3585) . bassigncstr (b = 0x100100250[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:3587: = -1; b -> 0x100100250[p]:"xxxxx"
DEBUG tests/bstr_tests.c:3593: . bassigncstr (a = 0x10002e170[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:3595: = -1; a -> 0x10002e170[c]:"bogus"
DEBUG tests/bstr_tests.c:3611: # failures: 0
DEBUG tests/bstr_tests.c:3654: TEST: int bassignblk (bstring a, const void * s, int len);
DEBUG tests/bstr_tests.c:3620: . bassignblk (b = 0x1001002e0:"", NULL, 1)
DEBUG tests/bstr_tests.c:3622: = -1; b -> 0x1001002e0:""
DEBUG tests/bstr_tests.c:3630: . bassignblk (b = 0x1001000f0:"", "", 0)
DEBUG tests/bstr_tests.c:3632: = 0; b -> 0x1001000f0:""
DEBUG tests/bstr_tests.c:3637: . bassignblk (b = 0x1001000f0[p]:"xxxxx", "", 0)
DEBUG tests/bstr_tests.c:3639: = -1; b -> 0x1001000f0[p]:"xxxxx"
DEBUG tests/bstr_tests.c:3645: . bassignblk (a = 0x10002e170[c]:"bogus", "", 0)
DEBUG tests/bstr_tests.c:3647: = -1; a -> 0x10002e170[c]:"bogus"
DEBUG tests/bstr_tests.c:3630: . bassignblk (b = 0x100100110:"", "bogus", 5)
DEBUG tests/bstr_tests.c:3632: = 0; b -> 0x100100110:"bogus"
DEBUG tests/bstr_tests.c:3637: . bassignblk (b = 0x100100110[p]:"xxxxx", "bogus", 5)
DEBUG tests/bstr_tests.c:3639: = -1; b -> 0x100100110[p]:"xxxxx"
DEBUG tests/bstr_tests.c:3645: . bassignblk (a = 0x10002e170[c]:"bogus", "bogus", 5)
DEBUG tests/bstr_tests.c:3647: = -1; a -> 0x10002e170[c]:"bogus"
DEBUG tests/bstr_tests.c:3630: . bassignblk (b = 0x100100280:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86)
DEBUG tests/bstr_tests.c:3632: = 0; b -> 0x100100280:"This is a bogus but reasonably long string. Just long enough to cause some mallocing."
DEBUG tests/bstr_tests.c:3637: . bassignblk (b = 0x100100280[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86)
DEBUG tests/bstr_tests.c:3639: = -1; b -> 0x100100280[p]:"xxxxx"
DEBUG tests/bstr_tests.c:3645: . bassignblk (a = 0x10002e170[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86)
DEBUG tests/bstr_tests.c:3647: = -1; a -> 0x10002e170[c]:"bogus"
DEBUG tests/bstr_tests.c:3663: # failures: 0
DEBUG tests/bstr_tests.c:3698: TEST: int bvcformata (bstring b, int count, const char * fmt, va_list arg);
DEBUG tests/bstr_tests.c:3671: . bvcformata (NULL, 8, "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3675: -1, NULL (NULL)
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x10002e170[c]:"bogus", 8, "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3675: -1, 0x10002e170[c]:"bogus" (NULL)
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x10002e190:[err:data=NULL], 8, "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3675: -1, 0x10002e190:[err:data=NULL] (NULL)
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x10002e1a0:[err:slen=-5<0], 8, "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3675: -1, 0x10002e1a0:[err:slen=-5<0] (NULL)
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x10002e1b0:[err:mlen=2<slen=5], 8, "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3675: -1, 0x10002e1b0:[err:mlen=2<slen=5] (NULL)
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x100100280:"", 5, "%s", ...) ->
DEBUG tests/bstr_tests.c:3675: 0, 0x100100280:"bogus" (0x10002e170[c]:"bogus")
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x100100280:"bogus", 6, "%s", ...) ->
DEBUG tests/bstr_tests.c:3675: 0, 0x100100280:"bogus" (0x10002e170[c]:"bogus")
DEBUG tests/bstr_tests.c:3671: . bvcformata (0x100100280:"bogus", 4, "%s", ...) ->
DEBUG tests/bstr_tests.c:3675: -8, 0x100100280:"" (NULL)
DEBUG tests/bstr_tests.c:3713: TEST: bvformata (int &ret, bstring b, const char * fmt, <type> lastarg);
DEBUG tests/bstr_tests.c:3685: . bvformata (&, NULL, "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3687: -1, NULL (NULL)
DEBUG tests/bstr_tests.c:3685: . bvformata (&, 0x10002e170[c]:"bogus", "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3687: -1, 0x10002e170[c]:"bogus" (NULL)
DEBUG tests/bstr_tests.c:3685: . bvformata (&, 0x10002e190:[err:data=NULL], "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3687: -1, 0x10002e190:[err:data=NULL] (NULL)
DEBUG tests/bstr_tests.c:3685: . bvformata (&, 0x10002e1a0:[err:slen=-5<0], "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3687: -1, 0x10002e1a0:[err:slen=-5<0] (NULL)
DEBUG tests/bstr_tests.c:3685: . bvformata (&, 0x10002e1b0:[err:mlen=2<slen=5], "[%d]", ...) ->
DEBUG tests/bstr_tests.c:3687: -1, 0x10002e1b0:[err:mlen=2<slen=5] (NULL)
DEBUG tests/bstr_tests.c:3685: . bvformata (&, 0x100100280:"", "%s", ...) ->
DEBUG tests/bstr_tests.c:3687: 0, 0x100100280:"bogus" (0x10002e170[c]:"bogus")
DEBUG tests/bstr_tests.c:3685: . bvformata (&, 0x100100280:"bogus", "%s", ...) ->
DEBUG tests/bstr_tests.c:3687: 0, 0x100100280:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." (0x10002e180[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.")
DEBUG tests/bstr_tests.c:3728: # failures: 0
DEBUG tests/bstr_tests.c:3792: # test bstr failures: 0
DEBUG tests/bstr_tests.c:3794: Direct case testing of bstraux functions
DEBUG tests/bstr_tests.c:33: TEST: struct bwriteStream functions.
DEBUG tests/bstr_tests.c:47: # failures: 0
DEBUG tests/bstr_tests.c:57: TEST: bTail and bHead functions.
DEBUG tests/bstr_tests.c:81: # failures: 0
DEBUG tests/bstr_tests.c:91: TEST: bSetChar function.
DEBUG tests/bstr_tests.c:108: # failures: 0
DEBUG tests/bstr_tests.c:113: TEST: bSetCstrChar function.
DEBUG tests/bstr_tests.c:128: # failures: 0
DEBUG tests/bstr_tests.c:138: TEST: bFill function.
DEBUG tests/bstr_tests.c:147: # failures: 0
DEBUG tests/bstr_tests.c:157: TEST: bReplicate function.
DEBUG tests/bstr_tests.c:166: # failures: 0
DEBUG tests/bstr_tests.c:176: TEST: bReverse function.
DEBUG tests/bstr_tests.c:185: # failures: 0
DEBUG tests/bstr_tests.c:195: TEST: bInsertChrs function.
DEBUG tests/bstr_tests.c:201: # failures: 0
DEBUG tests/bstr_tests.c:211: TEST: bJustify functions.
DEBUG tests/bstr_tests.c:226: # failures: 0
DEBUG tests/bstr_tests.c:237: TEST: NetStr functions.
DEBUG tests/bstr_tests.c:245: # failures: 0
DEBUG tests/bstr_tests.c:255: TEST: Base 64 codec.
DEBUG tests/bstr_tests.c:265: # failures: 0
DEBUG tests/bstr_tests.c:275: TEST: UU codec.
DEBUG tests/bstr_tests.c:285: # failures: 0
DEBUG tests/bstr_tests.c:296: TEST: Y codec.
DEBUG tests/bstr_tests.c:306: # failures: 0
DEBUG tests/bstr_tests.c:317: TEST: bsFromBstr.
DEBUG tests/bstr_tests.c:328: # failures: 0
DEBUG tests/bstr_tests.c:3814: # test aux failures: 0
DEBUG tests/cache_tests.c:112: ----- RUNNING: ./tests/cache_tests
DEBUG tests/cache_tests.c:105:
----- test_cache_evict
DEBUG tests/cache_tests.c:106:
----- test_cache_manual_evict
DEBUG tests/cache_tests.c:107:
----- test_cache_lookup
DEBUG tests/config_tests.c:37: ----- RUNNING: ./tests/config_tests
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
DEBUG tests/config_tests.c:30:
----- test_Config_load
DEBUG src/config/db.c:65: [SQL] SELECT id, send_spec, send_ident, recv_spec, recv_ident FROM handler
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9999:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/handler.c:314) MAX limits.handler_stack=102400
[INFO] (src/config/config.c:92) Loaded handler 1 with send_spec=tcp://127.0.0.1:9999 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9998 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=1
DEBUG src/handler.c:310: Creating handler tcp://127.0.0.1:9997:54c6755b-9628-40a4-9a2d-cc82a816345e
[INFO] (src/config/config.c:92) Loaded handler 2 with send_spec=tcp://127.0.0.1:9997 send_ident=54c6755b-9628-40a4-9a2d-cc82a816345e recv_spec=tcp://127.0.0.1:9996 recv_ident=
DEBUG src/config/db.c:65: [SQL] SELECT id, raw_payload FROM handler WHERE id=2
DEBUG src/config/db.c:65: [SQL] SELECT id, addr, port FROM proxy
[INFO] (src/config/config.c:133) Loaded proxy 1 with address=127.0.0.1 port=8080
[INFO] (src/config/config.c:133) Loaded proxy 2 with address=127.0.0.1 port=8080
DEBUG src/config/db.c:65: [SQL] SELECT id, base, index_file, default_ctype FROM directory
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
[INFO] (src/config/config.c:163) Loaded dir 1 with base=tests/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 2 with base=examples/chat/static/ index=index.html def_ctype=text/plain
[INFO] (src/config/config.c:163) Loaded dir 3 with base=examples/chat/static/ index=index.html def_ctype=text/plain
DEBUG src/config/db.c:65: [SQL] SELECT id, uuid, default_host, bind_addr, port, chroot, access_log, error_log, pid_file FROM server WHERE uuid='AC1F8236-5919-4696-9D40-0F38DE9E5861'
DEBUG src/config/db.c:65: [SQL] SELECT id, name, matching, server_id FROM host WHERE server_id = 1
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/config/db.c:65: [SQL] SELECT route.id, route.path, route.target_id, route.target_type FROM route, host WHERE host_id=1 AND host.server_id=1 AND host.id = route.host_id
[INFO] (src/config/config.c:203) Created handler route 1:@chat -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9999
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/config/config.c:203) Created handler route 2:/handlertest -> 54c6755b-9628-40a4-9a2d-cc82a816345e:tcp://127.0.0.1:9997
DEBUG src/routing.c:92: ADDING prefix: /handlertest, pattern: /handlertest
[INFO] (src/config/config.c:213) Created proxy route 3:/chat/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /chat/, pattern: /chat/
[INFO] (src/config/config.c:213) Created proxy route 4:/ -> 127.0.0.1:8080
DEBUG src/routing.c:92: ADDING prefix: /, pattern: /
[INFO] (src/config/config.c:223) Created directory route 5:/tests/ -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /tests/, pattern: /tests/
[INFO] (src/config/config.c:223) Created directory route 6:/testsmulti/(.*.json) -> 1:tests/
DEBUG src/routing.c:92: ADDING prefix: /testsmulti/, pattern: /testsmulti/(.*.json)
[INFO] (src/config/config.c:223) Created directory route 7:/chatdemo/ -> 2:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /chatdemo/, pattern: /chatdemo/
[INFO] (src/config/config.c:223) Created directory route 8:/static/ -> 3:examples/chat/static/
DEBUG src/routing.c:92: ADDING prefix: /static/, pattern: /static/
[INFO] (src/config/config.c:260) Adding host 1:localhost to server at pattern localhost
DEBUG src/routing.c:92: ADDING prefix: tsohlacol, pattern: localhost
DEBUG src/config/config.c:265: Setting default host to host 1:localhost
[INFO] (src/config/config.c:310) Loaded server 1:AC1F8236-5919-4696-9D40-0F38DE9E5861 on port 0.0.0.0 with default host localhost
DEBUG tests/connection_tests.c:98: ----- RUNNING: ./tests/connection_tests
[INFO] (src/server.c:166) Starting 0MQ with 1 threads.
[INFO] (src/request.c:56) MAX limits.header_count=1280
[INFO] (src/connection.c:684) MAX limits.content_length=20480, limits.buffer_size=4096, limits.connection_stack_size=32768, limits.client_read_retries=5
[INFO] (src/connection.c:690) MAX limits.proxy_read_retries=100, limits.proxy_read_retry_warn=10
[INFO] (src/host.c:62) MAX limits.url_path=256, limits.host_name=256
DEBUG src/routing.c:92: ADDING prefix: @chat, pattern: @chat
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/routing.c:92: ADDING prefix: /tests, pattern: /tests
DEBUG tests/connection_tests.c:87:
----- test_Connection_create_destroy
DEBUG tests/connection_tests.c:88:
----- test_Connection_deliver
DEBUG src/connection.c:607: Failed to write entire message to conn 1
DEBUG tests/connection_tests.c:89:
----- test_Connection_task
DEBUG tests/db_tests.c:64: ----- RUNNING: ./tests/db_tests
DEBUG tests/db_tests.c:55:
----- test_DB_init
DEBUG tests/db_tests.c:56:
----- test_DB_close
DEBUG tests/db_tests.c:57:
----- test_DB_exec
DEBUG src/config/db.c:65: [SQL] DROP TABLE IF EXISTS testing
DEBUG src/config/db.c:65: [SQL] CREATE TABLE testing (name TEXT, age INT)
DEBUG src/config/db.c:65: [SQL] INSERT INTO testing VALUES ('Zed',35)
DEBUG src/config/db.c:65: [SQL] SELECT * FROM testing
DEBUG tests/db_tests.c:27: QUERY RESULT: name=Zed
DEBUG tests/db_tests.c:27: QUERY RESULT: age=35
DEBUG tests/dict_tests.c:318: ----- RUNNING: ./tests/dict_tests
DEBUG tests/dict_tests.c:313:
----- test_dict_operations
DEBUG tests/dir_tests.c:113: ----- RUNNING: ./tests/dir_tests
DEBUG tests/dir_tests.c:106:
----- test_Dir_find_file
DEBUG tests/dir_tests.c:107:
----- test_Dir_serve_file
[INFO] (src/dir.c:177) MAX limits.dir_send_buffer=16384, limits.dir_max_path=256
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
DEBUG tests/dir_tests.c:108:
----- test_Dir_resolve_file
DEBUG src/dir.c:273: Lazy normalized base path tests/ into /Users/joelr/work/python/mongrel2/tests
DEBUG src/dir.c:329: Building target from base: /Users/joelr/work/python/mongrel2/tests prefix: / path: /sample.json index_file: sample.html
DEBUG src/dir.c:351: Request for path /Users/joelr/Work/python/mongrel2/tests/sample.json does not start with tests/ base after normalizing.
[ERROR] (tests/dir_tests.c:29: errno: None) Failed to resolve file that should be there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment