Skip to Content.
Sympa Menu

freetds - Re: DBD::Sybase-0.21 hangs on testing

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: John Gilmore-Baldwin <john AT dwx.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: DBD::Sybase-0.21 hangs on testing
  • Date: Fri, 24 Dec 1999 10:36:19 -0600


Well, I renamed the test that was hanging, fail.t, to xxx.t so it came
last. Here's my results:

dmr6:baldwin:17:DBD-Sybase-0.21:% make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/autocommit........ok
t/base..............ok
t/login.............ok
t/main..............Changed database context to 'master'.
Invalid object name 'sys_users'.
Use of uninitialized value at t/main.t line 97.
FAILED test 8
Failed 1/12 tests, 91.67% okay
t/place.............?-style placeholders aren't supported with this SQL
Server.
ok
t/xxx...............

This seems much more promising, until it just hangs on fail.t. Is this
similar to what others see?

In the meantime, I'll grab a copy of sqsh and see what I get.

Thanks for the help,
John

>On Thu, 23 Dec 1999, John Gilmore-Baldwin wrote:
>
>> I can't get tests to pass with DBD::Sybase-0.21 and freetds. I compiled
>> freetds with version set to 4.2 on Solaris, I set my environment variable
>> for sybase to the freetds directory, and added my server to the interfaces
>> file there:
>>
>> MY_server1
>> query tcp ether 111.222.333.444 1433
>> master tcp ether 111.222.333.444 1433
>>
>>
>> I also tried setting up the interfaces file like the regular sybase
>> interfaces file, with hex numbers for the port and ip addresses, but that
>> didn't do me well either.
>>
>The tli stuff (hex numbers) definately won't work. We use sockets only,
>sybase uses tli or socket depending on the platform.
>
>> Can anybody see the error of my ways? I'm not having much luck debugging
>> this myself.
>>
>Unfortunately the DBD::Sybase tests really only give you a pass/fail which
>isn't terribly helpful. Either run the test individually (go into the
>test directory and run 'perl login.t' for instance. Otherwise get SQSH and
>try to connect with that. It's a lot more helpful in debugging simple
>connectivity problems.
>
>> Thanks,
>> John
>>
>
>Brian
>
>
>
>---
>You are currently subscribed to freetds as: john AT dwx.com
>To unsubscribe, forward this message to
>$subst('Email.Unsub')







Archive powered by MHonArc 2.6.24.

Top of Page