Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Are unittests expected to fail?: msg#00180

db.tds.freetds

Subject: Re: Are unittests expected to fail?

Thanks Bill,

Actually, my config was wrong and I was inadvertently using the
default 4.2 version (SYBASE) against an SQL Server database.
Doh!

So with 7.0 in place - I get 0 TDS failures.

As for ODBC failures, that's another matter, but I'll reply to
Freddy on that shortly.

Thanks again for wasting some time on me :-)

Cheers,

David

----- Original Message -----
From: "Thompson, Bill D (London)" <bill_d_thompson@xxxxxx>
To: "'FreeTDS Development Group'" <freetds@xxxxxxxxxxxxxxxxx>
Sent: Wednesday, October 22, 2003 1:07 PM
Subject: RE: [freetds] Are unittests expected to fail?


> Just FYI
>
> I'm also testing.
> the tds unittest "flags" just works for SYBASE servers (TDS 4.2 or 5.0)
> I've got a patch to make it work for SQL server servers too...(which will
> come with my other patches, but is :
>
> /* check select of 2 field */
> test_begin("select c, b from #tmp1 for browse");
> info = tds->curr_resinfo;
>
> if (IS_TDS7_PLUS(tds)) {
> if (info->num_cols != 2)
> fatal_error("wrong number or columns returned");
> } else {
> if (info->num_cols != 3)
> fatal_error("wrong number or columns returned");
> }
>
> Your other failure is on the "dynamic1" test program. This works for me on
> all TDS versions.
>
> Bill
>
> > -----Original Message-----
> > From: David Fraser [SMTP:david@xxxxxxxxxx]
> > Sent: 22 October 2003 13:00
> > To: FreeTDS Development Group
> > Subject: [freetds] Are unittests expected to fail?
> >
> > Hi folks,
> >
> > I was going to submit a patch for something, but I thought I'd
> > give the unittests a blast and they failed. Or more likely I failed
> > to configure them correctly. I have never tried using them before.
> >
> > I then re-tried with a completely clean unmodified checkout
> > from CVS. Same result:
> > - 2 failures out of 13 for TDS tests
> > - 6 failures out of 20 for ODBC tests using UnixODBC.
> > - 14 failures out of 20 for ODBC tests using iODBC.
> >
> > So before I resort to debugging to find out if I've done anything wrong,
> > I'd like to know if this is known "normal" behaviour:
> > - i.e. are the tests buggy/out-of-date/misleading and should I just
> > ignore these failures?
> >
> > Otherwise, are there detailed instructions for how to run the unit tests
> > anywhere?
> > - so far I've configured PWD.in
> > - granted suitable database rights to the user given in PWD.in
> > - run "make check" from the top level and also from
> > src/odbc.
> >
> > In case this is abnormal behaviour, I have attached 2 files. One is the
> > output from running the TDS tests. The other is the output from the ODBC
> > tests (when using unixODBC).
> >
> > Anyone care to shed any light or got any ideas to help me
> > fix my setup? Are there known gotchas?
> >
> > Thanks a lot,
> >
> > David
> >
> > --
> > David Fraser, Consultant, Abelon Systems Ltd, UK
> > http://www.abelon.com << File: checktds.txt >> << File: checkodbc.txt
>>
> > << File: ATT2169635.txt >>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS@xxxxxxxxxxxxxxxxx
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation