Skip to Content.
Sympa Menu

freetds - [freetds] DBD::Sybase 1.10 With FreeTDS 0.62.3 - Many Tests Fail

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Richard Head Jr." <hsomob1999 AT yahoo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] DBD::Sybase 1.10 With FreeTDS 0.62.3 - Many Tests Fail
  • Date: Mon, 26 Jul 2010 10:50:19 -0700 (PDT)

My environment:
Perl: 5.8.5
OS: SunOS 5.9
DB Server: Microsoft SQL Server 2000 - 8.00.2039
DBD::Sybase 1.10
FreeTDS 0.62.3


make test output:

t/autocommit....1/9
# Failed test 'rollback'
# at t/autocommit.t line 54.

# Failed test 'Commit'
# at t/autocommit.t line 69.
# Looks like you failed 2 tests of 9.
t/autocommit.... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/9 subtests
t/base..........ok
t/exec.......... Failed 18/22 subtests
t/fail..........1/12
# Failed test 'Missing table'
# at t/fail.t line 44.
t/fail..........6/12
# Failed test 'Create table'
# at t/fail.t line 56.
ct_send(CS_DESCRIBE_INPUT) returned 0 at blib/lib/DBD/Sybase.pm line 132.
t/fail.......... Failed 8/12 subtests
t/login......... Failed 2/6 subtests
t/main..........1/36 Setting of CS_OPT_TEXTSIZE failed. at t/main.t line 102.

# Failed test 'quoted identifier'
# at t/main.t line 107.

# Failed test 'quoted identifier insert'
# at t/main.t line 110.

# Failed test 'execute multiple'
# at t/main.t line 121.
type_info_all result has 19 keys but 20 fields at t/main.t line 147
# Looks like you planned 36 tests but ran 22.
# Looks like you failed 3 tests of 22 run.
# Looks like your test exited with 255 just after 22.
t/main.......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 17/36 subtests
t/multi_sth.....9/43 ct_send(CS_DESCRIBE_INPUT) returned 0 at
/mounts/sysadm/mss/DBD-Sybase-1.10/blib/lib/DBD/Sybase.pm line 132.
t/multi_sth..... Failed 34/43 subtests
t/nsql..........ok
t/place.........1/18 ct_send(CS_DESCRIBE_INPUT) returned 0 at
/mounts/sysadm/mss/DBD-Sybase-1.10/blib/lib/DBD/Sybase.pm line 132.
t/place......... Failed 15/18 subtests
t/thread........skipped: (no reason given)
t/xblk..........ok
t/xblob.........1/11 Use of uninitialized value in print at t/xblob.t line 57.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 64.

# Failed test 'Images are the same'
# at t/xblob.t line 87.
Use of uninitialized value in print at t/xblob.t line 129.
DBD::Sybase::st syb_ct_send_data failed: Server message number=170
severity=15 state=1 line=1 server=SQL-TEST text=Line 1: Incorrect syntax near
'0x00000000000000000000000000000000'. at t/xblob.t line 133.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 137.

# Failed test 'Images are the same'
# at t/xblob.t line 161.
# Looks like you failed 2 tests of 11.
t/xblob......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests

Test Summary Report
-------------------
t/autocommit (Wstat: 512 Tests: 9 Failed: 2)
Failed tests: 4-5
Non-zero exit status: 2
t/exec (Wstat: 139 Tests: 4 Failed: 0)
Parse errors: Bad plan. You planned 22 tests but ran 4.
t/fail (Wstat: 139 Tests: 6 Failed: 2)
Failed tests: 4, 6
Parse errors: Bad plan. You planned 12 tests but ran 6.
t/login (Wstat: 139 Tests: 4 Failed: 0)
Parse errors: Bad plan. You planned 6 tests but ran 4.
t/main (Wstat: 65280 Tests: 22 Failed: 3)
Failed tests: 18-19, 21
Non-zero exit status: 255
Parse errors: Bad plan. You planned 36 tests but ran 22.
t/multi_sth (Wstat: 139 Tests: 9 Failed: 0)
Parse errors: Bad plan. You planned 43 tests but ran 9.
t/place (Wstat: 139 Tests: 3 Failed: 0)
Parse errors: Bad plan. You planned 18 tests but ran 3.
t/xblob (Wstat: 512 Tests: 11 Failed: 2)
Failed tests: 6, 10
Non-zero exit status: 2
Files=12, Tests=142, 6 wallclock secs ( 0.36 usr 0.06 sys + 2.30 cusr
0.44 csys = 3.16 CPU)
Result: FAIL
Failed 8/12 test programs. 9/142 subtests failed.
make: *** [test_dynamic] Error 29


Based on compilation failures (and the mailing list) I've commented out:

if (ct_con_props(connection, CS_GET, CS_LOGIN_STATUS,
(CS_VOID *)&status,
CS_UNUSED, NULL) != CS_SUCCEED) {
imp_dbh->isDead = 1;
return CS_FAIL;
}
if (!status) {
// We're not logged in, so just return
CS_FAIL to abort
// the login request
imp_dbh->isDead = 1;
return CS_FAIL;
}








Archive powered by MHonArc 2.6.24.

Top of Page