Tests fail on OS X with FreeTDS

Steve Gravrock <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
I'm trying to install DBD::Sybase 1.05 on Mac OS X with FreeTDS 0.63.  
The test data source that I'm using is SQL Server 2000. I can connect  
to it with tsql.

When I run 'make test', many of the tests fail:

Failed Test    Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ 
-------
t/autocommit.t    2   512     5    2  40.00%  4-5
t/exec.t          0    11    17   19 111.76%  5 8-17
t/fail.t          0    10    12   14 116.67%  4 6-12
t/main.t        255 65280    29   17  58.62%  18-19 21 23-29
t/multi_sth.t     0    10    43   68 158.14%  10-43
t/place.t         0    10    13   18 138.46%  5-13
t/xblk.t          0    10    62  112 180.65%  6-62
t/xblob.t         2   512    11    2  18.18%  6 10
1 test skipped.

Here are the error messages printed by 'make test':

cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/6.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
#     Failed test (t/autocommit.t at line 46)
#     Failed test (t/autocommit.t at line 61)
# Looks like you failed 2 tests of 5.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
#     Failed test (t/exec.t at line 39)
#     Failed test (t/exec.t at line 66)
#     Failed test (t/exec.t at line 71)
*** malloc[16606]: error for object 0x372b00: Incorrect checksum for  
freed object - object was probably modified after being freed; break at  
szone_error
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
#     Failed test (t/fail.t at line 35)
#     Failed test (t/fail.t at line 47)
ct_send(CS_DESCRIBE_INPUT) returned 0 at blib/lib/DBD/Sybase.pm line  
133.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
Setting of CS_OPT_TEXTSIZE failed. at t/main.t line 94.
#     Failed test (t/main.t at line 99)
#     Failed test (t/main.t at line 102)
#     Failed test (t/main.t at line 113)
type_info_all result has 19 keys but 20 fields at t/main.t line 139
# Looks like you planned 29 tests but only ran 22.
# Looks like your test died just after 22.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
ct_send(CS_DESCRIBE_INPUT) returned 0 at  
/Users/steve/src/DBD-Sybase-1.05/blib/lib/DBD/Sybase.pm line 133.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
ct_send(CS_DESCRIBE_INPUT) returned 0 at  
/Users/steve/src/DBD-Sybase-1.05/blib/lib/DBD/Sybase.pm line 133.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
#     Failed test (t/xblk.t at line 84)
#     Failed test (t/xblk.t at line 84)
cs_config(CS_LOC_PROP) failed at  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/DynaLoader.pm  
line 249.
Use of uninitialized value in print at t/xblob.t line 49.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 56.
#     Failed test (t/xblob.t at line 79)
Use of uninitialized value in print at t/xblob.t line 121.
DBD::Sybase::st syb_ct_send_data failed: Server message number=170  
severity=15 state=1 line=1 server=SLIMJIM\WEB1 text=Line 1: Incorrect  
syntax near '0x00000000000000000000000000000000'. at t/xblob.t line  
125.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 129.
#     Failed test (t/xblob.t at line 153)
# Looks like you failed 2 tests of 11.
Failed 8/12 test scripts, 33.33% okay. 133/208 subtests failed, 36.06%  
okay.
make: *** [test_dynamic] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.