PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Nugent, Jerry Michael (HP Labs)" <jerry dot nugent at hp dot com>
Subject: make test error with Sybperl 2.18
Date: Oct 6 2008 5:38PM

I'm new to Sybperl and currently experiencing problems with make test.

Environment

Sybase ASE 12.5.3
HP-UX 11.11
Perl 5.8.8

Output of make test (fails on bcp):


: jerrynsu@philo /backup/software/perlmodules/sybperl-2.18 ; make test
        PERL_DL_NONLAZY=1 /opt/hpl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_db_dblib...........

t/1_db_dblib...........ok 1/22

t/1_db_dblib...........ok
t/1_db_money...........

t/1_db_money...........ok 1/13

t/1_db_money...........ok
t/2_ct_ctlib...........

t/2_ct_ctlib...........ok 1/30

t/2_ct_ctlib...........ok
t/2_ct_cursor..........

t/2_ct_cursor..........ok 1/22

t/2_ct_cursor..........ok
t/2_ct_nsql............

t/2_ct_nsql............ok 1/4

t/2_ct_nsql............ok
t/2_ct_prepare.........

t/2_ct_prepare.........ok 1/15

t/2_ct_prepare.........ok
t/2_ct_xblk............

t/2_ct_xblk............ok 1/21

t/2_ct_xblk............ok
t/3_bcp................Sybase message 102, Severity 15, state 1
Server `PHILO_SYBASE'
Line 1
    Incorrect syntax near '12'.

    1> if object_id('password..bcp') != NULL drop table password..bcp
Sybase message 102, Severity 15, state 1
Server `PHILO_SYBASE'
Line 1
    Incorrect syntax near '12'.

    1> create table password..bcp(f1 char(5), f2 int, f3 text) lock allpages
Sybase message 102, Severity 15, state 1
Server `PHILO_SYBASE'
Line 3
    Incorrect syntax near '12'.

    1>
    2> select c.name, t.name
    3> from password.dbo.syscolumns c, password.dbo.systypes t
    4> where c.id = object_id('password..bcp')
    5> and   c.usertype *= t.usertype
Can't use an undefined value as an ARRAY reference at /backup/software/perlmodules/sybperl-2.18/blib/lib/Sybase/BCP.pm line 413.


t/3_bcp................ok 1/9

t/3_bcp................NOK 3/9

t/3_bcp................dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3, 5-9
        Failed 6/9 tests, 33.33% okay
t/4_blk................

t/4_blk................ok 1/19
Server message:
Message number: 102, Severity 15, State 1, Line 1
Server 'PHILO_SYBASE'
Message String: Incorrect syntax near '12'.


Server message:
Message number: 102, Severity 15, State 1, Line 1
Server 'PHILO_SYBASE'
Message String: Incorrect syntax near '12'.


Server message:
Message number: 102, Severity 15, State 1, Line 3
Server 'PHILO_SYBASE'
Message String: Incorrect syntax near '12'.


Server message:
Message number: 102, Severity 15, State 1, Line 1
Server 'PHILO_SYBASE'
Message String: Incorrect syntax near '12'.


Open Client Message:
Message number: LAYER = (0) ORIGIN = (0) SEVERITY = (0) NUMBER = (0)
Message String: blk_init(): blk layer: CT library error: Failed when CT_Lib routine ct_results() called.
blk_init failed. at t/4_blk.t line 38


t/4_blk................dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-19
        Failed 15/19 tests, 21.05% okay
t/5_sybperl............

t/5_sybperl............ok 1/28

t/5_sybperl............ok
t/5_sybperl_dbmoney....

t/5_sybperl_dbmoney....ok 1/32

t/5_sybperl_dbmoney....ok
Failed Test Stat Wstat Total Fail  List of Failed
------------------------------------------------------------------------------------------------------------------------------------------------------------
t/3_bcp.t    255 65280     9   11  3 5-9
t/4_blk.t    255 65280    19   30  5-19
Failed 2/11 test scripts. 21/215 subtests failed.
Files=11, Tests=215,  5 wallclock secs ( 3.24 cusr +  0.54 csys =  3.78 CPU)
Failed 2/11 test programs. 21/215 subtests failed.
*** Error exit code 255

Stop.

Any ideas?  Just let me know if you need more information.

Jerry

========================================
Jerry Nugent
HP Labs Research Library
Phone: 650-857-3203
Mailto:jerry.nugent@hp.com
=========================================